+ Reply to Thread
Results 1 to 2 of 2

find the closest value between numbers in different datasets

  1. #1
    Registered User
    Join Date
    03-05-2012
    Location
    Leiden
    MS-Off Ver
    Excel 2003
    Posts
    1

    find the closest value between numbers in different datasets

    Hi everyone,

    I would like to find for each value of "Ref mass" the closest value (smallest differece) in "New mass" and report it in "closest value".

    Do you know how to do it???

    Cheers,

    Simone



    Ref mass New mass closest value
    9000.009180 8999.851720 9000.006263
    9000.031260 8999.873797
    9000.053340 8999.895875
    9000.075420 8999.917952
    9000.097500 8999.940030
    9000.119570 8999.962107
    9000.141650 8999.984185
    9000.163730 9000.006263
    9000.185810 9000.028341
    9000.207890 9000.050419
    9000.229970 9000.072498
    Last edited by lontra81; 03-05-2012 at 01:20 PM.

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

    Re: find the closest value between numbers in different datasets

    If you mean closest without going over
    then this should work

    =INDEX(B$1:B$11,MATCH(A1,B$1:B$11,1),1)

    and copy down C column
    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.

+ 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