Solved

vlookup a list of words

Posted on 2013-06-05
8
202 Views
Last Modified: 2013-07-10
Hi,

I have the following challenge, I have a list of words that I need to ensure that it's in a specific column (Column O).

How do I perform a vlookup formula to lookup the list of words against Column O, if the word exists, will show True in the beside cell of the word, if word does not exist will show False in the beside cell of the word?
0
Comment
Question by:trihoang
  • 5
  • 2
8 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39221880
=not(isna(match(value,O:O,0)))

Change O:O to something like O2:O10000 for better performance.
0
 
LVL 9

Expert Comment

by:TazDevil1674
ID: 39221882
Would it not be easier to use Data Validation on Column O?  This way they can only enter allowed words (you could also use a drop-down box to seelct correct one)
0
 

Author Comment

by:trihoang
ID: 39222336
Allow me to clarify:

I have a list of words in Column P
I want to search each of those words against Column O

Instead of Ctrl + F for each word in Column P against Column O, how do I use vlookup function to speed this up?
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39222360
If you have your data starting in P2 then enter this formula in row 2 of any blank column

=not(isna(match(P2,O:O,0)))

and copy it down.
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 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39222435
Alternatively you can use conditional formatting without using a new column

press F5
type P:P
press enter
from the format menu select conditional formatting
From the first box select Formula is
In the next box paste this formula
=NOT(ISNA(MATCH(P2,O:O,0)))
click on the format button
select the Patterns tab
select a color like yellow
click OK
click OK
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39222439
The above applies to version 2007 and above
0
 

Author Comment

by:trihoang
ID: 39224752
I used the formula =not(isna(match(P2,O:O,0))) but it's wrong.
It shows FALSE but when I did a sanity check manually using Ctrl + F I was able to find the word in column O
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39224806
Can you upload a small sample file showing this problem?
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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
My experience with Windows 10 over a one year period and suggestions for smooth operation
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

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