Solved

Why does this VLOOKUP not work?

Posted on 2016-09-21
6
58 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 31

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 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 31

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
Independent Software Vendors: 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 31

Expert Comment

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

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
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‚Ķ

707 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