#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JayL
 
Posts: n/a
Default Use lookup or ??


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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Use lookup or ??

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Use lookup or ??

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JayL
 
Posts: n/a
Default Use lookup or ??


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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur
 
Posts: n/a
Default Use lookup or ??

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 04:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"