RGBY Ball and Date Formula
Hello,
I am trying to write a formula that can work out the following
RED - if the start date has past and the complete % is 0
BLUE - if the start date is in the future and the complete % is 0
YELLOW - if complete % is 1-99
GREEN - if complete % is 100
Answers
-
IF formulas are the way to go. They always go from left to right and stop on the first true answer.
Try:
IF([Complete %]@row = 1, "Green", IF(AND([Start Date]@row < Today(), [Complete %]@row = 0), "Red", IF(AND([Start Date]@row >= Today(), [Complete %]@row = 0), "Blue", "Yellow")))
Let me know if you have any issues.
-
Hi Mike,
I receive #unparseable when I added the formula to a cell
-
Hi Aimee,
Mike will likely say the same thing... but check your column names to what's written in the formula - they will need to be exact matches:
- Complete %
- Start Date
If this doesn't help, could you post a screen capture of your sheet/column names? (Please remove any sensitive data) And the formula as you pasted it into your sheet?
Thanks!
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Yep. Always use the exact column names as they are in your headers. Screenshots of your formula and the header rows will help.
-
What are your header names for the start date and complete % columns?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!