Return Number of day per month

  • Thread starter Thread starter cgx79
  • Start date Start date
Hi
if A1 contains a date try the following
=DAY(DATE(YEAR(A1),MONTH(A1)+1,0))
This returns the n umber of days for the month in A1
 
This ingenuous formula by Daniel Maher does it

=32-DAY(A1-DAY(A1)+32)

where the date is in A1
 
Back
Top