cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Anonymous
Not applicable

This is my excel-table

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

v-yuazh-msft
Community Support
Community Support

Hi @Anonymous,

 

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

Hello, @Anonymous!

 

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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Anonymous
Not applicable

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

Anonymous
Not applicable

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

Anonymous
Not applicable

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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (62,852)