+ Reply to Thread
Results 1 to 6 of 6

Rounding to the nearest 9

  1. #1
    Registered User
    Join Date
    12-22-2010
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2011
    Posts
    3

    Rounding to the nearest 9

    I know this is probably an over used topic, but I just can't find a solution that works with us here.

    We basically want to take any number and round it to it's nearest 9. Here is a few examples to better explain what we need it to do:
    If the price is $3.06 we need it to be $3.09
    If the price is $3.14 we need it to be $3.19
    If the price is $3.27 we need it to be $3.29

    Do you see the trend we use we don't want $3.27 to go to $3.99 we need it to $3.29
    I don't need the formula to do any kind of adding or subtracting I just need it to round for us, we do about 400 item changes by hand and this formula would help us be much more efficient.

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

    Re: Rounding to the nearest 9

    what about 3.01?

  3. #3
    Registered User
    Join Date
    12-22-2010
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: Rounding to the nearest 9

    3.01 needs to be 3.09

    It doesn't need to be limited to just 3's it needs to pull from whatever is in the source column (basically where the 2.04 digit is)

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

    Re: Rounding to the nearest 9

    Here, try this:

    =(INT(D2*10)+0.9)/10

  5. #5
    Registered User
    Join Date
    12-22-2010
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: Rounding to the nearest 9

    Worked great!!! Thanks

  6. #6
    Valued Forum Contributor ffffloyd's Avatar
    Join Date
    05-20-2008
    Location
    Melbourne, VIC, Australia
    MS-Off Ver
    Office 365
    Posts
    243

    Re: Rounding to the nearest 9

    Round off or round up? Round up if 3.01 needs to become 3.09.

    Please Login or Register  to view this content.
    But if you actually do want it to round off:

    Please Login or Register  to view this content.
    (Note the difference in the second parameter. CEILING wants the nearest multiple to round to; ROUND wants the number of decimals.)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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