I am trying to find a function for a list

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","")
 
M

Mike H

Hi soconfused, you were soclose

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

Mike
 
S

soconfused

Thank you all for contributions. Muddan, yours was the one that was
successful.
 
M

Max

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

Top