+ Reply to Thread
Results 1 to 4 of 4

Hardcoded\calculated #'s - Are the same but when multiplied, product value is different.

  1. #1
    Registered User
    Join Date
    10-07-2013
    Location
    Roanoke, Va
    MS-Off Ver
    Excel 2010
    Posts
    2

    Hardcoded\calculated #'s - Are the same but when multiplied, product value is different.

    I joined Excel Forum specifically to get help with the following problem. I consider myself and intermediate Excel user and just can’t figure this one out. See attachment for reference

    I have two values; for discussion purposes consider the first value $45.70 an unloaded financial figure and the second value $95.53 the loaded value.

    Essentially, the 95.53 is derived from adding fringe, overhead and G&A costs to the $45.70 value.

    The issue: In multiplying the $95.53 * 36 the product is $3,439.08, but if I multiply the unloaded value $45.70 * 36 = $1,645.20 and apply the fringe, overhead and G&A math the product is $3,439.11; three cents difference. I’ve tried all variations of rounding, truncating etc. to no avail.

    I know that the loaded value $95.53 is correct, as I can apply the formulas against the unloaded value $45.70 and my product is $49.83. $45.70 + $49.83 = $95.53.

    Attached is a snapshot of my spreadsheet with the accompanying formulas.

    BTW…. By rounding down I can get to within 1 penny difference but no lower. HELP!
    excel.jpg

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Hardcoded\calculated #'s - Are the same but when multiplied, product value is differe

    Hi
    perhaps this link will shed some light?

  3. #3
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Hardcoded\calculated #'s - Are the same but when multiplied, product value is differe

    Hi
    My initial thoughts are that it appears to be the internal values that are causing you the problem. When you use the fringe, overhead and G&A, those figures are displayed to 4 decimal points. Have you tried entering those values up to 2 decimal points and see if that cures your issue.
    Hope this helps.
    Tony

  4. #4
    Registered User
    Join Date
    10-07-2013
    Location
    Roanoke, Va
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Hardcoded\calculated #'s - Are the same but when multiplied, product value is differe

    @ Pepe.... thanks, read the article and tried most everything in it. have turned precision on\off etc.

    @ARGK.... the figures are percentages. in example the 0.3821 is 38.21%, I did format the value to % with 2 decimal points .... no difference

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Getting macro to work without hardcoded values
    By gav_69 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2013, 06:35 AM
  2. Dynamic vs hardcoded macro
    By wptaylor4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2013, 11:38 AM
  3. Replies: 11
    Last Post: 02-21-2012, 01:28 AM
  4. [SOLVED] Using PRODUCT in Calculated Field
    By Jay in forum Excel General
    Replies: 3
    Last Post: 03-21-2006, 03:45 PM
  5. COUNTIF:hardcoded
    By adamcal in forum Excel General
    Replies: 1
    Last Post: 05-02-2005, 04:06 PM

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