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
Check out the Formula Handbook template!