Solved

vlookup a list of words

Posted on 2013-06-05
8
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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
 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

751 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