Need help transposing groups of data within a column that have spaces between them

shukero

Board Regular
Joined
Dec 3, 2015
Messages
64
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a VERY LARGE dataset in excel (about 2000 cells long) where I need to transpose some data from a column to a individual cells in the same row.

Backstory: I have extracted user data from a 3rd party tool which shows the user in one column, and then the "groups" they belong to in the next column. (See screenshot #1 below) Due to the fact that the number of groups an individual user belongs to may be completely different from one to the next, and all users / groups are separated via a space makes it hard for me to think of a way to "transpose" the user groups.

I'm trying to get these user groups within the same row as the username but in separate cells to the right of the username, and preferably in alphabetical order if possible. (See screenshot #2)

Is there a simple way to do this?

Thanks,
Mike
 

Attachments

  • Screenshot #1 (currently looks like this).jpg
    Screenshot #1 (currently looks like this).jpg
    39.3 KB · Views: 15
  • Screenshot #2 (How I want it to look).jpg
    Screenshot #2 (How I want it to look).jpg
    32.7 KB · Views: 25

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
What version of excel do you have? And can you post a mini sample of the worksheet(s) using the xl2bb add in? (or aleast a table version, we can't do much with images.)
 
Upvote 0
Hi Awoohaw,

I'm using the latest version of excel within the "office365" package. Unfortunately I can't install the plugin as my excel is on a work laptop which doesn't allow additional plugins or programs to be installed on it.
 
Upvote 0
I'm using the latest version of excel within the "office365"

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Hi Awoohaw,

I'm using the latest version of excel within the "office365" package. Unfortunately I can't install the plugin as my excel is on a work laptop which doesn't allow additional plugins or programs to be installed on it.
can you copy and paste the worksheet as values in a table then?
 
Upvote 0
Sure; here you go:

The way it is:
Users:User groups
user #1Group #1
Group #5
Group #2
Group #10
Group #6
user #2Group #3
Group #1
Group #2
user #3Group #5
Group #11
Group #7
Group#4
user #4Group #2

The way I want it:
Users:User groups
user #1Group #1Group #2Group #5Group #6Group #10
user #2Group #1Group #2Group #3
user #3Group #4Group #5Group #7Group #11
user #4Group #2

Just as an FYI - it looks like the table "minimizes" the spaces between the datasets.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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