Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

What expression would I use to filter based on the beginning part of a cell

(1) ShareShare
ReportReport
Posted on by

So I have to collect codes from people, they do not want to give me these codes. It is becoming a problem and there are a lot of them.

THe codes should start with a 02 or 01 (sometimes they accidentally leave off the 0 so starting with 2 or 1 in that rare case)

They will either just put N/A, TBD, or give an incorrect code that starts with 800 (I literally have a not saying dont do that as well IN RED!)
So I want to have a bot go through this list checks the code column for anything that doesnt begin 01, 02, 1, or 2 and sends them an email
But I am not sure what expression that would be

  • Sayan Profile Picture
    Sayan 694 on at
    What expression would I use to filter based on the beginning part of a cell
    Hey can you please share the Workflow as well as attach some screenshots.
  • What expression would I use to filter based on the beginning part of a cell
    Write a function with substring('your text',0,4) to get the first four characters. If this doesn't help then I would need some more information.
     
  • tfairhurst Profile Picture
    tfairhurst 3 on at
    What expression would I use to filter based on the beginning part of a cell
    What table/database are you trying to filter? Not sure how to help otherwise.
  • SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    What expression would I use to filter based on the beginning part of a cell
    Can you include a screenshot please

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard