check if a value exists within a lookup range?

Post Reply
wwj
Posts: 2497
Joined: 27 Jan 2007 08:16

check if a value exists within a lookup range?

Post by wwj »

If the value in A276 does not exist in the lookup range (GRUG_List_v1_2025!$A$2:$A$363), the VLOOKUP function will return a #N/A error.
Solution: Use the IFERROR function to handle the error:

Code: Select all


=IF(IFERROR(VLOOKUP(A276,GRUG_List_v1_2025!$A$2:$A$363,1,FALSE), "")=A276, "Yes", "")


Post Reply