chucktizzle
New Member
- Joined
- Nov 5, 2014
- Messages
- 4
I'm trying to create a formula to check if the value in column I is within the current quarter and return with a 1(true) or 2(false). The formula needs to update automatically based on the current date.
This is the formula I'm using to check if the value is in the current month:
=IF(AND(YEAR(TODAY())=YEAR(I2),MONTH(TODAY())=MONTH(I2)),1,2)
I cannot figure out how to test for the current quarter. Thanks!
This is the formula I'm using to check if the value is in the current month:
=IF(AND(YEAR(TODAY())=YEAR(I2),MONTH(TODAY())=MONTH(I2)),1,2)
I cannot figure out how to test for the current quarter. Thanks!