Solved

Why does this VLOOKUP not work?

Posted on 2016-09-21
6
47 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
6 Comments
 
LVL 28

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
Comment Utility
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
Comment Utility
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 28

Expert Comment

by:Subodh Tiwari (Neeraj)
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 33

Expert Comment

by:Norie
Comment Utility
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
Comment Utility
Yes, this was the easiest to understand.  My reference point was pointing to the wrong cell.  Thank you all for your suggestions.
0
 
LVL 28

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
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…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

763 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

9 Experts available now in Live!

Get 1:1 Help Now