Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dsmart2
 
Posts: n/a
Default After rounding/formatting to whole numbers...

I run into this problem quite a bit and haven't been able to find an easy
solution. I have a series of numbers that represent a percentage of the
total, ie 15.8, 67.7 and 16.5 which adds up to 100% and is fine. I need these
to be whole numbers though so after rounding or formatting (I've done both) I
end up with 16, 68 and 17 which adds up to 101 because of the rounding. I
have over 500 lines and I need to flag the ones that add to either 99 or 101
so that I can go in and manually adjust them (unless you can think of some
formula that will force them to 100) but I can't even begin to think of how I
can get it to use this whole number in the formula NOT the original 15.8
number.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default After rounding/formatting to whole numbers...

I'd assume that when you adjust the numbers you are probably adding or
subtracting 1 from one of the numbers in the list. If that is the
case, why not put a formula in the last cell that calculates the
adjusted number. If the percentages are in cells A1 through A50 you
could change A50 to =1-sum(A1:A49) to force them to add.

- John

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 sum top 5 numbers from the column of numbers Martin Excel Discussion (Misc queries) 1 May 23rd 05 07:32 PM
How can I change positive numbers to negative, i.e. change 50 to - godwingi Excel Discussion (Misc queries) 5 February 28th 05 05:41 PM
Averaging Numbers when 2 numbers in one cell Ourania Excel Worksheet Functions 8 January 12th 05 06:40 PM
Validating random numbers plsauditor Excel Worksheet Functions 2 January 11th 05 11:12 PM
Sorting when some numbers have a text suffix confused on the tundra Excel Discussion (Misc queries) 5 December 18th 04 10:19 PM


All times are GMT +1. The time now is 12:24 PM.

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

About Us

"It's about Microsoft Excel"