If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Rounding Up question
Hi,
A1 has the ROUNDUP Function referenced to B1: ROUNDUP(B1,0). Example: B1 says: 6.2 A1 will roundup to 7. Perfect! This works 99% of the time. But in a special case B1 says 6.0 - A1 still rounds up to 7. I expanded B1 decimal places and found B1 in this case really says: 6.00044. Hence the reason for A1 rounding to 7. Is there anyway to tell the A1 ROUNDUP function to not round up when the first decimal place says zero? Or to only go out one decimal place when rounding up? Hope I worded my question that it can be understood. Thanx in advance, Amy. |
#2
|
|||
|
|||
Rounding Up question
Hello Amy,
You can use something like =ROUNDUP(ROUND(B1,5),0) Regards, Bernd |
#3
|
|||
|
|||
Rounding Up question
Hi,
One way =ROUNDUP(LEFT(B1,FIND(".",B1)+1),0) -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "spreadsheetlady" wrote: Hi, A1 has the ROUNDUP Function referenced to B1: ROUNDUP(B1,0). Example: B1 says: 6.2 A1 will roundup to 7. Perfect! This works 99% of the time. But in a special case B1 says 6.0 - A1 still rounds up to 7. I expanded B1 decimal places and found B1 in this case really says: 6.00044. Hence the reason for A1 rounding to 7. Is there anyway to tell the A1 ROUNDUP function to not round up when the first decimal place says zero? Or to only go out one decimal place when rounding up? Hope I worded my question that it can be understood. Thanx in advance, Amy. |
Thread Tools | |
Display Modes | |
|
|