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 / New User - Trying to b...
Power Automate
Answered

New User - Trying to build flow that filters excel sheet

(0) ShareShare
ReportReport
Posted on by 4

Hi All - please forgive my lack of knowledge, this is all new to me. I've been spinning my wheels for a while and am looking for a nudge in the right direction. Any input would be greatly appreciated.

What would be the best approach for the following? I'm trying to take an excel sheet / table and return the full row of data if the following criteria is met, 1) Last Name does not equal Smith and 2) One or more of the Gender, Age & Address fields are blank. So in this example, Paul Adams row would be the only row to be returned (and ultimately formatted in HTML table and sent via email).  

I've tried a few different approaches without any luck (likely due to my lack of experience/knowledge of power automate). How would you set this up if you were trying to accomplish the same end goal?

First NameLast NameGenderAgeAddress

Paul

Adams 12 
James

Smith

M 1 Main Street
JamieCollinsF312 Main Street
Categories:
I have the same question (0)
  • ThanksInAdvance Profile Picture
    4 on at

    bump!

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @ThanksInAdvance ,

     

    Since you have spaces in those column names, Filter query is not available. So, you need to use Filter array action instead. For the List rows action, you need to open settings and turn on pagination:

    vjefferni_0-1718074204669.png

     

     In Filter array action, apply multiple conditions to get the records you want:

    @and(not(equals(item()?['Last Name'], 'Smith')), or(empty(item()?['Gender']),empty(item()?['Age']),empty(item()?['Address'])))

    vjefferni_1-1718075143147.png

     

    Best regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard