Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sum of digits in column not giving correct sum

My column of numbers is not giving the correct total. My formula for the
total is: =ROUND(SUM(A4:A15),2) The numbers I added are 6.30+1.74+1.24 and
got an answer of 9.27 (should be 9.28). The numbers I am adding are
formulated from another macro not just a number I inserted (it is a formula
to calculate the gst out of a number from another column) and this is why I
think I am getting a wrong answer but I don't know how to correct it.
Help please!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default sum of digits in column not giving correct sum

The problem you have is that the numbers have more than 2 decimals, so when
they are displayed they show an already "rounded" value, however, the round
formula picks all of the decimals and then the rounding occurs. So you could
display more than two decimals or ask the round to be 3 decimals and then
format the cell to show only two decimals.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Mary Beth" wrote:

My column of numbers is not giving the correct total. My formula for the
total is: =ROUND(SUM(A4:A15),2) The numbers I added are 6.30+1.74+1.24 and
got an answer of 9.27 (should be 9.28). The numbers I am adding are
formulated from another macro not just a number I inserted (it is a formula
to calculate the gst out of a number from another column) and this is why I
think I am getting a wrong answer but I don't know how to correct it.
Help please!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default sum of digits in column not giving correct sum

You are getting the "wrong" answer because the values you are adding are not
the values you see in the cells. The values you see are truncated by
formatting.

If you expand the formats of the cells being added to display more decimal
digits, you will see the answer is correct.
--
Gary''s Student - gsnu200829


"Mary Beth" wrote:

My column of numbers is not giving the correct total. My formula for the
total is: =ROUND(SUM(A4:A15),2) The numbers I added are 6.30+1.74+1.24 and
got an answer of 9.27 (should be 9.28). The numbers I am adding are
formulated from another macro not just a number I inserted (it is a formula
to calculate the gst out of a number from another column) and this is why I
think I am getting a wrong answer but I don't know how to correct it.
Help please!

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
Vlookup command not giving the correct result VKL Narayanan[_2_] Excel Worksheet Functions 2 November 1st 08 11:48 AM
vlookup not giving correct output houghi Excel Discussion (Misc queries) 3 July 3rd 08 05:28 PM
vlookup not giving correct output Tom Hutchins Excel Discussion (Misc queries) 1 July 3rd 08 03:21 PM
Conditional Formatting not giving correct answer... Financial Admin Excel Worksheet Functions 2 January 9th 06 08:40 PM
Create a total based on multiple conditions is not giving correct. Jacob Excel Worksheet Functions 2 November 4th 04 04:07 AM


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