Solved

Excel 2013 Vlookup List Changes in Separate Column

Posted on 2013-12-18
3
367 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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 will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

863 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

19 Experts available now in Live!

Get 1:1 Help Now