+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Formula does not give correct Total.

  1. #1
    Registered User
    Join Date
    01-29-2010
    Location
    Atlanta GA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Formula does not give correct Total.

    I cannot get my formula to come up with the correct amount. I should say 2,296 but is says 2,299. I have attached a copy of the spreadsheet I am working with. Any help would be greatly appreciated. Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formula does not give correct Total.

    Cell D14 does NOT exactly equal its displayed value.
    It equates to 2.673783
    but displays 2.67

    You'd need to change the formula in C15 to:

    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula does not give correct Total.

    i also notice a strange use of sum() i.e =SUM(C4*C5) altho' it wont fix anything its not neccessary
    =c4*c5 is sufficient!
    similarly
    SUM(C11+F11) could be just be =C11+F11 or even =SUM(C11,F11)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    01-29-2010
    Location
    Atlanta GA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula does not give correct Total.

    Ron - This worked perfect. I am do not understand the (D12,2) could you explain to me what that is? When you say [SIZE="2"] are you talking decimals? Thanks for your help.


    Quote Originally Posted by Ron Coderre View Post
    Cell D14 does NOT exactly equal its displayed value.
    It equates to 2.673783
    but displays 2.67

    You'd need to change the formula in C15 to:

    Please Login or Register  to view this content.
    Is that something you can work with?

  5. #5
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formula does not give correct Total.

    Quote Originally Posted by msladona View Post
    Ron - This worked perfect. I am do not understand the (D12,2) could you explain to me what that is? When you say [SIZE="2"] are you talking decimals? Thanks for your help.
    The ROUND(D12,2) section simply rounds the value from cell D12 to 2 decimal places.
    so
    ...if D12 contained: 1.33333333333
    ...the above function would round that value to: 1.33

    Regarding : [SIZE="2"]
    That is just an HTML formatting code in the quoted text that
    tells the forum to display font size: 2...which is larger than
    the normal font (and less strain on my eyes). It doesn't
    display and is NOT part of my response.

    I hope that helps.

  6. #6
    Registered User
    Join Date
    01-29-2010
    Location
    Atlanta GA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula does not give correct Total.

    Thank you - I completely understand now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1