Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
V LOOK UP AND IF STATEMENT
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 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
V LOOK UP AND IF STATEMENT
One alternative is something like this in say, C1::
=IF(ISNUMBER(MATCH(A1,B:B,0)),"Y","N") -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Question using dates in a statement | Excel Discussion (Misc queries) | |||
SQL concatenation statement | Excel Discussion (Misc queries) | |||
SET statement tutorial | Excel Discussion (Misc queries) | |||
If statement | Excel Discussion (Misc queries) | |||
Do I need a sumif or sum of a vlookup formula? | Excel Worksheet Functions |