Selected Answer
Hi ManZaakes!
You need two separate types of formulas, one to count and one to change the color using conditional formatting.
To count cells that are lower than 30:
=COUNTIFS(A1:A5,"<30")
To count cells that are higher than 30 but lower than 50:
=COUNTIFS(A1:A5,">30",A1:A5,"<50")
To count cells that are higher than 50:
=COUNTIFS(A1:A5,">50")
A1:A5 is the test range for the numbers.
To change the color of the cells, you need to use a custom formula for conditional formatting.
Just use IF statements to check the number range and return true or false.
=IF(A1<30,TRUE,FALSE)
=IF(AND(A1>30,A1<50),TRUE,FALSE)
=IF(A1>50,TRUE,FALSE)
You would need to apply all three formulas to conditional formatting onto the cell that should change color and simply assign a different color for each formula. This means 3 conditional formatting rules per cell.
You can quickly apply the rule to multiple cells using copy/paste or in the window where you manage conditional formatting rules.
Hope this helps!