Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2004

Tip: Looking for answers? Try searching our database.

Auto FIll Weekdays dates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Terapixels - 25 Apr 2004 18:41 GMT
Hi All,

I need to create a spreadsheet that automatically fills in the
dates(weekdays
only) across the top.  There are six separate periods to be inputted.

The user inputs the start and end date of each period.

Any ideas?

TIA

Tera
Earl Kiosterud - 25 Apr 2004 18:48 GMT
Tera,

Put in the first date.  Right-drag the Fill Handle, and select "Fill
Weekdays."  XL2002.

Signature

Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

> Hi All,
>
[quoted text clipped - 13 lines]
> Excel Templates, Training, Add-ins & Business Software Galore!
> Free Excel Forum http://www.ozgrid.com/forum ***
Terapixels - 25 Apr 2004 18:59 GMT
Many thanks.  I should have mentioned that I would like the spreadsheet
to fill in the cells automatically without further user input.  Is this
possible?

Regards,

Tera.
Peo Sjoblom - 25 Apr 2004 19:18 GMT
Yes it is but you would need to set it up which is not automatic.
It could be done either by using a worksheet event macro that would
excute when the user has pressed the enter key after typing in the date
or by using an IF formula with some testing for weekdays copied accross.
Since it's not a 10 second solution I'd suggest you do a google seach fro
excel even macros

> Many thanks.  I should have mentioned that I would like the
> spreadsheet to fill in the cells automatically without further user
[quoted text clipped - 7 lines]
> Excel Templates, Training, Add-ins & Business Software Galore!
> Free Excel Forum http://www.ozgrid.com/forum ***

Signature

Regards,

Peo Sjoblom

Earl Kiosterud - 25 Apr 2004 19:54 GMT
Tera,

If I understand the question properly, you want the user to supply a start
date and end date, and have the worksheet provide weekdays across the sheet.
How far it goes across the sheet depends on the end date.  Peo has touched
on this.  If there will be nothing on the sheet beyond the end date column,
then formulas could be used.  But if there will be other stuff beyond the
last date column (Row totals, other data, etc.), then it's different, and I
think a macro will have to insert columns, provide the dates, etc.  A
somewhat specialized solution.    Supply info.
Signature

Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

> Many thanks.  I should have mentioned that I would like the spreadsheet
> to fill in the cells automatically without further user input.  Is this
[quoted text clipped - 7 lines]
> Excel Templates, Training, Add-ins & Business Software Galore!
> Free Excel Forum http://www.ozgrid.com/forum ***
Terapixels - 25 Apr 2004 20:09 GMT
Earl,

There are no other info at the end of the row. The user will supply the
start and end dates of each of the six periods.  The dates should be
presented across row A without gaps between the peeriods. Many thanks.

Tera
Earl Kiosterud - 25 Apr 2004 21:33 GMT
Tera,

Set up two cells and name them StartDate and EndDate.  This is set up for
StartDate of Monday.

B1:  =StartDate
C1:  ==IF(B1<>"",IF(B1+1<=EndDate,B1+1,""),"")
 Copy (Fill Handle) to F1.
 You now have one week, based on start and end dates.
G1: =IF(F1<>"",IF(F1+3<=EndDate,F1+3,""),"")   Monday date
Copy C1:F1, paste to H1:K1.
 You now have the second week of date formulas, G1:K1, Mon-Fri
 Copy G1:K1, paste from L1 to right edge of worksheet:
   Select and Copy G1:K1.  Copy.
   Select L1, Ctrl-Shift-RightArrow
   Paste.
Signature

Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

> Earl,
>
[quoted text clipped - 7 lines]
> Excel Templates, Training, Add-ins & Business Software Galore!
> Free Excel Forum http://www.ozgrid.com/forum ***
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.