+ Reply to Thread
Results 1 to 10 of 10

Rounding a formula to nearest 100 within a cell

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    Seattle
    MS-Off Ver
    Excel -MS Office 365 Subscription
    Posts
    44

    Rounding a formula to nearest 100 within a cell

    I am trying to round $15,841 to read $15,800. The formula within this cell is "=L63*0.95". I understand the "Round" feature but not clear how to incorporate it within this cell.

    Thanks.
    Last edited by pjfoster; 02-23-2012 at 10:40 AM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Rounding a formula to nearest 100 within a cell

    pjfoster,

    Something like this?
    =ROUND(L63*0.95/100,0)*100

    Alternatively,
    =ROUND(L63*0.0095,0)*100
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Rounding a formula to nearest 100 within a cell

    =ROUND(L63*0.95,-2)


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Rounding a formula to nearest 100 within a cell

    Cant you just use

    =INT((L63+50)/100)*100
    Last edited by Special-K; 02-22-2012 at 07:09 PM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Registered User
    Join Date
    01-09-2012
    Location
    Seattle
    MS-Off Ver
    Excel -MS Office 365 Subscription
    Posts
    44

    Re: Rounding a formula to nearest 100 within a cell

    I have tried all of the above but i continue to get a "FALSE" statement in the cell. I have attached an example file.

    Thank you for your help so far.

    Phil
    Attached Files Attached Files

  6. #6
    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 a formula to nearest 100 within a cell

    delete the 0 in 0.95

    makes it .95 only
    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

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Rounding a formula to nearest 100 within a cell

    I don't think that's the problem, Vlady....

    There are multiple lines in that formula [select cell and press F2 to see that].

    Try deleting the cell contents with Delete key then re-enter TMS' formula
    Audere est facere

  8. #8
    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 a formula to nearest 100 within a cell

    ok..
    not really the issue..

    the cell you are typing is saving the previous typed formulas don't know why.. if you evaluTE THE FORMULA
    THERE ARE ATLEAST 7 COPIES OF THE ROUND FORMULA..

    i tried to delete the cell with the formula and reenter the formual..
    then its ok now

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Rounding a formula to nearest 100 within a cell

    You'll find that if you enter the cell, select all the text (copies of the formulae), cut it, press Enter, then go to another cell and paste what you've got, you'll get seven or eight slightly different versions of the formula which all give the same result.

    Regards, TMS

  10. #10
    Registered User
    Join Date
    01-09-2012
    Location
    Seattle
    MS-Off Ver
    Excel -MS Office 365 Subscription
    Posts
    44

    Re: Rounding a formula to nearest 100 within a cell

    Removing the "0" seemed to do the trick.

    Thank you.

+ 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