Excel Vlookup returns NA with numbers

后端 未结 2 1617
难免孤独
难免孤独 2021-01-29 10:16

I have a table in Excel which contains 2 columns of text, and two columns of numbers. The numbers refer to the position in which a search string is found within a body of text -

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-29 10:46

    VLOOKUP always does the lookup on the first column in the lookup table so you are looking up the Min value in the weather column and it does not match.

    You can either restructure your data so that the location column is first or use INDEX MATCH

    =INDEX(C3:E7,MATCH(MIN(E3:E7),E3:E7,0),1)
    

提交回复
热议问题