Matching common data from 3 columns?

wisemank

Board Regular
Joined
Jun 21, 2010
Messages
129
Good Morning,

I am looking to identify the data I have from three (3) columns and verify if they are common to each other. Columns F,G & H hold the cost values for parts on 3 different cars. I want to know if the cost matches between the three cars to see if they are shared. below is an example:

Part namecar1car2car3solution
window5.0000
muffler12012045car 1, car2
door handle161616car1, car2, car3
hood459645car 1, car3


<TBODY>
</TBODY>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Perhaps
=REPT("car1 ", 1 < COUNTIF(A1:C1,A1))&REPT("car2 ", 1 < COUNTIF(A1:C1,B1))&REPT("car3 ", 1 < COUNTIF(A1:C1,C1))
 
Upvote 0
An alternative:

=IF(COUNTIF(B2:D2,B2)>1,B$1&", ","")&IF(COUNTIF(B2:D2,C2)>1,C$1&REPT(", ",C2=D2),"")&IF(COUNTIF(B2:D2,D2)>1,D$1,"")
 
Upvote 0

Forum statistics

Threads
1,216,176
Messages
6,129,313
Members
449,500
Latest member
Jacky Son

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