Power Query? Changing Format of Table

Gwill1983

Board Regular
Joined
Oct 24, 2018
Messages
124
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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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