Column match on same row

kway2004

New Member
Joined
Mar 29, 2016
Messages
7
I have a table with Sku and Item Name. There are multiple lines with the same Sku. I want to take this information and create a table showing one line for the sku name and place an "X" with the Item Name that make up the Sku.

Beginning data table

SKUItem Name
ELF02Beef Bully Stick 6"
ELF02Small Generic Box
ELF02Box Label Small
ELF02Beef Label
ELF03Beef Bully Stick 12"
ELF03Small Generic Box
ELF03Box Label Small
ELF03Beef Label



<colgroup><col><col></colgroup><tbody>
</tbody>
End result that I am seeking

Beef Bully Stick 6"Beef Bully Stick 12"Small Generic BoxBox Label SmallBeef Label
ELF02XXXX
ELF03XXXX

<colgroup><col span="6"></colgroup><tbody>
</tbody>

Of course the beginning table has about 1200 lines to it. I have tried If(And(match which gives me "X" in cell that should not have them because of the condition is satisfied once it finds a match in both columns. I need the column match to be for the same row.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
How about


Book1
ABCDEFGHIJK
1SKUItem NameBeef Bully Stick 6"Beef Bully Stick 12"Small Generic BoxBox Label SmallBeef Label
2ELF02Beef Bully Stick 6"
3ELF02Small Generic BoxELF02XXXX
4ELF02Box Label SmallELF03XXXX
5ELF02Beef Label
6ELF03Beef Bully Stick 12"
7ELF03Small Generic Box
8ELF03Box Label Small
9ELF03Beef Label
Summary
Cell Formulas
RangeFormula
G3=IF(ISNUMBER(MATCH($F3&"|"&G$1,INDEX($A$2:$A$9&"|"&$B$2:$B$9,0),0)),"X","")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
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