On my source sheet, I have three columns calculated off of a created by date column for day, month, and year. I have the first formula working correctly to count referrals received by week:
=COUNTIFS({OBOT Referrals Month}, @cell = 1, {OBOT Referrals Year}, @cell = 2023, {OBOT Referrals Day}, AND(@cell >= 1, @cell <= 7))
However, I keep getting #INCORRECT ARGUMENT when I attempt to count between months:
=COUNTIFS(OR({OBOT Referrals Month}, @cell = 1, {OBOT Referrals Day}, AND(@cell >= 29, @cell <= 31), {OBOT Referrals Year}, @cell = 2023, {OBOT Referrals Month}, @cell = 2, {OBOT Referrals Day}, AND(@cell >= 1, @cell <= 4), {OBOT Referrals Year}, @cell = 2023))