I'm trying to construct an IF statement based on the MONTH where there can be multiple valid months.
I currently have the following statement which works, but I'd like to find a more compact alternative:
IF(OR(MONTH(A1)=4,MONTH((A1)=7,MONTH(A1)=9,MONTH(A1)=11),1,0)
Perhaps something like the following (which I could not get working):
IF(MONTH(A1)={4,7,9,11},1,0)
Any help would be greatly appreciated.
I currently have the following statement which works, but I'd like to find a more compact alternative:
IF(OR(MONTH(A1)=4,MONTH((A1)=7,MONTH(A1)=9,MONTH(A1)=11),1,0)
Perhaps something like the following (which I could not get working):
IF(MONTH(A1)={4,7,9,11},1,0)
Any help would be greatly appreciated.