Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() All - I'm trying to get a function to return a Y or N if the contents of sheet2 cell A1 matches any cell in sheet1 column A. TIA -Jay |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way ..
Put in Sheet2's B1 (say): =IF(A1="","-",IF(ISNUMBER(MATCH(A1,Sheet1!A:A,0)),"Y","N") ) B1 can be copied down to return correspondingly for other values in A2, A3, etc -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "JayL" wrote in message ... All - I'm trying to get a function to return a Y or N if the contents of sheet2 cell A1 matches any cell in sheet1 column A. TIA -Jay |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Jay
One way =IF(ISNA(MATCH(Sheet2!A1,Sheet1!A:A,0)),"N","Y") -- Regards Roger Govier "JayL" wrote in message ... All - I'm trying to get a function to return a Y or N if the contents of sheet2 cell A1 matches any cell in sheet1 column A. TIA -Jay |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Perfect! Thanks! "JayL" wrote in message ... All - I'm trying to get a function to return a Y or N if the contents of sheet2 cell A1 matches any cell in sheet1 column A. TIA -Jay |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
You may try the following array formula (Ctrl+Shift+Enter) in cell B1 of sheet 2 =if(or(exact(A1,sheet1_range)) Regards, Ashish Mathur "JayL" wrote: All - I'm trying to get a function to return a Y or N if the contents of sheet2 cell A1 matches any cell in sheet1 column A. TIA -Jay |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Another way to lookup data | Excel Worksheet Functions | |||
Lookup Vector > Lookup Value | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Lookup function w/Text and Year | Excel Worksheet Functions | |||
double lookup, nest, or macro? | Excel Worksheet Functions |