Transform a table: pivot vs transpose & repeated cells in rows

KLolli

New Member
Joined
Jul 29, 2017
Messages
6
Hello everyone,

I have a table with thousands of dates and I want to transpose it basically, in a way that will avoid having thousand of columns but only the amount linked to the max number of dates associated with a name.

I have table in this format: and I would like to transform it like this:
Name Date Name Date 1 Date 2 Date 3 ... Date n
A 12-02-19 A 12-02-19
B 14-03-20 B 14-03-20
C 22-06-19 C 22-06-19 23-08-20
C 23-08-20 D 01-02-19
D 01-02-19 E 03-05-19 22-07-20 15-04-21
E 03-05-19
E 22-07-20
E 15-04-21

Many thanks for your time and help.

KL.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hello everyone,

I have a table with thousands of dates and I want to transpose it basically, in a way that will avoid having thousand of columns but only the amount linked to the max number of dates associated with a name.

I have table in this format: and I would like to transform it like this:
Name Date Name Date 1 Date 2 Date 3 ... Date n
A 12-02-19 A 12-02-19
B 14-03-20 B 14-03-20
C 22-06-19 C 22-06-19 23-08-20
C 23-08-20 D 01-02-19
D 01-02-19 E 03-05-19 22-07-20 15-04-21
E 03-05-19
E 22-07-20
E 15-04-21

Many thanks for your time and help.

KL.

Apologies, the formatting changed, please see a picture below.
tables.png
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,641
Members
449,325
Latest member
Hardey6ix

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