I am trying to find a function for a list

  • Thread starter Thread starter soconfused
  • Start date Start date
S

soconfused

I have one worksheet with two sheets. On the first sheet I have a list in
column Q. I want to check that row against column A in the second sheet. If
I find and exact match, I want to put "Checked" in column AA, if not I want
it to be blank. This is the formula that I've tried:

IF(COUNTIF('Prior Month'!$A$1:$A$100,Q5)>"","Checked","")
 
Try this...

=IF(ISNUMBER(MATCH(A8,'Prior Month'!Q:Q,0)),"Checked","")
 
try this

=IF(ISNA(MATCH(Q5,sheet2!$A$1:$A$100,0)),"","checked")
 
Hi soconfused, you were soclose

=IF(COUNTIF('Prior Month'!$A$1:$A$100,Q5)>0,"Checked","")

Mike
 
Thank you all for contributions. Muddan, yours was the one that was
successful.
 
Actually, all 3 other options should have worked just as well. Rick's
ISNUMBER(MATCH(..)) option is identical (conversely) to Muddan's
ISNA(MATCH(..)), it just needs some tweaking on the lookup/col references.
The COUNTIF option was tested ok here before posting it to you.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top