Move Over Hello Kitty. Here Comes Chococat.
December 5, 2009 – 11:26 pm | No Comment

A special request came to me a week ago.  One of my friends wanted me to bake her daughter a cake.  But not just any cake.  A cake with Chococat on it.  I was honored.  …

Read the full story »
Food

Recipes, tools, techniques, and quick tips to help you work a kitchen like a pro.

Leadership

Leadership tools and techniques that I find interesting and useful (mainly the ones that work).

Music

Instrument and accessory reviews, tips, scales, practice sheets, and music.

Projects

Everyday project management tools to help my life run smooth and my personal projects.

Technology

Cool tech stuff that I find out there and things I find will help you go through your day.

Home » Technology, Tools

Excel Calendar

Written by Edel Alon on April 28, 2009 – Follow me on Twitter No Comment | Print

Here’s a complete calendar in Excel using the following formula.

=IF(MONTH(DATE(YEAR(A1),MONTH(A1),1))<>MONTH(DATE(YEAR(A1),MONTH(A1),1)-

(WEEKDAY(DATE(YEAR(A1),MONTH(A1),1))-1)+{0;1;2;3;4;5}*7+{1,2,3,4,5,6,7}-1),””,

DATE(YEAR(A1),MONTH(A1),1)-(WEEKDAY(DATE(YEAR(A1),MONTH(A1),1))-1)+{0;1;2;3;4;5}*7

+{1,2,3,4,5,6,7}-1)

This is the first edition. Each month is on a separate worksheet.  After revisiting this, I forgot how to do arrays in Excel.  Follow theses steps in order for this code to work if you were to start from scratch.

  1. Click on cell A1 and type in a date like: 1/1/2010
  2. Click on cell A2 and highlight 7 columns to the right and 5 rows going down
  3. Paste in the code above in the formula bar for A2
  4. Hold down CTRL and Shift on the keyboard and press Enter
  5. Format the dates as you please

Excel calendar

excelcalendar

Bookmark and Share

Popularity: 1%

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.