SOLVED

List Sorting Problem

Copper Contributor

Not even sure how to describe this, so I have not been able to find an answer in the search.

 

I have 3 columns. A has 5,000 names. B has 5,000 associated emails. C has 1,000 names. I need to match up the email from column 2 with the same names in columns A and C. I need Column C to match alphabetically with Column A, with blank spaces wherever they need to be because Column A has way more names. So I can add an email attribute to the names in Column C. Make sense? THANK YOU!!!!

WHAT I HAVE WHAT I NEED
MAIN NAMEMAIN EMAILTARGET NAME MAIN NAMEMAIN EMAILTARGET NAME
Billy IdolBilly@Johnny Cash Billy IdolBilly@ 
Johhny CashJohnny@Dolly Parton Johhny CashJohnny@Johnny Cash
Elvis PresleyElvis@  Elvis PresleyElvis@ 
Dolly PartonDolly@  Dolly PartonDolly@Dolly Parton
2 Replies
best response confirmed by allyreckerman (Microsoft)
Solution

@Lubellski 

You may

=XLOOKUP(<main email>, <main email columm>, <main name column>, "")

same for target name.

Thank you Sergei, I knew that someone here would be able to answer this rapidly. So much appreciated!!!
1 best response

Accepted Solutions
best response confirmed by allyreckerman (Microsoft)
Solution

@Lubellski 

You may

=XLOOKUP(<main email>, <main email columm>, <main name column>, "")

same for target name.

View solution in original post