Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel Forula to line up matching cells

Posted on 2016-10-20
3
Medium Priority
?
243 Views
Last Modified: 2016-11-21
Please see attached...

I have two Excel columns containing email addresses.
I need to run a function to make them line up, using column A as the master, search column B for the same address, then move it to the same row.

I cant just sort the two columns as there are addresses missing, so I want to be able to see the blanks.

Thanks in advance folks...
Book1---Excel.jpg
0
Comment
Question by:Christian Hans
3 Comments
 
LVL 33

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41852413
If both the columns have the same values and each values from column A exists in column B and assuming your data in column A starts from A2, then why not just place the following formula in B2 and copy it down?

=A2

Open in new window

0
 
LVL 34

Accepted Solution

by:
Rob Henson earned 2000 total points
ID: 41853542
Move the values from column B into another column, lets say D, then use this formula in column B:

=IFERROR(VLOOKUP($A1,D:D,1,FALSE),"")

Copy down and then copy and paste values.

Those where this is no match will be blank.
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 41895626
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Rob Henson (https:#a41853542)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

frankhelk
Experts-Exchange Cleanup Volunteer
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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.
Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

824 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