cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Reo
Level: Power Up

Insert Row with Date Format from Excel OneDrive to SharePoint List

 

Hi All,

 

I am trying to import from all values from a Excel file to a SharePoint List.

So I have created a flow as belows.

 

Step1. When a file created 

Step2. List rows present in a table

Step3. Create Item(SharePoint)

 

 

One of the values should be created with Date Format, so I have tried to push

the specific value with "FormatDateTime" formula at Step3. But it fails due to convert error.

 

Much appreciated if you could show me how to import date value from Excel Online to Share Point List..

 

 

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Insert Row with Date Format from Excel OneDrive to SharePoint List

Hi @Reo,

 

Could you please share full screenshot of the configuration of your flow and error message?

 

Could you provide details about your Excel file, especially "One of the values should be created with Date Format"?

 

I have made a test on my side as you said and the flow works well as expected.

 

I am afraid that the data format of your Date column needs to be text format.

 

Because the data in Date format in Excel is stored in the digital, when you use the Value of Date in Flow, you get a number. For example, the value stored in the Excel table with the Date "4/8/2018" is 43316.

 

So when you want to use the FormatDateTime function for type conversion, the error message will display "String was not recognized as a valid DateTime".

 

You could select a blank column in EXCEL, set it to Text format, and then populate the date format data, as below:

 

excel.PNG

 

Image reference:

 

8-26-1-flow.PNG

 

The flow works successfully as below:

 

8-24-1-run.PNG

 

Please take a try and let me know if issue still exists.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,860)