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

Get a Single Excel Row Based on Date

I'm using Excel Online (business), (I can't use OneDrive), and I have a table where each date can only have one single entry, so I figured I could grab a single row based on the date, but for whatever reason it's not that simple. When use "Get a Row" and enter date as the key column, and today's date as the key value it tells me that it's not a valid row ID. Is there anyway that I can actually make use of "Get a Row?" Or is it a waste of time?  

5 REPLIES 5
Super User
Super User

Re: Get a Single Excel Row Based on Date

Hi @Anonymous , thank you for your post.

Please post some images of your Flow etc and we will try and recreate this issue then advise from there.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


v-zhos-msft Solution Sage
Solution Sage

Re: Get a Single Excel Row Based on Date

Hi @Anonymous ,

The 'Get a row' action is to get a specific row.

So you need use the 'Key column' and 'Key value' to get the specific row.

For example, you want to get the second row below:

Capture2.PNGCapture3.PNG

Best Regards,

Community Support Team _ Zhongys

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

Anonymous
Not applicable

Re: Get a Single Excel Row Based on Date

I'm using list rows with a filter, because using the method you described, but having "date" as my key column doesn't work. Even when I put in the correct integer value for date that excel converts it to.

Thanks for the responses though

 

v-zhos-msft Solution Sage
Solution Sage

Re: Get a Single Excel Row Based on Date

Hi @Anonymous ,

Could you please share a screenshot of your flow's configuration and the excel table?

I am afraid I need more details to analysis for you.

Best Regards,

Community Support Team _ Zhongys

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

PaulBrown
Frequent Visitor

Re: Get a Single Excel Row Based on Date

I am having a similar problem to the OP.

 

I want to update a Row using a date as the Key Value. There date column is the only one with unique data. 

dates excel table.PNG

Lets say i have to get row on 26/11/2019
get row date flow.PNG

No matter what I use as Key Value I get errors. I understand that Excel handles dates as an INT and that is where my problem is. How do i convert a Date back to its serial equivalent? 
The only other solution I could think of would be to get table and then filter for date, but then I would have to add more steps in the flow than is necessary. 

 

Thanks for your help in advance!

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: 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!

sixthImage

Community Summit North America

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

Top Solution Authors
Users online (7,714)