Harvey Ball Status between % numbers
I want to use the Harvey Balls to flag a status as follows:
70% or less = RED
greater that 70% and less than 100% = YELLOW
100% = Green
what I've written:
=IF([% Complete]@row < 0.7, "Red", IF(AND([% Complete]@row > 0.7, IF([% Complete]@row < 1, "Yellow", "Green"))))
I get INCORRECT ARUGMENT SET error on this. If i remove the AND and last IF:
=IF([% Complete]@row < 0.7, "Red", IF([% Complete]@row > 0.7, "Yellow"))
this will work but it doesnt address the between 7099% (less than 100) condition
Having trouble incorporating that 'and' statement to get that middel "Yellow" condition.
thank you!
Best Answer

Hi Rick,
I'd be inclined to simplify it somewhat, without the need for the AND() function at all, by addressing the extremes of [% Complete] (i.e. when it = 1.0, or is < 0.7), then leaving the middle state as the last 'catchall' alternative. Try:
=IF([% Complete]@row = 1, "Green", IF([% Complete]@row < 0.7), "Red", "Yellow"))
Answers

Thanks i fixed it:
=IF([% Complete]@row < 0.7, "Red", IF(AND([% Complete]@row > 0.7, [% Complete]@row < 1), "Yellow", "Green"))
I still have trouble knowing where to put the parens....

Hi Rick,
I'd be inclined to simplify it somewhat, without the need for the AND() function at all, by addressing the extremes of [% Complete] (i.e. when it = 1.0, or is < 0.7), then leaving the middle state as the last 'catchall' alternative. Try:
=IF([% Complete]@row = 1, "Green", IF([% Complete]@row < 0.7), "Red", "Yellow"))
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.7K Get Help
 63 Global Discussions
 68 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 55 Brandfolder
 125 Just for fun
 50 Community Job Board
 464 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!