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
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.5K Get Help
 61 Global Discussions
 46 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 54 Brandfolder
 124 Just for fun
 50 Community Job Board
 466 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!