View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Daniel Q. Daniel Q. is offline
external usenet poster
 
Posts: 24
Default Days in a month as of today

I need a formula that will look at today's date, figure out the days in the
month and then in a different cell give me the number of days so far in that
month.

ie -

A1 = 1/1/07

B2 = [(DAY(DATE(YEAR(A1),MONTH(A1)+1,0))] = 31

B3 = should come up with 25 since today is Jan 25

Thx,