Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
User wants to round up to nearest $100 dollar figure if it's over 50, or down
to nearest $100 figure if it's under 50. For example, if they enter dollar figure of $1234.00, they want it rounded down to the nearest $100 dollar amount, which would be $1,200.00. Thanks. |
#2
![]() |
|||
|
|||
![]()
50000? Since you say round up to nearest 100 if over 50 shouldn't 1234 round
up to 1300? Or did you mean 50000? Regardsless round to nearest 100 is ROUND(x,100) round up is CEILING(x,100) so you can set it the way you want by testing the condition =IF(x50,formula1,formula2 Regards, Peo Sjoblom "Diane" wrote in message ... User wants to round up to nearest $100 dollar figure if it's over 50, or down to nearest $100 figure if it's under 50. For example, if they enter dollar figure of $1234.00, they want it rounded down to the nearest $100 dollar amount, which would be $1,200.00. Thanks. |
#3
![]() |
|||
|
|||
![]() The round function will do this. =ROUND(X,Y) X is the number (cell reference) you want rounding Y is the number of decimal places you want it to round to. If you want something rounded to 3 decimal places, Y would be 3. Y can take negative values, such as -1, which rounds to the nearest ten and -2, which rounds to the nearest hundred, which you are after. Assuming the cell you want rounding is F10, the equation is =ROUND(F10,-2) -- Faz ------------------------------------------------------------------------ Faz's Profile: http://www.excelforum.com/member.php...o&userid=27830 View this thread: http://www.excelforum.com/showthread...hreadid=476232 |
#4
![]() |
|||
|
|||
![]()
Round to the nearest 100 is
=ROUND(x,-2) -- HTH RP (remove nothere from the email address if mailing direct) "Peo Sjoblom" wrote in message ... 50000? Since you say round up to nearest 100 if over 50 shouldn't 1234 round up to 1300? Or did you mean 50000? Regardsless round to nearest 100 is ROUND(x,100) round up is CEILING(x,100) so you can set it the way you want by testing the condition =IF(x50,formula1,formula2 Regards, Peo Sjoblom "Diane" wrote in message ... User wants to round up to nearest $100 dollar figure if it's over 50, or down to nearest $100 figure if it's under 50. For example, if they enter dollar figure of $1234.00, they want it rounded down to the nearest $100 dollar amount, which would be $1,200.00. Thanks. |
#5
![]() |
|||
|
|||
![]()
Thanks Bob,
User tried it, and it works! Diane "Bob Phillips" wrote: Round to the nearest 100 is =ROUND(x,-2) -- HTH RP (remove nothere from the email address if mailing direct) "Peo Sjoblom" wrote in message ... 50000? Since you say round up to nearest 100 if over 50 shouldn't 1234 round up to 1300? Or did you mean 50000? Regardsless round to nearest 100 is ROUND(x,100) round up is CEILING(x,100) so you can set it the way you want by testing the condition =IF(x50,formula1,formula2 Regards, Peo Sjoblom "Diane" wrote in message ... User wants to round up to nearest $100 dollar figure if it's over 50, or down to nearest $100 figure if it's under 50. For example, if they enter dollar figure of $1234.00, they want it rounded down to the nearest $100 dollar amount, which would be $1,200.00. Thanks. |
#6
![]() |
|||
|
|||
![]()
Doh!
Peo "Bob Phillips" wrote in message ... Round to the nearest 100 is =ROUND(x,-2) -- HTH RP (remove nothere from the email address if mailing direct) "Peo Sjoblom" wrote in message ... 50000? Since you say round up to nearest 100 if over 50 shouldn't 1234 round up to 1300? Or did you mean 50000? Regardsless round to nearest 100 is ROUND(x,100) round up is CEILING(x,100) so you can set it the way you want by testing the condition =IF(x50,formula1,formula2 Regards, Peo Sjoblom "Diane" wrote in message ... User wants to round up to nearest $100 dollar figure if it's over 50, or down to nearest $100 figure if it's under 50. For example, if they enter dollar figure of $1234.00, they want it rounded down to the nearest $100 dollar amount, which would be $1,200.00. Thanks. |
#7
![]() |
|||
|
|||
![]()
You were thinking ahead of yourself Peo :-)
"Peo Sjoblom" wrote in message ... Doh! Peo "Bob Phillips" wrote in message ... Round to the nearest 100 is =ROUND(x,-2) -- HTH RP (remove nothere from the email address if mailing direct) "Peo Sjoblom" wrote in message ... 50000? Since you say round up to nearest 100 if over 50 shouldn't 1234 round up to 1300? Or did you mean 50000? Regardsless round to nearest 100 is ROUND(x,100) round up is CEILING(x,100) so you can set it the way you want by testing the condition =IF(x50,formula1,formula2 Regards, Peo Sjoblom "Diane" wrote in message ... User wants to round up to nearest $100 dollar figure if it's over 50, or down to nearest $100 figure if it's under 50. For example, if they enter dollar figure of $1234.00, they want it rounded down to the nearest $100 dollar amount, which would be $1,200.00. Thanks. |
#8
![]() |
|||
|
|||
![]()
You forgot "again" at the end
:)) Peo "Bob Phillips" wrote in message ... You were thinking ahead of yourself Peo :-) "Peo Sjoblom" wrote in message ... Doh! Peo "Bob Phillips" wrote in message ... Round to the nearest 100 is =ROUND(x,-2) -- HTH RP (remove nothere from the email address if mailing direct) "Peo Sjoblom" wrote in message ... 50000? Since you say round up to nearest 100 if over 50 shouldn't 1234 round up to 1300? Or did you mean 50000? Regardsless round to nearest 100 is ROUND(x,100) round up is CEILING(x,100) so you can set it the way you want by testing the condition =IF(x50,formula1,formula2 Regards, Peo Sjoblom "Diane" wrote in message ... User wants to round up to nearest $100 dollar figure if it's over 50, or down to nearest $100 figure if it's under 50. For example, if they enter dollar figure of $1234.00, they want it rounded down to the nearest $100 dollar amount, which would be $1,200.00. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
why is excel rounding my totals down | Excel Discussion (Misc queries) | |||
Excel rounding question | Excel Discussion (Misc queries) | |||
i want to change dollar sign to rands on excel invoice? | Excel Discussion (Misc queries) | |||
Rounding up to the nearest nickel | Excel Discussion (Misc queries) | |||
Rounding numbers to the nearest thousand | Excel Discussion (Misc queries) |