Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a calendar in Excel 15

Status
Not open for further replies.

Zelandakh

MIS
Mar 12, 1999
12,173
GB
You key in June 2002 into a cell. Or whatever month you like.

Across the top is puts the month. Under that is Sunday, Monday, ..., Saturday (always this order).
Under those, Excel works out where to put 1, 2, 3 etc up to the right number of days for the month.

Each week should be on a row, there should be 5 blank rows between weeks and conditional formatting to hide the days at the end of the month is allowed.

So I have the days from 1st of month in a column, I know I need a weekday() function and I know it can't be THAT difficult.

I'm just having a mental block...someone tell me its Friday!!!!
 
This is exactly what I've needed for a long time!
Thank you very much.

:)
 
Hi,
I wolud really appreciate if you can send the file to me.
Thank you.
 
How to set up a calendar in Excel with 3 formulas!

1. Enter your Sun-Sat day headings

2. Using the Name Box, define 5 named cells:
StartDate - This is where the user enters the Calendar Start Date
StartCell - This is the cell just below Sun
SkipRows - Enter the number of rows to skip between weeks
StartCol - =MOD(StartDate,7)+COLUMN(StartCell)-1
StartRow - =ROW(StartCell)

3. Paste this formula in the calendar cells
Code:
=IF(MOD((ROW()-StartRow),SkipRows+1)=0,IF(AND(ROW()=StartRow,COLUMN()<StartCol),&quot;&quot;,StartDate+((INT((ROW()-StartRow)/(SkipRows+1)))*7+COLUMN()-StartCol)),&quot;&quot;)
VOLA! :)

Skip,
Skip@TheOfficeExperts.com
 

pinky1.jpg width='75' height='75'
[/tt]
056.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top