Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Inserting dates in a worksheet

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

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Inserting dates in a worksheet

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

Simo

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Inserting dates in a worksheet

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)

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

Tim


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting dates function ArthurN Excel Worksheet Functions 4 January 11th 09 02:37 PM
Inserting Dates without years, please help!! Erich Excel Discussion (Misc queries) 2 June 20th 08 08:57 PM
Inserting Dates JDay Excel Discussion (Misc queries) 2 June 2nd 06 01:30 PM
Inserting dates JDay Excel Discussion (Misc queries) 2 June 1st 06 01:40 PM
Inserting Dates JDay Excel Discussion (Misc queries) 2 May 31st 06 12:58 PM


All times are GMT +1. The time now is 02:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"