Invalid Data Type Error
I'm trying to have a symbol turn "yellow" if the number of check boxes in a selected is even (and >0), or "red" if uneven. To do this I made a hidden column with a formula counting how many boxes were checked:
=COUNTIFS([ColumnA]@row:[ColumnF]@row, 1
Then in the symbol column, wrote the following formula:
=IF([HiddenColumn]@row >= 1, AND(IF(ISEVEN([HiddenColumn]@row), "Red", "Green")))
But now I get an "Invalid Data Type" error message in the symbol column when any amount of boxes are checked. Help please!
Answers

=IF(HiddenColumn@row > 0, IF(ISEVEN(HiddenColumn@row), "EVEN", "ODD"), "")
If it's bigger than zero, test for EVEN/ODD and return EVEN or ODD. If it's not bigger than zero, then blank

Hi @tbelly50
I see you marked James' answer as not resolving your question. I notice you have the AND function in potentially the wrong place, if you're looking for both conditions in the first IF statement.
Try:
=IF(AND([HiddenColumn]@row >= 1, ISEVEN([HiddenColumn]@row)), "Red", "Green")
If this is still returning an error, it may be that your hidden column has an error. Check to see if your COUNTIFS is in the right type of column (text/number).
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8  10, Seattle, WA  Register now
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 61.2K Get Help
 320 Global Discussions
 197 Industry Talk
 415 Announcements
 4.2K Ideas & Feature Requests
 126 Brandfolder
 153 Just for fun
 124 Community Job Board
 441 Show & Tell
 26 Member Spotlight
 1 SmartStories
 276 Events
 34 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!