Forum Discussion

Lise C's avatar
Lise C
Copper Contributor
Mar 12, 2018
Solved

Eliminate #N/A in Index Match that looks at a List

Here is my https://1drv.ms/x/s!Am-hfuhzP9qmgapc0okpIfjbREi2MA (shoot - the formulae disappear in the link). Here they are: Col1:  =INDEX(CountryList,MATCH(TRUE,ISNUMBER(SEARCH(CountryList,OrigD...
  • Haytham Amairah's avatar
    Mar 13, 2018

    Hi Lisa,

     

    Easily, you can wrap the formula with one of these functions:

    • IFNA
    • IFERROR

     

    Examples:

    =IFNA(INDEX(CountryList,MATCH(TRUE,ISNUMBER(SEARCH(CountryList,OrigData!O18)),0)),"")

    =IFERROR(INDEX(CountryList,MATCH(TRUE,ISNUMBER(SEARCH(CountryList,OrigData!O18)),0)),"")

     

    NOTE: IFNA is available in Excel 2013 or later.

     

    Hope that helps

    Haytham

Resources