Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default rounding sums base on value

I struggle with trying to add multiple if statements with other formulas such
as ceiling, round and mrounds. So i am asking for help with the following.

I am multiplying column A by Column B. The totals range from 48 to 34876.
There are 20,000 rows. I would like the values rounded in the following
manner:

50 to 500 to the next 50 i.e 165 would go to 200
501 to 2500 to the next 100
2501 to 4000 to the next 250
4001 to 20000 to the next 500
20001 + to the 1000
--

thanks in advance
inthestands
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default rounding sums base on value

=IF(A1<=500,CEILING(A1,50),IF(A1<=2500,CEILING(A1, 100),IF(A1<=4000,CEILING(A1,250),IF(A1<=20000,CEIL ING(A1,500),CEILING(A1,1000)))))
--
David Biddulph

"inthestands" wrote in message
...
I struggle with trying to add multiple if statements with other formulas
such
as ceiling, round and mrounds. So i am asking for help with the
following.

I am multiplying column A by Column B. The totals range from 48 to 34876.
There are 20,000 rows. I would like the values rounded in the following
manner:

50 to 500 to the next 50 i.e 165 would go to 200
501 to 2500 to the next 100
2501 to 4000 to the next 250
4001 to 20000 to the next 500
20001 + to the 1000
--

thanks in advance
inthestands



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
How to add previous sums in a column to current sums in a column? TD Excel Worksheet Functions 1 September 30th 06 02:55 PM
Change base 6 to base 10? Brian Clarke Excel Discussion (Misc queries) 4 May 9th 06 02:24 PM
Wy is Excel automatically rounding my sums? Rocha Excel Discussion (Misc queries) 2 March 1st 06 07:46 PM
Rounding Sums Format [email protected].(donotspam) Excel Discussion (Misc queries) 2 October 11th 05 09:11 AM
Provide rounding tool that sums correctly [email protected] Excel Worksheet Functions 2 April 14th 05 04:00 PM


All times are GMT +1. The time now is 10:18 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"