I was wondering if there is a formula to round UP to the nearest 0.5 in excel. Also need a formula to round DOWN to the nearest 0.5 in excel.
I searched and found =mround(cell,0.5), but this formula rounds up or down to the closest 0.5. For example, if I type 1.24, it rounds it to 1. If I type 1.25, it rounds it to 1.5
On certain cells, I want it to round UP. For example, 1.1 = 1.5 and 1.51 = 2
On certain cells, I want it to round DOWN. For example, 1.1 = 1 and 1.99 = 1.5
Is this possible or is it being too specific?
+ Reply to Thread
Results 1 to 8 of 8
-
-
There's probably a way, but I just use two decimal places (Or more depending on the precision I want.) and save rounding down any further to the last math operation. That keeps the rounding induced errors to a minimum. I run most critical calculations with four to six decimal places, then change the final output to two decimal places most times for ease in reading.
-
yah, certain cells i want to round up to the nearest 0.5 only and certain i want to round down to the nearest 0.5
-
Read my blog here.
-
guns1inger,
I went to your links, but read my above posts. Is my request too specific? 1.2 rounds to 1, (using MROUND) instead of rounding up to 1.5 (in cases where I want to round to the nearest 0.5)
Roundup and Rounddown formulas dont give it to the nearest 0.5 -
Because your requirements don't follow standard mathematical principles for rounding, you will have to write either a formula or some VBA to do this. RoundUP and RoundDown plus some basic evaluation should get you close. Floor might also be of use.
Read my blog here.
-
Like Guns1inger wrote:
=floor(cell;0,5) will round down to the nearest multiple of 0,5.
=ceiling (cell;0,5) will round up to the nearest multiple of 0,5.In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -
thats what i was looking for, thanks a lot guys! i didnt even know they had that function in excel to that specificity.
Similar Threads
-
Help with an IF/THEN formula in EXCEL
By Rudyard in forum ComputerReplies: 4Last Post: 13th Sep 2011, 01:53 -
Excel 07 vs Excel 03
By jyeh74 in forum ComputerReplies: 4Last Post: 1st Sep 2011, 18:22 -
Sharepoint excel services
By jyeh74 in forum ComputerReplies: 0Last Post: 13th Jan 2010, 16:00 -
Excel help!
By alintatoc in forum ComputerReplies: 11Last Post: 6th Dec 2009, 20:42 -
How to activate macro's in Excel 2007 with a spreadsheet from Excel 97
By blinky88 in forum ComputerReplies: 3Last Post: 11th Feb 2009, 11:21