Inserting dates in a worksheet

  • Thread starter Thread starter Mrtimj
  • Start date Start date
M

Mrtimj

I am running Excel 97. I am trying to automate an attendance workshee
and would like to have it insert the correct dates in the appropriat
cells. Example, all of the Sundays in January.
What would be the best way to do this? Any help would be highl
appreciated! Thanks!

Ti
 
Tim not entirely sure what your trying to do here, can you give a bette
explanation or example?

Simo
 
Put this formula in A1

=DATE(2004,1,1)+((7-WEEKDAY(DATE(2004,1,1))+1)*(WEEKDAY(DATE(2004,1,1))<>1))

and this in A2 and copy down

=A1+7

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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