Transform data - Is it transpose??

keiranwyllie

New Member
Joined
May 12, 2017
Messages
47
Hi everyone, hoping someone can provide some guidance.

Essentially I have rows of data that contain dates of various course completions against staff (one staff member per row). I want to transform that data into columns but transpose doesn't seem to be the most appropriate way I can do this. I've looked at power query too and can't really reach my end state.

Below is an example of the original data and then the way I need it to look. You can see that I need to fill the IDs and Names down the column provided the Cse/Dates are associated with that staff member.

Any help is greatly appreciated.

SurnameFirstIDPhoneCompanyCse 1Cse 2Cse 3Cse 4Cse 5
BloggsJoe12345111222A11/07/202112/03/20211/04/202129/07/20218/02/2021
SmithBob12435112233A128/02/20213/03/202120/05/202116/02/202130/06/2021


IDNameCse NameDate
12345Bloggs,JoeCse 11/07/2021
12345Bloggs,JoeCse 212/03/2021
12345Bloggs,JoeCse 31/04/2021
12345Bloggs,JoeCse 429/07/2021
12345Bloggs,JoeCse 58/02/2021
12435Smith,BobCse 128/02/2021
12435Smith,BobCse 23/03/2021
12435Smith,BobCse 320/05/2021
12435Smith,BobCse 416/02/2021
12435Smith,BobCse 530/06/2021
 
Thanks for the update and definitely let me know.
Also let me know if you want any of it explained.
As a quick follow-up, this worked perfectly. I was able to implement this into my live document with minimal changes and I have the outcome I'm after.

Once again, thanks heaps for your expertise.
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,214,907
Messages
6,122,183
Members
449,071
Latest member
cdnMech

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