Formula needed

H

Harvey Waxman

In cell N1 of sheet #1,

If the value in A1 is found anywhere in column (A1:a1000) in sheet #2, put
"yes" in N1 of sheet #1

Should be easy but I'm having trouble with it.

--
Harvey Products makers of Dinghy Dogs
The Boater's Best Friend
http://www.dinghydogs.com
Ladies' handbags and accessories
http://www.deducktibles.com
Remove thefrown to email me
 
J

JE McGimpsey

Harvey Waxman said:
In cell N1 of sheet #1,

If the value in A1 is found anywhere in column (A1:a1000) in sheet #2, put
"yes" in N1 of sheet #1

Should be easy but I'm having trouble with it.

One way:

=IF(COUNTIF(Sheet2!A1:A1000,A1),"Yes","No")
 
H

Harvey Waxman

JE McGimpsey said:
One way:

=IF(COUNTIF(Sheet2!A1:A1000,A1),"Yes","No")

Of course! why do I try to make things so hard?

Since the column in sheet two is constant A1 should be $A$1 etc?

And would there be a difference if it were array entered and copied down the
list.

And thank you yet again.


--
Harvey Products makers of Dinghy Dogs
The Boater's Best Friend
http://www.dinghydogs.com
Ladies' handbags and accessories
http://www.deducktibles.com
Remove thefrown to email me
 

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

Similar Threads

restrict calculation 1
keyboard shortcuts 2
sheet size 18
Where is my error? 7
update 2
sort question 2
Frequency question 5
Can I do this? 1

Top