cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CjohnsonNY
Regular Visitor

Stuck on getting flow to find todays date in an Excel column and send an email based on that trigger

Hi, any help is appreciated. Iv'e been able to build a flow using the list rows present in a table. Now for each of those I need to automate an email when Column tited " Close" is todays date. Im not sure which expression to use when writing the Condition.  Please advise. Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @CjohnsonNY 

 

In excel create another column with formula

=TEXT(A1,"yyyymmdd")

this will give you your date in the format desired

A1 is the cell reference (this is just an example)

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

7 REPLIES 7
RezaDorrani
Dual Super User II
Dual Super User II

Hi @CjohnsonNY 

 

Date in excel will be transformed to a number in MS Flow when queried (this is by design)

 

In order for you to query, you can format your date field as a number in excel (yyyymmdd) example : 20190909

and then in your Flow, get todays date in above format

formatDateTime(utcNow(),'yyyyMMdd')

and compare

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

ScottShearer
Super User III
Super User III

@CjohnsonNY 

In addition to the solution provided by @RezaDorrani , here is a link to another way of approaching your issue.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Thanks, our date fiels id populated using the excel formula =IF([@Status]="Complete",IF([@Close]<>"",[@Close],NOW()),""). When I change it to a number format is kicks back 43717. Is there a way for flow to query by that or is there another way to reformat?

Hi @CjohnsonNY 

 

In excel create another column with formula

=TEXT(A1,"yyyymmdd")

this will give you your date in the format desired

A1 is the cell reference (this is just an example)

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

This is returning the correct date in the query now but when adding a second condition and testing the Flow it times out at 9 minutes. Any solution to that?

@CjohnsonNY 

 

A screenshot of the issue would help

Capture.JPG

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,784)