+ Reply to Thread
Results 1 to 10 of 10

How to stop last digit rounding up for percentage calculation

  1. #1
    Registered User
    Join Date
    07-03-2014
    Location
    sydney
    MS-Off Ver
    MS excel 2007
    Posts
    6

    How to stop last digit rounding up for percentage calculation

    Hi I have a percentage calculation that I need to ensure excel does not round up the last digit.

    My calculation is 2463000(cell:I13) divided by 257000(cell: I14+I15)
    Excel calculates this value to be 0.958365759
    However I need it to display and re-use only 0.9583657 as my calculation has to be precise to 7 decimal places.

    If I use the formula =ROUND(I13/SUM(I14+I15),7) then excel returns the value 0.9583658 - it rounds the last digit up.

    I have tried to use the option "Set precision as displayed" and set my decimal places to 7 but this still sees my 7th digit rounded up.
    How do I set it so the 7th digit is not rounded up.

    my original formaula is =IF(AND((L3+L8+L13)<=O3,(L3+L8+L13+L18)>O3),((O3-(L3+L8+L13))*I18/L18))
    I have updated it to be =IF(AND((L3+L8+L13)<=O3,(L3+L8+L13+L18)>O3),((O3-(L3+L8+L13))*(ROUND(I18/L18,7))))

    Any help would be appreciated

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: How to stop last digit rounding up for percentage calculation

    Hi Brother Bruce and welcome to the forum,

    I believe the MRound() function will do this for you correctly. I'm not sure it was available in the 2007 version of excel... Let me look...
    This site shows it was available in 2003 so I think you are ok..

    http://www.office.microsoft.com/en-u...005209185.aspx

    If you need it to round to the then perhaps you could do an MRound("your formula" -.000005, .000001)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: How to stop last digit rounding up for percentage calculation

    try this
    D10 is 2463000(cell:I13) divided by 257000(cell: I14+I15)

    =FLOOR.PRECISE(D10,0.0000001)

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: How to stop last digit rounding up for percentage calculation

    Hi JieJenn,

    I really like your answer, but it looks like it is in Excel 2010. The OP shows version 2007, so I don't think they have this function available.
    see http://office.microsoft.com/en-us/ex...010369209.aspx

  5. #5
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: How to stop last digit rounding up for percentage calculation

    You are right; completely forgot about that. In that case, MRound will probably have to do it haha. Good call Marvin.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to stop last digit rounding up for percentage calculation

    Trunc should work

    =TRUNC(A1,7)

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: How to stop last digit rounding up for percentage calculation

    It looks like Trunc() started in 2010 also. Read:
    http://office.microsoft.com/en-us/ex...010342970.aspx

    The OP says they have 2007 version of Excel.

  8. #8
    Registered User
    Join Date
    07-03-2014
    Location
    sydney
    MS-Off Ver
    MS excel 2007
    Posts
    6

    Re: How to stop last digit rounding up for percentage calculation

    Hi all, thank you for your quick replies...
    Jonmo1 your solution worked best.
    Thank you...

  9. #9
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to stop last digit rounding up for percentage calculation


  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to stop last digit rounding up for percentage calculation

    Quote Originally Posted by Br0ther_bruce View Post
    Jonmo1 your solution worked best.
    You're welcome.

+ 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. 4th Digit Rounding
    By bdon in forum Excel General
    Replies: 6
    Last Post: 03-24-2014, 10:01 AM
  2. [SOLVED] Rounding long formula to digit above 0
    By justtune in forum Excel General
    Replies: 15
    Last Post: 09-05-2012, 08:21 PM
  3. Replies: 4
    Last Post: 02-13-2012, 02:57 AM
  4. 20 digit wont stop ending in zeros
    By bumble78 in forum Excel General
    Replies: 3
    Last Post: 08-17-2006, 08:00 PM
  5. How do I stop a calculation rounding up
    By Lynneth in forum Excel General
    Replies: 8
    Last Post: 01-13-2006, 04:00 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