Share via

Separating responses from multiple response survey into separate columns

Anonymous
2024-03-28T08:45:38+00:00

Hi Everyone,

I have answers from a survey that has a new question each week. Customers can choose to answer each week or skip a week. The issue is that the system that provides the data provides it in the below format. So I can't easily tell where the drop off is coming from. How Can I create a data table that shows "Pascale's" answers for each week and notes weeks where they did not answer, in the example below you will see the person did not answer week 5, however they answered in week 6 again.

Microsoft 365 and Office | Excel | For education | 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

Answer accepted by question author

Anonymous
2024-03-28T12:05:32+00:00

You may try Power Query.
Image

let

Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], 

#"Changed Type" = Table.TransformColumnTypes(Source,{{"Week", type text}, {"Answer", type text}, {"Date", type datetime}, {"Member Name", type text}, {" Member Surname", type text}, {" Mobile Number", Int64.Type}, {" AccountID", Int64.Type}}), 

#"Removed Columns" = Table.RemoveColumns(#"Changed Type",{"Date"}), 

#"Pivoted Column" = Table.Pivot(#"Removed Columns", List.Distinct(#"Removed Columns"[Week]), "Week", "Answer") 

in

#"Pivoted Column"

Here is steps.

  1. Remove date column
  2. Select Week column>Povit Column>

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-03-28T10:35:05+00:00

    Sure no problem.

    Here is thelink

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-03-28T10:16:13+00:00

    Could you share us a test file with some dummy data in it? Then I will try Excel function on it and send back to you.

    For sharing a sample workbook, upload to OneDrive or any other cloud drives. Then post a link here.

    Why a sample file is important for troubleshooting. How to do it. - Microsoft Community

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-03-28T09:58:29+00:00

    Hi There

    Please see below

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-03-28T09:41:36+00:00

    Could you share us an expected result? Then I will have a try.

    It seems could be done with macro.

    Was this answer helpful?

    0 comments No comments