I want to count the number of days that
Is there a way to accomplish this?
This seems like it might work (though I think it could likely be tidied up and I'm sure there's a better way...)
=(12-MONTH(TODAY()))*2
+ IF(DAY(TODAY())<15,2,
IF(DAY(TODAY())<DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,1)-1),1,0))
(12-MONTH(TODAY()))*2 : Two days for each full remaining month
Plus 2 days if before the 15th
or
Plus 1 day if 15th or later and not the last day of the current month
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With