Share via

Merging multiple columns from one tab into a single column on another tab

Anonymous
2022-12-19T21:49:06+00:00

I have a Microsoft Form that asks a person what airline they took and how much the ticket cost. They have the option to submit 3 arline tickets. The outcome ends up like the below table.

Employee Airline Cost Airline2 Cost2 Airline3 Cost3
Cody Delta 230 American 180
Kim Southwest 160 American 280 Delta 430

I am trying to merge the form answers into a 3 colums to make it look like the following using a formula:

Employee Airline Cost
Cody Delta 230
Cody American 180
Kim Southwest 160
Kim American 280
Kim Delta 430

I have tried using INDEX, CONCAT, TOCOL, and I have yet to figure out a solution that will work. I know that I could make the form where the employee can only enter one arline per form but I am trying to make it where they only have to complete the form once per trip. Thank you for all the assistance!

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2022-12-20T00:24:36+00:00

    you may try this

    online tool

    select * from basicUnstackToOneDim limit 3;cli_unstack~basicUnstackToOneDim~Airline,Cost;select * from basicUnstackToOneDim_unstack;

    Employee Airline1 Cost1 Airline2 Cost2 Airline3 Cost3
    Cody Delta 230 American 180
    Kim Southwest 160 American 280 Delta 430
    Employee Airline Cost 上层属性
    Cody American 180 2
    Cody Delta 230 1
    Kim American 280 2
    Kim Delta 430 3
    Kim Southwest 160 1
    0 comments No comments
  2. Ashish Mathur 101.8K Reputation points Volunteer Moderator
    2022-12-19T23:58:06+00:00

    Hi,

    You may download my PBI file from here.

    Hope this helps.

    Image

    0 comments No comments