Transpose data, multiple columns and rows

cubiclefarmer

New Member
Joined
Jan 4, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have a fairly large dataset I need to transpose and I'm not sure how to get the result I want easily. The screenshots below are my example data I'm playing with before I try anything on the real spreadsheet.

The first image is how the data comes to me and the second is how I need it all to end up for all of the categories. I'm a newbie when it comes to VBA or Power Query. Everything I know how to do in excel is self taught so any help is appreciated.
Screenshot 2024-01-04 113741.png


Screenshot 2024-01-04 114321.png


I'm new to this forum so if I need to post somewhere else or didn't tag something right, please let me know.
Thank you!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
If you are able to use Power Query you could just Unpivot other columns (1 click)
 
Upvote 0
If you are able to use Power Query you could just Unpivot other columns (1 click)

Hi JEC,
Thank you for your answer! I am very new with power query. I've got part of the way there now, but I still need all the data in Column C to be new headers in Row 1. I only need each of them once; each way I've been playing with it, power query keeps populating them far too many times. Did I do something wrong or is there another step here?
Screenshot 2024-01-04 130847.png


Thank you!
 
Upvote 0
So I actually stumbled into my answer this afternoon to get the data all transformed properly. Thank you so much!
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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