Transpose 2 column in one column

Shambhu Rai 1,411 Reputation points
2022-08-08T19:03:05.903+00:00

Hi Expert,

i wanted to convert 2 columns in one row as below in excel sheet

229254-image.png

Expected output

229293-image.png

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

Answer accepted by question author
  1. Emi Zhang-MSFT 30,126 Reputation points Microsoft External Staff
    2022-08-09T06:33:05.367+00:00

    Hi @Shambhu Rai ,
    You can use Power Query to get the result you need:

    1. Select the Range and go to Data- From Table/Range
      229409-image.png
    2. Open Power Query editor- Select Column b and Column c- go to Transform tab- selet Unpivot Columns:
      229389-image.png
    3. Go to Home- select Colose & Load:
      229423-image.png
      229433-image.png

    Hope it's helpful.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Shambhu Rai 1,411 Reputation points
    2022-08-09T01:49:41.93+00:00

    Any suggestions

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.