+ Reply to Thread
Results 1 to 10 of 10

Excel returns a number that is different from calculator

Hybrid View

  1. #1
    Registered User
    Join Date
    12-17-2009
    Location
    Bridgetown Nova Scotia
    MS-Off Ver
    Excel 2007
    Posts
    53

    Excel returns a number that is different from calculator

    I have a very simple spreadsheet that multiplies on number by another and then takes that number and multiplies by another (tax) The answer it returns is always off by a few cents or more then if I use a calculator. I think it has something to do with rounding off but not sure. The formula is simply =18.48*1.5*1.17 that answer is then multiplied by another number. The answer is always off.


    422.5 hr =16.72*1.17 =+C27*E27


    C is the 422.5
    E is the 16.72*1.17

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Excel returns a number that is different from calculator

    Is the result off by a few decimals only?

    this link might help..

    http://www.cpearson.com/excel/rounding.htm
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    12-17-2009
    Location
    Bridgetown Nova Scotia
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Excel returns a number that is different from calculator

    depending on the size of the figures we use it can be off by $1.00 or so, I read the link, there must be a way to correct this in the formula somewhere. I have never run across this before.
    Last edited by C Holmes; 11-30-2012 at 08:08 AM.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel returns a number that is different from calculator

    What exactly are you calculating?

    What result to do you get from the calculator and what do you get from Excel?

    Can you attach a sample workbook?
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    12-17-2009
    Location
    Bridgetown Nova Scotia
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Excel returns a number that is different from calculator

    I will do just that.
    Book1.xlsx


    Not sure I have done it right.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Excel returns a number that is different from calculator

    Change the formula in G7 to =ROUND(16.72*1.17, 2)
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Excel returns a number that is different from calculator

    The excel version is more accurate (i.e. upto more decimals)

    In Col G..On the calculator you seem to have gone with
    16.72*1.17 = 19.56
    The actual rseult upto 4 decimals is 19.5624

    Similarly 29.34 is actually 29.3436

    I would go with the Excel calculation

    alternatively you could round results at every stage by using the ROUND function

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Excel returns a number that is different from calculator

    It's not just that; at the point where a price appears, people have the reasonable expectation that it is exact as shown, with no fractional dollar or cents beyond what appears.

  9. #9
    Registered User
    Join Date
    12-17-2009
    Location
    Bridgetown Nova Scotia
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Excel returns a number that is different from calculator

    That works! Thanks, how do I mark this solved? And thanks of course

  10. #10
    Registered User
    Join Date
    12-17-2009
    Location
    Bridgetown Nova Scotia
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Excel returns a number that is different from calculator

    well trouble is when it is sent back to whomever wants it, they check with a calculator, then the spreadsheet appears to be wrong. The calc gives a different number. So the goal is to have it the same as the calculator I guess

+ 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