#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EC EC is offline
external usenet poster
 
Posts: 12
Default Rounding

How would I round (41,568.00) to (42,000.00)?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default Rounding

=CEILING(A1,1000)

-John

"EC" wrote:

How would I round (41,568.00) to (42,000.00)?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EC EC is offline
external usenet poster
 
Posts: 12
Default Rounding

John,

Can the cell contain a formula? In other words, the cell has a formula in
it that produces -41568.00. I tried your formula and I get the following
error message:

#NUM!

I tried using just the value, and received the same error!

Your help is really appreciated!

Cheers.
Eric

"John Bundy" wrote:

=CEILING(A1,1000)

-John

"EC" wrote:

How would I round (41,568.00) to (42,000.00)?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Rounding

The ceiling only works when both the number and the significance are the same
sign so you need to adjust the formula that John gave you as follows:

=CEILING($A$5,SIGN(A5)*1000)

Another way to do it is using the round function:

=ROUND($A$5/1000,0)*1000

--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


"EC" wrote:

John,

Can the cell contain a formula? In other words, the cell has a formula in
it that produces -41568.00. I tried your formula and I get the following
error message:

#NUM!

I tried using just the value, and received the same error!

Your help is really appreciated!

Cheers.
Eric

"John Bundy" wrote:

=CEILING(A1,1000)

-John

"EC" wrote:

How would I round (41,568.00) to (42,000.00)?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Rounding

If just rounding to the nearest thousand then the simple answer is

=ROUND(A1,3)

You can incorporate this in your existing formula if you wish by using

=ROUND(your_formula,3)

"Martin Fishlock" wrote:

The ceiling only works when both the number and the significance are the same
sign so you need to adjust the formula that John gave you as follows:

=CEILING($A$5,SIGN(A5)*1000)

Another way to do it is using the round function:

=ROUND($A$5/1000,0)*1000

--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


"EC" wrote:

John,

Can the cell contain a formula? In other words, the cell has a formula in
it that produces -41568.00. I tried your formula and I get the following
error message:

#NUM!

I tried using just the value, and received the same error!

Your help is really appreciated!

Cheers.
Eric

"John Bundy" wrote:

=CEILING(A1,1000)

-John

"EC" wrote:

How would I round (41,568.00) to (42,000.00)?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Rounding

Sorry, of course that should be

=ROUND(A1,-3)

"daddylonglegs" wrote:

If just rounding to the nearest thousand then the simple answer is

=ROUND(A1,3)

You can incorporate this in your existing formula if you wish by using

=ROUND(your_formula,3)

"Martin Fishlock" wrote:

The ceiling only works when both the number and the significance are the same
sign so you need to adjust the formula that John gave you as follows:

=CEILING($A$5,SIGN(A5)*1000)

Another way to do it is using the round function:

=ROUND($A$5/1000,0)*1000

--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


"EC" wrote:

John,

Can the cell contain a formula? In other words, the cell has a formula in
it that produces -41568.00. I tried your formula and I get the following
error message:

#NUM!

I tried using just the value, and received the same error!

Your help is really appreciated!

Cheers.
Eric

"John Bundy" wrote:

=CEILING(A1,1000)

-John

"EC" wrote:

How would I round (41,568.00) to (42,000.00)?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Rounding

It's amazing how I've never noticed that before.

Thanks for pointing it out.
--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


"daddylonglegs" wrote:

Sorry, of course that should be

=ROUND(A1,-3)

"daddylonglegs" wrote:

If just rounding to the nearest thousand then the simple answer is

=ROUND(A1,3)

You can incorporate this in your existing formula if you wish by using

=ROUND(your_formula,3)

"Martin Fishlock" wrote:

The ceiling only works when both the number and the significance are the same
sign so you need to adjust the formula that John gave you as follows:

=CEILING($A$5,SIGN(A5)*1000)

Another way to do it is using the round function:

=ROUND($A$5/1000,0)*1000

--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


"EC" wrote:

John,

Can the cell contain a formula? In other words, the cell has a formula in
it that produces -41568.00. I tried your formula and I get the following
error message:

#NUM!

I tried using just the value, and received the same error!

Your help is really appreciated!

Cheers.
Eric

"John Bundy" wrote:

=CEILING(A1,1000)

-John

"EC" wrote:

How would I round (41,568.00) to (42,000.00)?

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
Rounding JM Excel Discussion (Misc queries) 5 September 21st 06 03:30 AM
How do I correct rounding errors in Excel formulas? C. Van Dam Excel Worksheet Functions 1 August 29th 06 04:37 AM
Rounding to the Nearest Eighth L.sean9 Excel Discussion (Misc queries) 4 June 23rd 06 12:00 AM
Rounding LaraHubbs Excel Discussion (Misc queries) 2 June 21st 05 09:42 PM
Banker's Rounding - need help! Somecallmejosh Excel Discussion (Misc queries) 3 January 20th 05 09:53 PM


All times are GMT +1. The time now is 08:56 PM.

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"