Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Diane
 
Posts: n/a
Default rounding to nearest hundred dollar in Excel

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   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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   Report Post  
Faz
 
Posts: n/a
Default


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   Report Post  
Bob Phillips
 
Posts: n/a
Default

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   Report Post  
Diane
 
Posts: n/a
Default

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   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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   Report Post  
Bob Phillips
 
Posts: n/a
Default

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   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
why is excel rounding my totals down Lisa Excel Discussion (Misc queries) 8 September 26th 05 02:01 PM
Excel rounding question Mac Excel Discussion (Misc queries) 2 July 21st 05 09:15 PM
i want to change dollar sign to rands on excel invoice? sylvia Excel Discussion (Misc queries) 4 July 19th 05 11:14 AM
Rounding up to the nearest nickel jhangas Excel Discussion (Misc queries) 3 May 28th 05 12:41 AM
Rounding numbers to the nearest thousand Mark Excel Discussion (Misc queries) 2 March 10th 05 12:13 PM


All times are GMT +1. The time now is 08:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"