Convert Columns to Rows in Excel using Power Query. Convert Wide Data to Long Format in Excel with Power Query. This is when you have multiple columns in a wide spreadsheet like the min, mid, and max of a salary range across columns, and we need to transform that into a long version that has the three salary zones listed down on multiple rows instead. You may need this for analysis or a database upload format. Now, even if you don't know Power Query, don't worry this is very easy and I'm going to show you how this can be done quickly without copying formulas or trying to manually transpose the spreadsheet.
Converting data from a "wide" format (multiple columns representing different attributes of the same data point, like the minimum, midpoint, and maximum of a single salary range) to a "long" format (fewer columns with more rows, where each row represents a single attribute and its corresponding value, like the three salary zones of a range listed down instead of across) is often necessary for data analysis and reporting, or for formatting for database uploads.
In this tutorial, I’ll show you how to reshape your data using Power Query by unpivoting columns into a clean row-based format. We’ll walk through a real-world HR use case using a salary grade table with Min, Mid, and Max values—perfect for analysis, pivot tables, or database uploads. Great for Excel users in HR, analytics, or anyone working with structured data.
TIMESTAMPS
00:00 Convert Columns to Rows with Power Query
00:38 Database Upload Format
01:10 Move & Copy Spreadsheet
01:25 How to Transform Data in Power Query Editor by using Unpivot and Adding Additional Columns
03:48 Close & Load Data to Excel
WATCH NEXT Compare Data in Excel: https://youtu.be/I6DWQjNdcHU
CHANNEL LINK
https://www.youtube.com/@SharonSmith
Visit my Channel page on YouTube to see all my videos, playlists, community posts and more!
TEMPLATES
Check out my helpful list of templates available for purchase: https://creatoriq.cc/43c51cv
Thank you for supporting my channel!
FREE COURSE: How To Create Fillable Forms in Microsoft Word - A Step-by-Step Guide
Create Fillable Forms, Surveys & Questionnaires in Microsoft Word like a Pro!
https://youtu.be/438pCPCSuG4
FREE DOWNLOADS
Visit https://mailchi.mp/6a0859ea0844/sharonsmithhrformulasdownload to sign-up for my e-mail list and get FREE downloads of super helpful spreadsheet formulas, dashboards and Org Chart templates for HR professionals.
CONNECT WITH ME
Visit my website: https://www.sharonsmithhr.com for more information, tools and resources.
LinkedIn: https://www.linkedin.com/in/sharonsmithhr
Twitter: https://twitter.com/SharonSmithHR
Instagram: https://www.instagram.com/sharonsmithlearning/
Facebook: https://www.facebook.com/SharonSmithLearning
GEAR
Blue Yeti USB Microphone: https://amzn.to/2W4SbzV (Great for recording professional sounding audio for your videos!)
Silent Mouse: https://amzn.to/3pxpc25 (This is a really cool mouse!)
Screen Recording Software: https://techsmith.z6rjha.net/NZG5b
Green Screen: https://amzn.to/2DnHsY2
Camera: https://amzn.to/39KvpQA
Live Stream Tool: https://amzn.to/2VFJyID (Turns your DSLR into a top notch webcam)
RESOURCES
JotForm: https://www.jotform.com/pricing/?utm_source=sharon-smith&utm_campaign=jf1&utm_medium=blog
TechSmith Camtasia Screen Recording: https://techsmith.z6rjha.net/SharonSmithHR
Links included here are affiliate links. If you click on these links and make a purchase, I may earn a small commission at no additional cost to you. Thanks for supporting this channel!
SUPPORT THIS CHANNEL
- Hit the "$Thanks" button on any video, or
- Donate through my PayPal link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AJJ6SXERNDMYA&source=url
If you found this content helpful, please consider donating to my channel. Your donation, no matter what amount, is greatly appreciated and goes towards producing more content that enhances your productivity and elevates your skills.
You can also support my channel just by watching, liking, and sharing all my videos! Thank you so much!
PLAYLISTS
Jotform Tutorials: https://www.youtube.com/playlist?list=PLb80efKTbWuO84pPbnHdTdgurmxHgZcyD
Create A Letterhead in Word: https://www.youtube.com/playlist?list=PLb80efKTbWuO0RyeiYB0fEb55601yL4OT
Creating Fillable Forms: https://www.youtube.com/watch?v=YktZ3B-tyqs&list=PLb80efKTbWuOe1LfFMNExEabkRkB5ehcv
PowerPoint Tutorials: https://www.youtube.com/playlist?list=PLb80efKTbWuMcFRbsZO5wkXgYjBG4meRM
Excel Tutorials: https://www.youtube.com/playlist?list=PLb80efKTbWuNjHDGgNeuGrGwOvh4JQC90
Excel Tips & Tricks: https://www.youtube.com/playlist?list=PLb80efKTbWuPI7fEWtroXHvJHhx5FnVMW
Word Tutorials: https://www.youtube.com/playlist?list=PLb80efKTbWuMotoYEXBFMlB3PtsBlFn45