Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Adding multiple rows to an Excel table from single Microsoft Form

(1) ShareShare
ReportReport
Posted on by

I have a basic Microsoft Form (as shown) with the fields Date / Time 1 & Fatigue Level 1 / Time 2 & Fatigue Level 2.Form.PNG

 

I am able to get the data to flow into an Excel spreadsheet to look like this:

 

DateTime 1Fatigue Level 1Time 2Fatigue Level 2
01/03/220545z31000z2

 

But I actually want the data to flow to Excel with the each Time/Fatigue Level pairing being in a new row (WITH the date included each time). So, for example, taking the data from the table above I actually want it to flow to Excel as follows:

 

DateTimeFatigue Level
01/03/220545z3
01/03/221000z2

 

However, I only want it to create a second row IF there is data in the Time 2/Fatigue Level 2 fields.

Sorry, I am booking myself onto training to get more comfortable with Power Automate, but this is an urgent task I need fixed.

Thanks,

LJ

  • LJPiro Profile Picture
    on at
    Re: Adding multiple rows to an Excel table from single Microsoft Form

    Thanks Charlie,

     

    I was definitely having a chemotherapy-brain day! Will avoid Power Automate on those days in the future.

     

    Managed to use your solution and then added in conditions to do more with it.

     

    Thanks so much.

     

    Lorna

  • Verified answer
    v-yujincui-msft Profile Picture
    on at
    Re: Adding multiple rows to an Excel table from single Microsoft Form

    Hi @LJPiro ,

     

    I have made a test for your reference.

    1. Here is my Form.

     

    vyujincuimsft_0-1646386599578.png

    2. Here is my excel table.

    vyujincuimsft_1-1646386705730.png

    3. Create a Flow.

    formatDateTime(outputs('Get_response_details')?['body/rceaf70616ecb40239cedb6fee2ad844e'],'dd/MM/yy')

    vyujincuimsft_2-1646386987182.png

    vyujincuimsft_3-1646387013059.png

     

    Best Regards,

    Charlie Choi

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492