SOLVED

IF & VLOOKUP together

Copper Contributor

I am trying to pull data from one spreadsheet to another.  I am using a VLOOKUP formula which is working except for those lines that are not finding a match in the second spreadsheet, it is giving me an #N/A error.  I need to put a zero in the field if there is no match and I can't figure out how to use the IF and VLOOKUP together to make that work.  Can someone help me?

4 Replies
best response confirmed by blackmonhoustonhospice (Copper Contributor)
Solution

@blackmonhoustonhospice 

Use IFNA() or IFERROR() or XLOOKUP().

 

Thanks. I just found IFERROR and it works.
I'm not clear how to integrate the IFNA() or IFERROR() part of the formula. Could someone show me how this would work for my spreadsheet? This is my formula
=VLOOKUP(A3,'ITEM LIST'!A$2:C$1050,3,FALSE)

@chrisstgermain 

Simply.

=IFERROR(VLOOKUP(A3,'ITEM LIST'!A$2:C$1050,3,FALSE),"mo match")
1 best response

Accepted Solutions
best response confirmed by blackmonhoustonhospice (Copper Contributor)
Solution

@blackmonhoustonhospice 

Use IFNA() or IFERROR() or XLOOKUP().

 

View solution in original post