How to Merge Rows Based on Cell Value While Keeping Unique Values and Keeping One of Each Repeated Value

antman2988

Board Regular
Joined
Jun 28, 2018
Messages
78
Hello,

I have a workbook that contains classes a person must take based on their roles in a system (job duties). Because each roles requires certain classes and all of the roles have repeated classes, I would like to combine the rows based on the user while keeping all unique values and keeping just one of the repeated values.

Example:
Smith, Bob AP Approver Intro Intro2 Voucher Processing
Smith, Bob AP Processor Intro Intro2 Suppliers
Smith, Bob AM Processor Intro Intro2 Asset Mgmt. Module

Result:
Smith, Bob Intro Intro2 Voucher Processing Suppliers Asset Mgmt. Module

Actual Data:

Araiza, Jennifer

<tbody>
</tbody>
AM Processor

<tbody>
</tbody>
FS101

<tbody>
</tbody>
FS102AM101AM112
Araiza, Jennifer

<tbody>
</tbody>
AM Manager

<tbody>
</tbody>
FS101

<tbody>
</tbody>
FS102AM101AM112AM122
Araiza, Jennifer

<tbody>
</tbody>
AM Approver

<tbody>
</tbody>
FS101

<tbody>
</tbody>
FS102AM101AM122AM132
Araiza, Jennifer

<tbody>
</tbody>
AM Maintainer

<tbody>
</tbody>
FS101

<tbody>
</tbody>
FS102AM101AM112AM142
Araiza, Jennifer

<tbody>
</tbody>
AM Confidential User

<tbody>
</tbody>
FS101FS102AM101AM112
RESULT
Araiza, Jennifer

<tbody>
</tbody>
FS101FS102AM101AM112AM122AM132AM142

<tbody>
</tbody>


Note: Their roles do not need to be maintained. I just care about the classes. Also, the information is on the first three sheets. I was trying to figure out how to do it myself but couldn't.


Any assistance is appreciated!

Thanks,
Anthony Smith
 
Last edited:

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,216,203
Messages
6,129,490
Members
449,512
Latest member
Wabd

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