Power Query? Changing Format of Table

Gwill1983

Board Regular
Joined
Oct 24, 2018
Messages
123
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am trying to find a way to change my table from this:

Employee Name01 Jan (Mon)02 Jan (Tue)03 Jan (Wed)04 Jan (Thu)05 Jan (Fri)06 Jan (Sat)07 Jan (Sun)
Joe BloggsStatutory Holidays - New Years DayWeekendWeekend
Dave SmithStatutory Holidays - New Years DayWeekendWeekendWeekend
Kelly JonesStatutory Holidays - New Years DayWeekendWeekend

To this:

DateJoe BloggsDave SmithKelly Jones
01/01/2024​
Statutory Holidays - New Years DayStatutory Holidays - New Years DayStatutory Holidays - New Years Day
02/01/2024​
03/01/2024​
04/01/2024​
Weekend
05/01/2024​
06/01/2024​
WeekendWeekendWeekend
07/01/2024​
WeekendWeekendWeekend


I have tried to use the transpose option within power query, but this does not pull through the heading (date) into the first column so I end up with something like this:

Joe BloggsDave SmithKelly Jones
Statutory Holidays - New Years DayStatutory Holidays - New Years DayStatutory Holidays - New Years Day
Weekend
WeekendWeekendWeekend
WeekendWeekendWeekend



Its beginning to drive me crazy, so any help to solve this would be amazing!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Choose to 'use headers as first row' first, then transpose, then put the headers back. You'll probably want to rename the first column.
 
Upvote 0
Solution
Glad we could help. :)
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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