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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,783
Messages
6,132,678
Members
449,747
Latest member
OldMrsMol

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