+ Reply to Thread
Results 1 to 3 of 3

Formula to Round Prices

  1. #1
    Registered User
    Join Date
    03-02-2015
    Location
    Louisville, KY
    MS-Off Ver
    2008
    Posts
    8

    Formula to Round Prices

    Hey there! So my housemate helped me create the formula below. What I needed was a formula that would take the prices in one column and then round each price up or down to the nearest 9. Does anyone have a suggestion of how to include a nesting function that would make an exception to the rule below (.03 and below round down, and .04 and up, round up). The exception would be that if that anything is priced within .10 above $1.00 should be rounded down to the nearest .99. (for example 4.09 rounded down to 3.99)

    =IF(J2-FLOOR(J2,0.1)>0.03,FLOOR(J2,0.1)+0.09,FLOOR(J2,0.1)-0.01)

    Any help would be greatly appreciated!

    Thank you!

    Hope everyone is having a lovely day

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Formula to Round Prices

    ...the additional logic, you want it to be implemented BEFORE any of the formula above?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    03-02-2015
    Location
    Louisville, KY
    MS-Off Ver
    2008
    Posts
    8

    Re: Formula to Round Prices

    It would be an either or kind of thing. I confess that I am kind of an excel laymen. The formula might need to be rewritten in order to include all the logic I am looking for.

    Ideally, the formula would judge whether the prices in column X were within .10 of the dollar and would then round those numbers down to the nearest .99 OR for any price that did not meet that criteria, excel would round it up or down based on the rule I mentioned in my original post (.03 and below round down, and .04 and up, round up).

    Here's a screen shot of the spreadsheet.

    Screen shot 2015-03-23 at 3.57.47 PM.png

    I'm looking for a formula that would keep all these prices the way they have been calculated, but if there was a price that was >.10 from a $1.00, I would want it rounded to the nearest .99. For example: anything between $3.01-$3.10, I would want it rounded down to $2.99.
    Last edited by rnbblsmm; 03-23-2015 at 04:56 PM.

+ 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. [SOLVED] Round prices to nearest $0.99
    By joebird in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-28-2012, 10:05 AM
  2. How can I round up the prices?
    By gronnies in forum Excel General
    Replies: 1
    Last Post: 10-31-2009, 03:56 AM
  3. Replies: 6
    Last Post: 01-24-2007, 10:05 AM
  4. I am trying to round a list of numbers (prices) to xx.95. Is the
    By Comexe35 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2006, 09:55 AM
  5. [SOLVED] Pricing - how to round up various prices to .95
    By MikeB94518 in forum Excel General
    Replies: 10
    Last Post: 07-22-2005, 09:05 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