Solved

Excel 2013 Vlookup List Changes in Separate Column

Posted on 2013-12-18
3
369 Views
Last Modified: 2013-12-18
I'm running a VLOOKUP in Excel to compare names between columns and indicate changes. I'm comparing Columns G and H, and listing results in Column I.  What is happening is Column I lists all the same entries in Colulmn G, and the names that don't exist in column H are indicated in column I with an: #N/A

Instead of the #N/A indication of the non-match, I wish to have the names shown that don't match listed in either column I or column J.

I'm using =VLOOKUP(G2,H:H,1,FALSE)
0
Comment
Question by:fireguy1125
  • 2
3 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39726862
Instead of the Vlookup in column I, add this formula:

=IF(ISNA(MATCH(G2,H:H,0)),COUNT(I$1:I1)+1,"")

Copied down.  This finds and numbers the non-matches.

now in column J at J2:

=IFERROR(INDEX(G:G,MATCH(ROWS(J$2:J2),I:I,0),"")

copied down.
0
 
LVL 1

Author Comment

by:fireguy1125
ID: 39727008
I'm getting an error message on the =IFERROR formula, it says:

Your formula is missing a parenthesis--) or (. Check the formula, and then add the parenthesis in the appropriate place.
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39727013
Sorry, missing a parenthesis:

=IFERROR(INDEX(G:G,MATCH(ROWS(J$2:J2),I:I,0)),"")
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
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.

772 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