html
Excel Easy
#1 Excel tutorial on the net Excel Introduction Basics Functions Data Analysis VBA 300 Examples Ask us
Calendar
This example describes how to create a 2015 calendar in Excel (or 2016 calendar, 2017 calendar, etc). If you are
Chapter
in a hurry, simply download the Excel file.
Note: the instructions below do not teach you how to format the worksheet. We assume that you know how to Templates
change font sizes, font styles, insert rows and columns, add borders, change background colors, etc.
Calendar
Budget
Meal Planner
Invoice
Automated Invoice
Default Templates
calendar.xls
1 of 6 08-11 05:31 PM
Excel Calendar Template - Easy Excel Tutorial http://www.excel-easy.com/examples/calendar.html
2 of 6 08-11 05:31 PM
Excel Calendar Template - Easy Excel Tutorial http://www.excel-easy.com/examples/calendar.html
Start Download
Now
Convert From Doc to PDF,
PDF to Doc Simply With
The Free On-line App!
The big question is: how do we tell Excel that January 2015 starts on a Thursday?
1. First, to make our formulas easier to understand, we have created the following names.
Name Cells
CalendarYear K5
JanOffset =DATE(CalendarYear,1,1)-WEEKDAY(DATE(CalendarYear,1,1))
Explanation: dates are stored as numbers in Excel and count the number of days since January 0, 1900. The
Date function returns the number that represents the date. The DATE function accepts three arguments: year,
month and day. The WEEKDAY function returns a number from 1 (Sunday) to 7 (Saturday) representing the day
of the week of a date. For example, January 1st, 2015 is the same as 42005. This date falls on Thursday. In other
words, =DATE(CalendarYear,1,1) equals 42005 and WEEKDAY(DATE(CalendarYear,1,1)) equals 5. As a result,
JanOffset equals 42005 - 5 = 42000.
3 of 6 08-11 05:31 PM
Excel Calendar Template - Easy Excel Tutorial http://www.excel-easy.com/examples/calendar.html
Explanation: JanOffset+1 is nothing more than a date. In fact, it is (5-1) days earlier than January 1st, 2015. This
formula checks if the year of this date equals CalendarYear and the month equals January (1). If true, it returns
the date. If not, it returns an empty string ("").
Explanation: JanOffset+5 is nothing more than a date. In fact, it is (5-5) days earlier than January 1st, 2015. This
is the first day of the year! This formula checks if the year of this date equals CalendarYear and the month equals
January (1). This is true! Excel returns the date.
4. We changed the format to "day format" to only display the day of the month.
4 of 6 08-11 05:31 PM
Excel Calendar Template - Easy Excel Tutorial http://www.excel-easy.com/examples/calendar.html
Note: in a similar way, you can create the formulas for the other days in January and the other months. This
calendar tool lets you create a calendar for every year you want! Just use the Spin Button to increase the
calendar year.
5 of 6 08-11 05:31 PM
Excel Calendar Template - Easy Excel Tutorial http://www.excel-easy.com/examples/calendar.html
6 of 6 08-11 05:31 PM