Solved

Excel - VLOOKUP

Posted on 2011-09-12
7
225 Views
Last Modified: 2012-05-12
I have text in Column A from rows 4 to 300 sorted alphabetically.   I have text in column B from rows 4 to 150 sorted alphabetically.   I need a formula in Column C that will look at the value in Column B and if it's found in Column A it says 'YES'.  If not then 'NO'.
0
Comment
Question by:elwayisgod
7 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 36525731
Try using this formula in C4 copied down

=IF(COUNTIF(A$4:A$300,B4),"YES","NO")

this doesn't rely on the data being sorted - works either way.....

regards, barry
0
 
LVL 41

Expert Comment

by:dlmille
ID: 36525737
Use this formula, paste in C4 and copy down:

=IF(ISNA(MATCH(B4,$A$4:$A$300,0)),"NO","YES")

Dave
0
 
LVL 17

Expert Comment

by:andrewssd3
ID: 36525748
Try:

=IF(ISERROR(MATCH(B4,$A$4:$A$300,0)),"NO","YES")

Open in new window

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 17

Expert Comment

by:andrewssd3
ID: 36525759
Pretty impressive - no answers when I started typing mine - accepted before I pressed submit - you can't hang around here
0
 
LVL 10

Expert Comment

by:SANTABABY
ID: 36525761
This formula is for cell C4:
=IF(ISNA(MATCH(B4,A:A,0)),"No","Yes")

Copy C4 and select the range C5:C150, then paste.
0
 
LVL 41

Expert Comment

by:dlmille
ID: 36525798
andrewssd3 - I noticed :)  I must have been a split second too slow, lol :)

Dave
0
 

Author Comment

by:elwayisgod
ID: 36531099
Crap.. I'm sorry fellas.  First one worked so I just accepted.  I'm sure there is many ways to skin this cat :)   I appreciate all the responses.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now