Create a Calendar by Month and Year.

How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,831
Office Version
  1. 2010
Platform
  1. Windows
Hi all…
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p> </o:p>
Is there a way to do this please… using C2 (Month) and C3 (Year) is it possible to populate my yellow area under the days.
<o:p> </o:p>
So in this example because 01 Jan 1943 is a Friday then 1 is under Friday etc. Other month / year combinations need to work.
<o:p> </o:p>
I found this macro that works but is this possible with a formula please?
<o:p> </o:p>
http://support.microsoft.com/kb/150774
<o:p> </o:p>
This works for the current month but I need to be able to select month and year…
<o:p> </o:p>
http://www.techjive.net/2007/02/11/excel-calendar-trick/
<o:p> </o:p>
Any ideas please?

Excel Workbook
ABCDEFG
1Day1
2FridayMonthJan
3Year1943
4Day NameFriday
5
6SundayMondayTuesdayWednesdayThursdayFridaySaturday
712
83456789
910111213141516
1017181920212223
1124252627282930
1231
Sheet1
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
  • Copy the formula below
  • Select a 7-col by 6-row range (A7:G12)
  • Press F2
  • Press Ctrl+V to paste the formula into the active cell
  • Press Ctrl+Shift+Enter (to make it a multicell array formula)
  • Format the cells using the Custom number format; Type: d

Code:
=IF(MONTH((C2& " 1, " &C3)*1)<>MONTH((C2& " 1, " &C3)*1
-(WEEKDAY((C2& " 1, " &C3)*1)-1)+{0;1;2;3;4;5}*7+{1,2,3,4,5,6,7}-1),"",
(C2& " 1, " &C3)*1-(WEEKDAY((C2& " 1, " &C3)*1)-1)+{0;1;2;3;4;5}*7+{1,2,3,4,5,6,7}-1)
 
Upvote 0
You should be able to adapt the work at
A calendar template
http://www.tushar-mehta.com/excel/templates/calendar/index.html

I've also submitted several templates to http://office.microsoft.com/en-us/marketplace/ but I can never find anything I want there. Maybe, it's just me...

Hi all…
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p> </o:p>
Is there a way to do this please… using C2 (Month) and C3 (Year) is it possible to populate my yellow area under the days.
<o:p> </o:p>
So in this example because 01 Jan 1943 is a Friday then 1 is under Friday etc. Other month / year combinations need to work.
<o:p> </o:p>
I found this macro that works but is this possible with a formula please?
<o:p> </o:p>
http://support.microsoft.com/kb/150774
<o:p> </o:p>
This works for the current month but I need to be able to select month and year…
<o:p> </o:p>
http://www.techjive.net/2007/02/11/excel-calendar-trick/
<o:p> </o:p>
Any ideas please?

Excel Workbook
ABCDEFG
1*Day1****
2FridayMonthJan****
3*Year1943****
4*Day NameFriday****
5*******
6SundayMondayTuesdayWednesdayThursdayFridaySaturday
7*****12
83456789
910111213141516
1017181920212223
1124252627282930
1231******
Sheet1
 
Upvote 0
Thanks all, I'm quickly dropping in here as my fingers are in other pies at the moment. Will try some of these ideas out ASAP etc... Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,249
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top