Why can't I convert this formula into a column formula?
Hello,
I have sunk quite a few hours into trying to figure out why I can't turn the formula below into a column formula. Does anyone wiser than I have any ideas?
=IF([Start Date]2 > TODAY(), "Blue", IF(AND([% Complete]2 < 1, [End Date]2 < TODAY()), "Red", IF(COUNTIFS(CHILDREN(), "Red") > 0, "Yellow", "Green")))
The formula is meant to turn direct a symbol column to Red, Yellow, Green, and Blue symbols. It seems to work fine as a row formula.
Any help would be much appreciated!
Smartbean
Best Answers
-
Hi @Smartbean
Its because your formula contains absolute references (Row 2) column formulas need to be generic.
So the formula would be
=IF([Start Date]@row > TODAY(), "Blue", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(COUNTIFS(CHILDREN(), "Red") > 0, "Yellow", "Green")))
Hope that helps
Thanks
Paul
-
Hi! I believe it's your cell references. Instead of referencing a specific row 2, use @row.
=IF([Start Date]@row > TODAY(), "Blue", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(COUNTIFS(CHILDREN(), "Red") > 0, "Yellow", "Green")))
You should then be able to convert formula to column.
-K.
Answers
-
Hi @Smartbean
Its because your formula contains absolute references (Row 2) column formulas need to be generic.
So the formula would be
=IF([Start Date]@row > TODAY(), "Blue", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(COUNTIFS(CHILDREN(), "Red") > 0, "Yellow", "Green")))
Hope that helps
Thanks
Paul
-
Hi! I believe it's your cell references. Instead of referencing a specific row 2, use @row.
=IF([Start Date]@row > TODAY(), "Blue", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(COUNTIFS(CHILDREN(), "Red") > 0, "Yellow", "Green")))
You should then be able to convert formula to column.
-K.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 411 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!