Vlookup

H

H

Is it possible to do a lookup that allows you to look at another tab and say
if it's in that list then tag it with a yes? and if its not leave it blank?

for example:

Column A Column B
A Y
B
C Y

the corresponding tab will have some that match Column A -- if there is one
corresponding can Column B show a Y

Thanks
 
S

Shane Devenshire

Hi,

Not enought info, best to show us a sample of the data

Suppose the letters A, B, C are located in Sheet2 range A1:A10 then

=IF(ISNA(VLOOKUP(A1,Sheet2!A$1:A$10,1,FALSE)),"","Y")
 
L

Luke M

If you combined it with a IF function, yeah, you could do that. Shorter
function (and more clear what your doing) would be to use MATCH

=IF(ISNUMBER(MATCH(A1,'Sheet1'!A:A,0)),"Y","")
placed into B1 and copied down will let you know if the value in column A is
in column A of Sheet1.
 
H

H

thank you -- works perfectly :)

Luke M said:
If you combined it with a IF function, yeah, you could do that. Shorter
function (and more clear what your doing) would be to use MATCH

=IF(ISNUMBER(MATCH(A1,'Sheet1'!A:A,0)),"Y","")
placed into B1 and copied down will let you know if the value in column A is
in column A of Sheet1.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*
 

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

Vlookup 2
tagging 3
IF Statement 2
IF statement 1
help on a formula (match and etc..) 1
Consistent Sheet column header rows 2
help with a vlookup 2
Excel 2 into 1 6

Top