I need to figure out how to get this =(DAY(TODAY())*2) to stop calcul. at end of mnth

R

Renz09

I figured out how to calculate the total based on the current date
=(DAY(TODAY())*2), however I want this to stop calculating at the end
of the month.
 
P

papou

Hello
To get the last day of the month use this formula:
=DATE(YEAR(TODAY());MONTH(TODAY())+1;0)
You can then use this in your formula to check for the day or the month

HTH
Cordially
Pascal
 
Top