Can someone help me with the following formula? It does not work and I don't know what I'm doing wrong.
=IF(OR(AND(F10="black",A10={1,2,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26,28,29,31,32,34,35}),AND(F10="red",A10={1,3,4,6,7,9,10,12,13,15,16,18,19,21,22,24,25,27,28,30,31,33,34,36})),1,-2)
Am I using the right formula to determine if a group of numbers is contained in a cell?
Thanks so much.
John
=IF(OR(AND(F10="black",A10={1,2,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26,28,29,31,32,34,35}),AND(F10="red",A10={1,3,4,6,7,9,10,12,13,15,16,18,19,21,22,24,25,27,28,30,31,33,34,36})),1,-2)
Am I using the right formula to determine if a group of numbers is contained in a cell?
Thanks so much.
John