Compare names on 2 columns

sulbaran

New Member
Joined
May 26, 2010
Messages
8
Hello to all

I need to compare names in two columns, task looks simple but I can't figure out using conditional formating or some solutions around internet? I have one Column ( said A) with names on completed procedures and another column ( said B ) with names on procedures charged, my goal is to find out what names on column A don't show in column B and if possible listed in a another column ( said C )
In my case will be valid for another report that shows instead of name, have procedures names...
As in the below example: the name " Calling John is on Column A but not on the Column B and I'll like that name in column B and will like that in another column, ( said C ), also the names Cook, Oscar and Salders, Paul are in column B but not on A and I'll like that in another column ( said D )

The report include thousands of rows.
Thanks in advance for you help ...
Sulbaran

Names Completed
Names Charged
Calling, John

<TBODY>
</TBODY>
Brown, Henry

<TBODY>
</TBODY>
Vince, Sunday

<TBODY>
</TBODY>
Walker, Hardy

<TBODY>
</TBODY>
Williams, Anthony

<TBODY>
</TBODY>
Morgan, Oliver

<TBODY>
</TBODY>
Taylor, Bruce

<TBODY>
</TBODY>
Taylor, Bruce

<TBODY>
</TBODY>
Brown, Henry

<TBODY>
</TBODY>
Reed, Dustin

<TBODY>
</TBODY>
Walker, Hardy

<TBODY>
</TBODY>
Williams, Anthony

<TBODY>
</TBODY>
Reed, Dustin

<TBODY>
</TBODY>
Cook, Oscar

<TBODY>
</TBODY>
Morgan, Oliver

<TBODY>
</TBODY>
Sanders, Paul

<TBODY>
</TBODY>

<TBODY>
</TBODY>
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
If you have excel 2010 (or 2013), you can use the aggregate function to avoid using an array formula to solve this problem...

In Row 2 of Column C, use the following formula and copy down:
=IFERROR(INDEX($A$1:$A$9,AGGREGATE(15,6,ROW($A$2:$A$9)/(COUNTIF($B$2:$B$9,$A$2:$A$9)=0),ROWS($C$1:C1))),"")

In Row 2 of Column D use the following formula and copy down:
=IFERROR(INDEX($B$1:$B$9,AGGREGATE(15,6,ROW($B$2:$B$9)/(COUNTIF($A$2:$A$9,$B$2:$B$9)=0),ROWS($C$1:C1))),"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,438
Members
449,083
Latest member
Ava19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top