Percentages as progress bars
Hi we are using the below formula to calculate a percentage which is then reflected by a progress bar, when the overall percentage is at 49% the progress bar is showing as "full" instead of reflecting the criteria of the formula underneath
=IF([Overall %]@row < 0.25, "Empty", IF(AND([Overall %]@row >= 0.25, [Overall %]@row <= 0.49), "Quarter", IF(AND([Overall %]@row >= 0.5, [Overall %]@row <= 0.74), "Half", IF(AND([Overall %]@row >= 0.75, [Overall %]@row <= 0.99), "Three Quarter", "Full"))))
Best Answer
-
Hi @Jenny B
Looking at the formula, you have a missing area between 49% and 50%
So if you change the criteria from <=0.49 to <0.50
As below that should fix it.
=IF([Overall %]@row < 0.25, "Empty", IF(AND([Overall %]@row >= 0.25, [Overall %]@row < 0.50), "Quarter", IF(AND([Overall %]@row >= 0.5, [Overall %]@row <= 0.74), "Half", IF(AND([Overall %]@row >= 0.75, [Overall %]@row <= 0.99), "Three Quarter", "Full"))))
Hope that helps
Thanks
Paul
Answers
-
Hi @Jenny B
Looking at the formula, you have a missing area between 49% and 50%
So if you change the criteria from <=0.49 to <0.50
As below that should fix it.
=IF([Overall %]@row < 0.25, "Empty", IF(AND([Overall %]@row >= 0.25, [Overall %]@row < 0.50), "Quarter", IF(AND([Overall %]@row >= 0.5, [Overall %]@row <= 0.74), "Half", IF(AND([Overall %]@row >= 0.75, [Overall %]@row <= 0.99), "Three Quarter", "Full"))))
Hope that helps
Thanks
Paul
-
Thanks so much, that has done the trick! :)
Help Article Resources
Categories
Check out the Formula Handbook template!