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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Import Excel to SP Col...
Power Automate
Suggested Answer

Import Excel to SP Column Data Error

(0) ShareShare
ReportReport
Posted on by 643
For the love of god why is this so hard.
 
I have two date columns that are set to Short Date, I have gone in to text to columns and changed them to DMY format. All fine but when I go to import my excel sheet into Sharepoint it imports this as text format and doesnt recognise it as a date. The sharepoint column is a date column and I dont know why Microsfot cant just make this work...
 
Any help is appreciated.
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    It would be helpful if you show your flow when you post a question, but I think I know what your problem is. To populate a date column, you must format the date as MM/dd/yyyy (as noted in the screen shot of a date field in SharePoint). If you have time turned on, then it needs to be formatted as MM/dd/yyyy hh:mm tt instead.
     
    I don't think it matters, but I don't understand when you say the columns are set to short date. Is this something new Microsoft is introducing? I've been using SharePoint for about 15 years and the only options are date or date & time, and standard and friendly display format, with the display format having no effect on populating the field.
     
  • jamescosten Profile Picture
    643 on at
    Apologies:
     
    My Column is:
     
    My Excel Column is:
     
     
    The flow fails and the details are:
     
     
    You can see the Last serviced date shows the text version of the date "45457".
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    You don't show how the action that is failed is configured, so I don't know if you formatted the date as I said in my original post. However, based on the screen shot of your Excel data, that is not in the required format. In the Excel action, be sure to enable ISO8601 dates in the advanced section. Then I assume in the create item action you're using the formatDateTime action to format the date from Excel as MM/dd/yyyy.
  • jamescosten Profile Picture
    643 on at
    Well the Crate Item is just configured as standard, Ive change nothing for the Create itme and I have the parameters as:
     
     
    So its taking the data from the cell. The cell is configured as a date, the column is set to the date. I cant see anwywhere what I would need to change to get the date format. Both my excel and sharepoint are set to the same format.
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Hopefully someone else will respond as I am not sure how to be clearer, but when you set the date in SharePoint, it MUST be in the MM/dd/yyyy format. Your spreadsheet is showing it is in dd/MM/yyyy format instead, and you are doing no conversion in the action to format it in the correct format. Unless we now have 14 months in a year, your Excel data is in day, month, year format instead of month, day, year.
  • jamescosten Profile Picture
    643 on at
    Your assuming the sharepoint is set to american, which it is not. My regional settings show the date format of the column to be the same as my excel. Unless the system is only showing that format but in the code its always set to american.
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    I am not sure then. Our SharePoint tenant is in the EU and formatting the date as I have mentioned has always worked for me.

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard