web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "Filter cells in Excel...
Power Automate
Unanswered

"Filter cells in Excel worksheet" action changes string to numbers.

(0) ShareShare
ReportReport
Posted on by 39

I am using the filter cells action in PAD, and I have a table in an excel file with a column containing the dates of requests sent to my team. I need to filter for a month, and when I do so in excel, if I hover over the filter it says for example:

Equals "January 2024"

But when I have a variable equaling "January 2024" in PAD and try to use it as a filter as such:

awaples_1-1718294961793.png

The excel table filter ends up saying:

Equals "45292"

 What am I doing wrong here, and why is it turning my string into some numbers in the filter?

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Excel recognizes dates as a five digit number. Is the variable you are using a date type variable or a text type variable. 

    if it is a date type variable, us “convert datetime to text” to make it a text variable and try again with that one. 

  • awaples Profile Picture
    39 on at

    It is a text variable. I've found that by using the simple editor for the filter menu, I can use the filter "(Eq %monthfilter%)", which upon running the flow seems to properly give text to the table filter in excel (see below)

    awaples_0-1718311556655.png

    The thing is, it still doesn't work! If I click the filter menu, it shows it as completely empty!

    awaples_1-1718311643837.png

    If I then select January, it works perfectly fine but hovering still gives the same result

    awaples_2-1718311686292.png

    I feel like I'm losing my mind here.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    So the date pickers on this filter are difficult.  Do you have any leniency on messing with the worksheet itself?

     

    Example:

    You could add a new column to the right, have a cell above that represents the year/month you want to search for, write the year/month into row 1, such as 01/01/2024.  In the rows below, have a formula that says if the Month()_Year() of the Submission time = the Month()_Year() of the input cell, true, false.  Then you could filter that column for True.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard