G Guest Aug 21, 2007 #1 Please, what is the proper vlookup syntax to get a yes or no answer in a vlookup formula, instead of a column return? thanks.
Please, what is the proper vlookup syntax to get a yes or no answer in a vlookup formula, instead of a column return? thanks.
P Pete_UK Aug 21, 2007 #2 Try this: =IF(ISNA(VLOOKUP(A1,table,1,0)),"no","yes") where A1 is the cell with the lookup value, and table is a named range covering your data. Hope this helps. Pete
Try this: =IF(ISNA(VLOOKUP(A1,table,1,0)),"no","yes") where A1 is the cell with the lookup value, and table is a named range covering your data. Hope this helps. Pete
D Dave Peterson Aug 21, 2007 #3 If you're checking to see if a value is in a single column/row list: =if(isnumber(match(a1,sheet2!a:a,0)),"yes - a match","no match")
If you're checking to see if a value is in a single column/row list: =if(isnumber(match(a1,sheet2!a:a,0)),"yes - a match","no match")
G Guest Aug 21, 2007 #4 Thanks Pete Pete_UK said: Try this: =IF(ISNA(VLOOKUP(A1,table,1,0)),"no","yes") where A1 is the cell with the lookup value, and table is a named range covering your data. Hope this helps. Pete Click to expand...
Thanks Pete Pete_UK said: Try this: =IF(ISNA(VLOOKUP(A1,table,1,0)),"no","yes") where A1 is the cell with the lookup value, and table is a named range covering your data. Hope this helps. Pete Click to expand...
G Guest Aug 21, 2007 #5 Thanks Dave. Dave Peterson said: If you're checking to see if a value is in a single column/row list: =if(isnumber(match(a1,sheet2!a:a,0)),"yes - a match","no match") Click to expand...
Thanks Dave. Dave Peterson said: If you're checking to see if a value is in a single column/row list: =if(isnumber(match(a1,sheet2!a:a,0)),"yes - a match","no match") Click to expand...