If as implied data is not sorted, criteria is in A1 on sheet1, values in Sheet2!A1:A4 then:
![]()
=INDEX(Sheet2!A1:A4,MATCH(TRUE,ABS(A1-Sheet2!A1:A4)=MIN(ABS(A1-Sheet2!A1:A4)),0)) confirmed with CTRL + SHIFT + ENTER
If as implied data is not sorted, criteria is in A1 on sheet1, values in Sheet2!A1:A4 then:
![]()
=INDEX(Sheet2!A1:A4,MATCH(TRUE,ABS(A1-Sheet2!A1:A4)=MIN(ABS(A1-Sheet2!A1:A4)),0)) confirmed with CTRL + SHIFT + ENTER
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks