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

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
Dual Super User
Dual Super User

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

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
Dual Super User
Dual Super User

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

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

Super User
Super User

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

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

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

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?

Dual Super User
Dual Super User

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

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

CjohnsonNY
Level: Powered On

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

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?

Highlighted
Dual Super User
Dual Super User

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

@CjohnsonNY 

 

A screenshot of the issue would help

CjohnsonNY
Level: Powered On

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

Capture.JPG

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,215)