LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Rounding Question

Hello,

My preferred answer is 51%,49%,0%.

My decision making criteria is that .903 & .585 are closer to 1 than .512 so
therefore I will round up on 50.585 and 48.903. Since .512 is smallest it
will not get rounded up.

Consequently, if I had the values:

50.440%,
40.460%
9.100%
------
100%

By formatting how I currently have it, my results would be
50%
40%
9%
-----
99%

With the same decision making, .46% is closest to 1 so I would round up.
The results would therefore be 50%,41%,9% =100%

Thanks for your help,

Curt J

"JE McGimpsey" wrote:

There isn't a universally right way to do this. For instance what about:

49.512%
49.512%
0.978%
-------
100.00%

will round/display (to the nearest percent) as

50%
50%
1%
----
101%

or perhaps

49%
49%
1%
----
99%

What would *your* preferred answer be in that case? Can you describe, in
words, an algorithm that XL should use to make the choice?


In article ,
Curt J wrote:

Hi Mike, thanks for responding to my post.

I actually am using formatting to show the percentage to show zero decimal
places. I also tried the round function and that didn't work either.

"Mike H" wrote:

Hi,

Because you are using round the values are being changed. Format the
percentage cell to show zero decimal places instead of using round and your
sum will be correct.

Remember rounding and its variants change the value of a cell compared to
formatting which changes the way you see the value.

Mike

"Curt J" wrote:

In my spreadsheet I have 6 cells that always sum to equal 100%. I am
having
troubles showing the values as whole numbers that will always will equal
100%. For example I ran into the following problem:

50.585%
48.903%
00.512%
00.000%
00.000%
00.000%
total = 100%

My spreadsheet shows:
51%
49%
1%
0%
0%
0%
Total equals 101%

How do I get it to show:
51%
49%
0%
0%
0%
0%
Total Equals 100%

Thanks,

Curt J









 
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 question Jean K Excel Discussion (Misc queries) 2 May 22nd 08 08:34 PM
Rounding Question Excel Discussion (Misc queries) 4 February 3rd 06 01:42 PM
Rounding Question Rweasel6 Excel Worksheet Functions 2 June 14th 05 10:51 PM
Rounding Question PastorHankWi Excel Worksheet Functions 3 March 31st 05 01:09 AM
rounding question Amie Excel Discussion (Misc queries) 2 January 21st 05 04:44 PM


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