+ Reply to Thread
Results 1 to 6 of 6

SUM= Gives Wrong Return

  1. #1
    Registered User
    Join Date
    02-26-2009
    Location
    Warwickshire, England
    MS-Off Ver
    Excel 2013
    Posts
    62

    SUM= Gives Wrong Return

    I am attaching a sample entry - one of two in the actual w/book.

    The top entry is how it is used in the work book, but gives the wrong return.
    The bottom sample is with the entry "55" as a simple number and give the correct return.

    Can someone help me with this? Why are they different and how can I cure it?

    TIA for any suggestions.
    Attached Files Attached Files
    Last edited by Edsaid; 10-18-2011 at 06:25 AM. Reason: Attachment failed

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: SUM= Gives Wrong Return

    nothing attached ....

  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: SUM= Gives Wrong Return

    i4 =55.174 not 55
    you need to round in k4
    =ROUND(I4,0)*$J$4
    Last edited by martindwilson; 10-18-2011 at 06:30 AM.
    "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
    02-26-2009
    Location
    Warwickshire, England
    MS-Off Ver
    Excel 2013
    Posts
    62

    Re: SUM= Gives Wrong Return

    Thanks Martin. It works but I'm not sure why. Am I right in assuming in, (I4,0) the 0 is zero decimal places?

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

    Re: SUM= Gives Wrong Return

    yes you are right

  6. #6
    Registered User
    Join Date
    02-26-2009
    Location
    Warwickshire, England
    MS-Off Ver
    Excel 2013
    Posts
    62

    Re: SUM= Gives Wrong Return

    Thanks for your help... It's always nice to know help is out there.

    Best wishes,

    Ed

+ 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