Return Number of day per month

  • Thread starter Thread starter cgx79
  • Start date Start date
C

cgx79

Hi,

How to i get the total number of day per month using function
not in marco
 
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
 
cgx79 said:
Hi,

How to i get the total number of day per month using function n
not in marco.

Message posted

you coulld try this also:

=DAY(EOMONTH(A72,0))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top