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

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.
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,223,322
Messages
6,171,446
Members
452,404
Latest member
vivek562

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