Retroshift
Board Regular
- Joined
- Sep 20, 2016
- Messages
- 119
- Office Version
- 2019
- Platform
- Windows
Hi
I have a reference cell B2 which contains the year.
I would like to create a formula that contains dates (not referenced in cells) and counts the duplicate dates.
Within the formula I have the fixed dates DATE(YEAR(B2),1,1),DATE(YEAR(B2),3,2),DATE(YEAR(B2),5,1),DATE(YEAR(B2),5,9) and I would like to check them off against some floating fictitious UDF dates EasterDate(YEAR(B2))-10,EasterDate(YEAR(B2))-5. Depending on the year in cell B2, some dates might overlap. Is there a formula/array to count/sum up these duplicate dates within the formula?
I have a reference cell B2 which contains the year.
I would like to create a formula that contains dates (not referenced in cells) and counts the duplicate dates.
Within the formula I have the fixed dates DATE(YEAR(B2),1,1),DATE(YEAR(B2),3,2),DATE(YEAR(B2),5,1),DATE(YEAR(B2),5,9) and I would like to check them off against some floating fictitious UDF dates EasterDate(YEAR(B2))-10,EasterDate(YEAR(B2))-5. Depending on the year in cell B2, some dates might overlap. Is there a formula/array to count/sum up these duplicate dates within the formula?