View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid vezerid is offline
external usenet poster
 
Posts: 751
Default V LOOK UP AND IF STATEMENT

=IF(ISNA(VLOOKUP(...)),"N","Y")

The ISNA() function tests if the expression returns #N/A, which is what
VLOOKUP returns when it does not find what it looks up.

HTH
Kostis Vezerides

On Jan 25, 4:20 pm, Katie wrote:
I want to use a vlookup and if statement to return a value of Y if found and
N if not found i.e. look up the value in column a in another spreadsheet and
put N if not found and Y if found