Skip to main content
Solved

IF formula based on range/array of numbers across columns

  • October 20, 2022
  • 1 reply
  • 27 views

Forum|alt.badge.img+5

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?

Best answer by Jon_Wright

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

Forum|alt.badge.img+5
  • Author
  • Inspiring
  • Answer
  • October 20, 2022

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")```