+ Reply to Thread
Results 1 to 7 of 7

Rounding Function referenced in another equation not yelding rounded answer

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Rounding Function referenced in another equation not yelding rounded answer

    Hello All,
    I hope someone can help. I found two threads (see links below) that seem to be asking the same question but the suggestion was to us the Rounding function, I have already done that and am having issues getting the answer to come out right.

    I used the ROUNDUP function in a cell and when I reference it in another, it seams to treat it as a fraction.

    Example:
    ROUNDUP((B12+F12)*0.15,2) where B12=0 and F12=68.31, the cell equals 10.25. All Good!

    Next cell referencing above Rounded cell:
    Cell equals H42+L42+M42+AG45; where H42 is above rounded cell, L42 & M42 are H42/3*(-1), and AG45 is -5.25
    It should equal -1.84
    But surprise excel says it is -1.83

    B12 F12 H24 L42 M42 AG45 Answer Cell
    0.00 68.31 10.25 (3.42) (3.42) (5.25) (1.83)


    Any suggestions as to how to get the right answer? Did I do something wrong or is this an issue with the program that needs to be fixed?
    Much thanks.

    Similar posts:
    1.) Rounding of values then using in another equation http://www.excelforum.com/excel-gene...-equation.html

    2.) Getting a formula to treat a fraction as a whole number http://www.excelforum.com/excel-gene...le-number.html
    Last edited by Momma L; 10-01-2013 at 11:48 PM.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Rounding Function referenced in another equation not yelding rounded answer

    issue a round function on L42,M42 as well.

    =round(H42/3*(-1),2)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    10-01-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Rounding Function referenced in another equation not yelding rounded answer

    Thank you vlady, that worked.
    Can you explain why that would need to be rounded as well to get the right answer? So I know for the next time.
    Thank you again for your help.
    Last edited by Momma L; 10-01-2013 at 11:23 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Rounding Function referenced in another equation not yelding rounded answer

    Hi and welcome to the forum

    Unless H42 contains a value exactly divisible by 3, you are going to end up with a recurring decimal...1/3 = 0.333333... and 2/3 = 0.66666666.... so you need to round that too.

    Also, you could simplify that slightly with...
    =round(H42/-3*,2)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Rounding Function referenced in another equation not yelding rounded answer

    and this =round(H42/-3*,2) is equal to -3.416666667 not "-3.42"

    thank Fdibbins

  6. #6
    Registered User
    Join Date
    10-01-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Rounding Function referenced in another equation not yelding rounded answer

    Thank you both so much. That makes so much sense, I kind of feel silly for missing that. The issue was being hidden by my cell formatting, the two decimals number thing. Thank you for clarifying why it was happening on my behalf and others in the future.
    Thank you also FDibbins for the warm welcome.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Rounding Function referenced in another equation not yelding rounded answer

    Vlad, didnt mean to "jump in" you looked like you were off-line and the OP was on-line, so I thought I would help out

+ 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. syntax for comparing a rounded number to a rounded list
    By stockgoblin42 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2013, 10:12 AM
  2. Rounding Up a function answer Excel 2010
    By turdle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2011, 01:47 AM
  3. Rounding of values then using in another equation
    By Lozza65 in forum Excel General
    Replies: 1
    Last Post: 02-20-2009, 01:31 AM
  4. I want brackets around my math equation answer?
    By Ms Serene in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-25-2006, 05:50 PM
  5. Can rounded numbers be summed without rounding errors?
    By chelseab in forum Excel General
    Replies: 1
    Last Post: 02-08-2006, 12:30 AM

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