web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adding Day, Month, Yea...
Power Automate
Unanswered

Adding Day, Month, Year from MS form to Excel

(0) ShareShare
ReportReport
Posted on by 7

Is there any way that a date field in MS Forms can be taken into an Excel table, but the date is split into Day, Month, Year columns?

This is part of a larger automation, that I would like to add another step into that populates a shared Excel document.

moragb_0-1705424774792.png  

moragb_1-1705425126486.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
    Re: Adding Day, Month, Year from MS form to Excel

    @moragb 

     

    Manual Trigger

    While you build and test your flow I would recommend using a Manual Trigger. Add the Get Response details action and enter any Response Id that you can use to help build your flow.

    creativeopinion_3-1705426009812.png

     

    Compose the Date

    The Compose actions below are optional. You can insert the expression directly into the Add a Row into a Table action if you prefer. I prefer to use Compose actions so I can run a test and view the outputs. 

     

    Add a Compose action.

    creativeopinion_4-1705426082209.png

    Insert an Expression and use the formatDateTime() function.

     

    creativeopinion_5-1705426093035.png

    Click on the Dynamic content tab and insert the appropriate dynamic content from the Get Response details action. 

     

    creativeopinion_1-1705425962216.png

     

    Add a comma and single quotes. In between the single quotes—enter the date format. To return the full month enter:

    MMMM

     

    creativeopinion_2-1705425990637.png

     

    Copy the expression to your clipboard. Add a Compose action for the Day and Year. 

    creativeopinion_6-1705426146408.png

    Replace the format between the single quotes. To return the numerical day enter:

    dd

    creativeopinion_7-1705426160223.png

    To return the year enter:

    yyyyy

    creativeopinion_9-1705426242519.png

    Run a test. View the outputs to ensure the expressions are correct.

    creativeopinion_10-1705426271716.png

    Group your Actions

    Add a Scope action to your flow. I like using Scope actions in my flow to group actions together to keep my flow organized.

     

    Add as many as you need in your flow.

    creativeopinion_11-1705426295475.png

     

    Add Row into a Table

    Insert the output from the Compose actions into the appropriate fields.

    creativeopinion_12-1705426421967.png

    You might also be interested in a new YT Tutorial I recently uploaded: How to Get a Microsoft Form RSVP Response into a SharePoint List

     

    I cover the following in this video tutorial:

    ✅ How to get a Microsoft Form Response into SharePoint

    ✅ How to get a Microsoft Form ID

    ✅ How to get a Microsoft Form response

    ✅ How to Build a Microsoft Form with Conditional Fields

    ✅ How to used Branching in Microsoft Forms

    ✅ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column

    ✅ How to parse a Microsoft Form multiple choice response as string of text

    ✅ How to convert a text response to a number

    ✅ How to use the Switch action

    ✅ How to create a custom email confirmation for a Microsoft Form submission

    ✅ How to Create a Custom View in a SharePoint list

    ✅ How to use the Compose Action

    ✅ How to write Power Automate Expressions

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response! 

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

     

  • MoragB1495 Profile Picture
    30 on at
    Re: Adding Day, Month, Year from MS form to Excel

    Wish I could love this answer. Very simple, easy to understand and follow. Wonderful - worked perfectly. thank you

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard