+ Reply to Thread
Results 1 to 8 of 8

Rounding Numbers - How to?

Hybrid View

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    Montana
    MS-Off Ver
    Excel 2007
    Posts
    3

    Rounding Numbers - How to?

    I have a spreadsheet that gives measurements of items. The measurements are displayed to the nearest tenth. The problem I have is that the old spreadsheets are rounded to the nearest quarter. I need to compare these numbers. Does anyone have any suggestions on how best to approach this? Here is a quick example:

    NewSpreadsheet has measurements 2.0, 2.1, 2.2, 2.3, 2.4, and 2.5.

    I want to compare these numbers with the OldSpreadsheet that only has measurement options 2.0, 2.25, and 2.5.

    So, I would like to make NewSpreadsheet measurements 2.0 and 2.1 equal 2.0, 2.2 and 2.3 equal 2.25, and 2.4 and 2.5 would equal 2.5.

    I hope this makes sense. Thank you in advance for any suggestions and feel free to ask for more info if you need it.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Rounding Numbers - How to?

    make a list with compearing measurements.

    then you can work with VLookup.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: Rounding Numbers - How to?

    Place this in the column one over from the measurements, if they were in A1, place this in B1.

    Drag down:

    =IF(OR(A1=2.0, A1=2.1), 2.0, IF(OR(A1=2.2, A1=2.3), 2.25, IF(OR(A1=2.4, A1=2.5), 2.5, "")

  4. #4
    Registered User
    Join Date
    11-14-2012
    Location
    Montana
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Rounding Numbers - How to?

    thanks both of you

  5. #5
    Forum Contributor
    Join Date
    08-04-2011
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    109

    Re: Rounding Numbers - How to?

    Rather than converting, how about evaluating the absolute value of the difference. If it is > .125 (half of a quarter), then it is not equal.
    Last edited by Dionysos; 11-14-2012 at 05:15 PM.

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Rounding Numbers - How to?

    How about..

    =MROUND(A1,0.25)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    Registered User
    Join Date
    11-14-2012
    Location
    Montana
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Rounding Numbers - How to?

    The MRound worked perfect. Simple and effective. Thank you.

  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 Numbers - How to?

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as "SOLVED".
    For the meantime I'll do it for you.

    How?
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    Note:
    You can also thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given.
    By doing so you can add to the reputation(s) of those who helped and shared their time in helping you.
    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

+ 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