Include an AND formula with nested ifs rygg balls
So as I've built out this sheet, I don't like that my blank lines are showing as green balls. To expand my formula into grey balls I added:
=IF(Variance@row <= 5000, "Green", IF(Variance@row <= 10000, "Yellow", IF(Variance@row > 10001, "Red", "Grey")))
Because my <=5000 causes there to never be a false/" ", how do I add an AND statement to account for blanks? Every time I try, I get an Incorrect Argument Set error.
Best Answer
-
Try this: This will make the blank rows blank. IF you want it to be Grey, then add Grey inbetween the "".
=IF(ISBLANK(Variance@row), "", IF(Variance@row <= 5000, "Green", IF(Variance@row <= 10000, "Yellow", IF(Variance@row > 10001, "Red", "Grey"))))
Answers
-
Try this: This will make the blank rows blank. IF you want it to be Grey, then add Grey inbetween the "".
=IF(ISBLANK(Variance@row), "", IF(Variance@row <= 5000, "Green", IF(Variance@row <= 10000, "Yellow", IF(Variance@row > 10001, "Red", "Grey"))))
-
Glad i could help you figure it out! Have a great day!
-
Thank you! Just a side note, if you type the word "Grey" it wont work. You have to use the American spelling "Gray".
-
😁Good catch. I always forget which spelling to use (and I am American)! 😫
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!