Transposing spreadsheet data to two columns of data

gfcashmo

New Member
Joined
Apr 1, 2025
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I am goign to provide screenshots but i'm trying to convert a group of data in a spreadsheet to two rows of data. See below and screenshots of samples

I need to do this to get the format below for using postman to push data to an application
Any help anyone can give would be awesome and I thank you.


Spreadsheet data

Person group 1 group 2 group 3 group 4
Sam mgr worker
steve mgr supervisor tender maint
paul supervisor team lead trainer


I want to transpose this to:

sam mgr
sam worker
steve mgr
steve supervisor
steve tender
steve main
paul supervisor
paul team lead
paul trainer
 

Attachments

  • Original Table.jpg
    Original Table.jpg
    135.8 KB · Views: 11
  • TwoColumnsTranslation.jpg
    TwoColumnsTranslation.jpg
    68.1 KB · Views: 10
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Want to convert data in spreadsheet to two columns of data
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
How about
Excel Formula:
=LET(d,D2:H1000,HSTACK(TOCOL(IF(d<>"",A2:A1000,1/0),2),TOCOL(d,1)))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

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