Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a way that I can lookup the closest value of a given number in a
table of data using Index/Match? I am looking for a formula that will provide the same functionality as setting the VLOOKUP Range value to true but allows me to have more flexibilty as to the data I can work with. Any help with this would be greatly appreciated. Chad |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
HI Chad
=vlookup(a1,b2:c100,2,1) adjust your range the 1 at the end will return the close figure hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Chad" escreveu: Is there a way that I can lookup the closest value of a given number in a table of data using Index/Match? I am looking for a formula that will provide the same functionality as setting the VLOOKUP Range value to true but allows me to have more flexibilty as to the data I can work with. Any help with this would be greatly appreciated. Chad |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Can you provide a sample of the data, along with actual/expected results?
In article , Chad wrote: Is there a way that I can lookup the closest value of a given number in a table of data using Index/Match? I am looking for a formula that will provide the same functionality as setting the VLOOKUP Range value to true but allows me to have more flexibilty as to the data I can work with. Any help with this would be greatly appreciated. Chad |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming there are no duplicates in your array,
enter as an array formula =SUMPRODUCT(((ABS(array-target))=MIN(ABS(array-target)))*array) otherwise use this array formula for the first closest match in a list =INDEX(list,MATCH(MIN(ABS(list-target)),(ABS(list-target)),0)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Another way to lookup data | Excel Worksheet Functions | |||
Lookup Vector > Lookup Value | Excel Worksheet Functions | |||
Lookup function w/Text and Year | Excel Worksheet Functions | |||
Lookup closest number in list | Excel Discussion (Misc queries) | |||
double lookup, nest, or macro? | Excel Worksheet Functions |