+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : rounding up values to a specific value

  1. #1
    Registered User
    Join Date
    04-03-2012
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question rounding up values to a specific value

    I am currently compiling a sales spreadsheet for a small business. After calculating the markup from the wholesale price I want to round that value up to either $xx.49 or $xx.99. The criteria is if the value is less than $xx.50 round to $xx.49 If it is greater than $xx.50 then round up to $xx.99. any formula suggestions?!!
    Thanks Debelles1

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: rounding up values to a specific value

    Here, try: =MROUND(A1, 0.5)-0.01

  3. #3
    Registered User
    Join Date
    04-03-2012
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: rounding up values to a specific value

    Lets say the value is $17.05 and I want that to be rounded to $17.49. and also i have a value of $18. 66 AND THAT NEEDS TO BE ROUNDED TO $18.99.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: rounding up values to a specific value

    Sorry, 0,5 missing:

    =MROUND(MAX(0.25,A1)-0.25, 0.5)+0.49

    Only price 0 will be showed as 0,49. So if you want to avoid this use:

    =IF(A1=0,0,MROUND(MAX(0.25,A1)-0.25, 0.5)+0.49)
    Last edited by zbor; 04-03-2012 at 09:49 AM.

  5. #5
    Registered User
    Join Date
    04-03-2012
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: rounding up values to a specific value

    Great thank you so much for your help!

+ 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