Skip to main content

Notifications

Power Automate - Building Flows
Answered

put multiple answers into specific columns in Excel

(0) ShareShare
ReportReport
Posted on by 252

Hi

 

I have a Forms with multiple choices answers in one question.  I have a flow that takes the responces and put them in a Excel table.  What I would like is to have on the multiple choice question, is that if the submission is option 1, then the flow would put an 'X' in Option 1 column in the excel table.  I would like the same for option 2 and option 3.   The form allows multiple options to be selected so if option 1 and 2 are selected then an 'X' is placed in these two columns.

 

 

  • Skybluekid Profile Picture
    Skybluekid 252 on at
    Re: put multiple answers into specific columns in Excel

    Thank you @v-wenjuan-msft 

  • Verified answer
    Re: put multiple answers into specific columns in Excel

    Hi @Skybluekid ,

     

    Refer to below process:

    vwenjuanmsft_0-1686045304122.png

    vwenjuanmsft_1-1686045382327.png

     

    Here are expressions I used:

     

    slice(outputs('Get_response_details')?['body/changetoyourID'],1,-1)
    split(outputs('Compose'),',')
    Slice(item(),1,-1)

     

    Add more case in switch for more options.

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard