?
Solved

Why does this VLOOKUP not work?

Posted on 2016-09-21
6
Medium Priority
?
60 Views
Last Modified: 2016-09-22
Can someone tell me why the formula in Column A of the Master List worksheet does not work?  See attached file.

I expect the text in Column A to change based upon whether there was a match in Email Address between the two worksheets.

I expected to see the following result:

Action                                    Full Name
Completed Training            McCarthy, Nathan
DID NOT TAKE TRAINING   Richardson, Christian
Completed Training            Ross, Rachel
DID NOT TAKE TRAINING  Abdullah, Mohamed
Completed Training            Adrian, Matthew C
DID NOT TAKE TRAINING   Alexander, Kori M
TEST.xlsx
0
Comment
Question by:cowboywm
[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
6 Comments
 
LVL 32

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 2000 total points
ID: 41809376
Lookup value should always be in the first column of the table_array used in the Vookup Function.
Change your table_array like this and change the column index (3) as per your requirement. If you use 3 as column index, the data from col. E will be returned if a match found.

VLOOKUP(F2,'WebEx Attendance'!$C$1:$I$7,3,FALSE)
0
 
LVL 15

Expert Comment

by:Haris Djulic
ID: 41809400
Hi,

change your formula to this:

=IF(IFERROR(VLOOKUP(TEXT(F2,0),'WebEx Attendance'!$C$1:$I$7,5,FALSE),"NO")="NO","DID NOT TAKE TRAINING","Completed Training")

Open in new window

TEST_HD.xlsx
0
 
LVL 32

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41809457
I think you only need this......

On Master List Sheet,
In A2
=IF(ISNUMBER(MATCH(F2,'WebEx Attendance'!C:C,0)),"Completed Training","DID NOT TAKE TRAINING")

Open in new window

and then copy down.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 34

Expert Comment

by:Norie
ID: 41809534
Do you actually want to return something from the sheet 'WebEx Attendance'?

Or do you just want to check the email addresses in column F on 'Master List' exist in column C on 'WebEx Attendance'?
0
 

Author Closing Comment

by:cowboywm
ID: 41811372
Yes, this was the easiest to understand.  My reference point was pointing to the wrong cell.  Thank you all for your suggestions.
0
 
LVL 32

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41811381
You're welcome. Glad to help.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

770 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