I have four cells that require approval, I want to create a formula
I have four cells that require approval, I want to create a formula that says if all four cells are blank then the cell for approval status is red. If all four cells are not blank then "Green" for approved.
I am a novice user and any help would be greatly appreciated.
Thanks,
Best Answer
-
Please see below screenshot for the formula
=IF(AND([Column1]@row = "", [Column2]@row = "", [Column3]@row = "",[Column4]@row = ""), "Red", IF(AND(NOT(ISBLANK([Column1]@row)), NOT(ISBLANK([Column2]@row)), NOT(ISBLANK([Column3]@row)), NOT(ISBLANK([Column4]@row))), "Green"))
Answers
-
Hi @Suzymae
You can use nested IF with AND function:
=IF(AND([Column1]@row = "", [Column2]@row = "", [Column3]@row = "",[Column4]@row = ""), "Red", IF(AND(NOT(ISBLANK([Column1]@row)), NOT(ISBLANK([Column2]@row,, NOT(ISBLANK([Column3]@row,, NOT(ISBLANK([Column4]@row))), "Green"))
-
Hi Christina that worked when I removed the extra commas, but when I put something in the cells it gives me an error message
-
The error says#incorrect argument set
-
Sorry, my mistake, I meant to put )), but put a ,
=IF(AND([Column1]@row = "", [Column2]@row = "", [Column3]@row = "",[Column4]@row = ""), "Red", IF(AND(NOT(ISBLANK([Column1]@row)), NOT(ISBLANK([Column2]@row)), NOT(ISBLANK([Column3]@row)), NOT(ISBLANK([Column4]@row))), "Green"))
Do you mind screenshot the error message and the formula?
-
=IF(AND(Safety@row = "", SCM@row = "", [ECS Director]@row = "", [Operations Director]@row = ""), "Red", IF(AND(NOT(ISBLANK(Safety@row)), NOT(ISBLANK(SCM@row, NOT(ISBLANK([ECS Director]@row, NOT(ISBLANK([Operations Director]@row))), "Green"))))))
-
Please see below screenshot for the formula
=IF(AND([Column1]@row = "", [Column2]@row = "", [Column3]@row = "",[Column4]@row = ""), "Red", IF(AND(NOT(ISBLANK([Column1]@row)), NOT(ISBLANK([Column2]@row)), NOT(ISBLANK([Column3]@row)), NOT(ISBLANK([Column4]@row))), "Green"))
-
That works, thank you so much!!!!!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!