View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Jepane Jepane is offline
external usenet poster
 
Posts: 12
Default Days of a given month

Thanx

"Mike H" wrote:

Put a date in a1 and this will return the days in the month od that date

=DAY(DATE(YEAR(A1),MONTH(A1)+1,1)-1)

Mike

"Jepane" wrote:

Hi!

Can anybody help me?
I need to get the number of days on a given month-year. (ie Jan-07 = 31
days, etc)

Is there an easy way to get it?

Thnx