cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Juanfran
Level: Powered On

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
Juanfran
Level: Powered On

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

 

6 REPLIES 6
Juanfran
Level: Powered On

Re: Date from Excel to SPList

This is my excel-table

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

Community Support Team
Community Support Team

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

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 Flow Community Manager
Juanfran
Level: Powered On

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

Juanfran
Level: Powered On

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

Juanfran
Level: Powered On

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

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 276 members 4,660 guests
Please welcome our newest community members: