View Single Post
Old 20-10-2006, 17:54   #3 (permalink)
GotaFancy?
God Punter
 
GotaFancy?'s Avatar
 
Join Date: 18 Jun 2005
Posts: 34,043
Awards Showcase
Tipsters Challenge Oscars Poker Monthly League Champion BPP 
Total Awards: 4
Default Re: Microsoft Excel help

So if a horse in one sheet is listed in another sheet, then you want to say "Yes", otherwise leave it blank?

Looks like a vlookup may be your best bet, combined with an ISERROR something along the lines of:

=IF(ISERROR(VLOOKUP(A2,Sheet2!A:A,1,FALSE)),"","YES")

If your list of horses is:

B
G
H


Then this gives this output:

Horse
A
BYES
C
D
E
F
GYES
HYES
I
J
K
L


Is that what you're after?
GotaFancy? is offline   Reply With Quote