collect cells from different cells if another cell is equal.

orjanmen

New Member
Joined
May 21, 2014
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hi, I got a sheet where each order are splitted into one row per item. I would like to collect all items from same order into one row - is this possible?

FROM THIS:
OrderItem
1234Red
4567Blue
1234Yellow
4567Brown
1234Orange

<tbody>
</tbody>


TO THIS:

OrderItemItem2Item3
1234RedYellowOrange
4567BlueBrown
1234YellowRedOrange
4567BrownBlue
1234OrangeRedYellow

<tbody>
</tbody>

- OR THIS -
OrderItemItem2Item3
1234RedYellowOrange
4567BlueBrown

<tbody>
</tbody>

Would love some help With this one.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Thank you so much. Not always so easy to find something when you don't know what to search for ;)
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,393
Members
449,446
Latest member
CodeCybear

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