Announcements
I'm brand new to this, I'm looking to help create a solution that would quickly compare a list of numbers and highlight any numbers that are outside of (+ X, -X) which would need to be adjusted for each list. I know there are simple formulas in excel but would like to couple this with other tools in power apps. Any suggestions on where to start?
On button's OnSelect property you can use (minCount and maxCount are minimum and maximum allowable limit)
If(Value(TextInput1.Text) > maxCount || Value(TextInput1.Text) < minCount, Notify("The number is not in the range"), SubmitForm(Form1))
hi @Anonymous in addition to the solution given by @NandiniBhagya20 please find the following:
Power Fx (the language you code in power apps) have a full set of operators and identifiers and can be found at Operators and Identifiers in Microsoft Power Fx - Power Platform | Microsoft Docs
Consider the following:
You have a list with numbers, let's call the list a SharePoint List myList and this list has a column evalNumber.
Steps to highlight numbers outside of range.
Result
Code in example:
Gallery Items =
AddColumns( ForAll( Sequence(5), { evalNumber: RandBetween( -10, 10 ) } ), "Is in Range", And( evalNumber < Value(txtUpperLimit.Text), evalNumber > Value(txtLowerLimit.Text) ) )
Hope it helps,
R
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 421 Most Valuable Professional
11manish 153 Super User 2026 Season 2
MS.Ragavendar 116 Super User 2026 Season 2