Thread: Dates
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Billigmeier
 
Posts: n/a
Default Dates

This will work. Currently outputs the first Wednesday of the month of the
date entered in cell A1.

=DATE(YEAR(A1),MONTH(A1),1+MOD(4-WEEKDAY(DATE(YEAR(A1),MONTH(A1),1)),7))

--
Regards,
Dave


"Barbara" wrote:

I need to calculate the (for example) first Wednesday of every month, given
the date April 5, 2006 is entered in a cell. How do I calculate the new
date, the first Wednesday in May (May 3, 2006)?