Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

# IF formula based on range/array of numbers across columns

Topic Labels: Formulas
Solved
Jump to Solution
153 1
cancel
Showing results for
Search instead for
Did you mean:
5 - Automation Enthusiast

I have 4 columns in my table, each containing numbers.

In the Formula column called ‘Above Threshold’ I’m trying to create a formula that says if any of the values across the 4 columns is >100 output ‘Above’ and if <=100 output ‘Below’.

So something like this `IF(({Total users (last 30d)},{Total users (prev 30d)},{Total users (last 90d-120d)},{Total users (last 120d-150d)},)>100, "Above", "Below")`

That formula doesn’t work, so is there a way of doing it without using nested IF statements?

1 Solution

Accepted Solutions
5 - Automation Enthusiast

Pretty sure I’ve worked it out by using ‘Max’.

``IF(MAX({Users (last 30d)},{Users (last 30d-60d)},{Users (last 60d-90d)},{Users (last 90d-120d)})>=100, "Above Threshold", "Below Threshold")`````
1 Reply 1
5 - Automation Enthusiast

Pretty sure I’ve worked it out by using ‘Max’.

``IF(MAX({Users (last 30d)},{Users (last 30d-60d)},{Users (last 60d-90d)},{Users (last 90d-120d)})>=100, "Above Threshold", "Below Threshold")`````