cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Date from Excel to SPList

 

Hello everyone!

I have searched the forum a lot and tried a lot of things without success (compose, formatDateTime, StartDate...).

I need to import from an excel (Business) date (Eckendtermin) to a SP list. I only have the typical 43203, 43206... numbers.
I don't want to compare it to other dates. Just import it. I show you some pictures of my flow.

Thank you very much in advance

 

1.png

 

 

2.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Date from Excel to SPList

My solution. It's not pretty, but it works.

 

A new list with the date 01.01.1900

chrome_2018-06-28_10-18-31.png

 

Get Element und Variable and Set variable. The variable receives a number of days, 43056 (for example). 

 

chrome_2018-06-28_10-24-05.png

 

 

That number of days minus 2 (I don't know why)

chrome_2018-06-28_10-16-38.png

 

Finally we add the number of days to the date 01.01.1900

chrome_2018-06-28_10-18-07.png

 

 

This works

chrome_2018-06-28_10-33-03.png

 

View solution in original post

6 REPLIES 6
Highlighted
Frequent Visitor

Re: Date from Excel to SPList

This is my excel-table

chrome_2018-06-15_13-33-51.png

Highlighted
Community Support
Community Support

Re: Date from Excel to SPList

Hi @Juanfran,

 

I have made a test on my side and the issue is conformed on my side.

 

The output value of the date would be 43203, 43206 with string type as you said.

 

As an alternative way,you could take a try to save the excel file in your onedrive for business instead of sharepoint to achieve your needs.

 

I have made a test on my side, if you save the excel file in your onedrive for business, the flow would run successfully to insert the item with date to your sharepoint list.

 

The flow as screenshot below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

 

Please let me know if your problem could be solved.

 

Best regards,

Alice

Highlighted
Administrator
Administrator

Re: Date from Excel to SPList

Hello, @Juanfran!

 

Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

 

Thank you for being an active member of the Flow Community!

 

-Gabriel

Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Frequent Visitor

Re: Date from Excel to SPList

Thanks for the answers. I was out of the office all week. Today I'll test if it works

Highlighted
Frequent Visitor

Re: Date from Excel to SPList

Thank you very much for your reply. Unfortunately I am not allowed to use Onedrive in this Flow and it must be imported directly into a SPList

 

Best regards,

Juanfran

Highlighted
Frequent Visitor

Re: Date from Excel to SPList

My solution. It's not pretty, but it works.

 

A new list with the date 01.01.1900

chrome_2018-06-28_10-18-31.png

 

Get Element und Variable and Set variable. The variable receives a number of days, 43056 (for example). 

 

chrome_2018-06-28_10-24-05.png

 

 

That number of days minus 2 (I don't know why)

chrome_2018-06-28_10-16-38.png

 

Finally we add the number of days to the date 01.01.1900

chrome_2018-06-28_10-18-07.png

 

 

This works

chrome_2018-06-28_10-33-03.png

 

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Users online (9,689)