Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2013, 06:38 AM
rich_cirillo rich_cirillo is offline calender formula Windows 7 64bit calender formula Office 2010 64bit
Novice
calender formula
 
Join Date: Sep 2012
Posts: 27
rich_cirillo is on a distinguished road
Default calender formula

Hi

What formulas do i need/use to get the day numbers into the calender for each year/month.When the month and/or year are changed the days number changes



Thanks

Rich
Attached Files
File Type: xlsx CALENDER.xlsx (10.3 KB, 21 views)
Reply With Quote
  #2  
Old 03-23-2013, 11:06 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline calender formula Windows 7 64bit calender formula Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Before going any further, it would be best to get rid of the merged cells. Using them is begging for trouble
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 03-23-2013, 04:38 PM
rich_cirillo rich_cirillo is offline calender formula Windows 7 64bit calender formula Office 2010 64bit
Novice
calender formula
 
Join Date: Sep 2012
Posts: 27
rich_cirillo is on a distinguished road
Default

OK
I have modified the spreadsheet with merged cells

Thanks
Attached Files
File Type: xlsx CALENDER.xlsx (9.7 KB, 19 views)
Reply With Quote
  #4  
Old 03-25-2013, 07:58 AM
ArviL ArviL is offline calender formula Windows 7 64bit calender formula Office 2007
Novice
 
Join Date: Feb 2013
Posts: 11
ArviL is on a distinguished road
Default

Hi

I assume you use US weekday counting, i.e. Sunday is the 1st day of the week?
When this is the case, then:
1. Add an additional row to your calendary so you don't lose some month's endings;
2. Extend your months list in column O (and fill all gaps in it, so you have all months from January to December listed (Range O2:O13);
3. Copy this formula into leftmost upper cell of your calendary (D9):
=IF(MONTH(DATE($L$12,MATCH($L$9,$O$2:$O$13,0),1)-(WEEKDAY(DATE($L$12,MATCH($L$9,$O$2:$O$13,0),1))+0 ) + (COLUMN()-COLUMN($C:$C))+7*(ROW()-ROW($9:$9)))=MATCH($L$9,$O$2:$O$13,0),DATE($L$12,M ATCH($L$9,$O$2:$O$13,0),1)-(WEEKDAY(DATE($L$12,MATCH($L$9,$O$2:$O$13,0),1))+0 ) + (COLUMN()-COLUMN($C:$C))+7*(ROW()-ROW($9:$9)),"")

(Check the formula for semicolons instaed of comma for case I missed some replacements there!)
4. Copy the formula in D9 into entire calendary table (D9:J14). Format calendary cells as custom "d".
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
calender formula Unable to sync iphone calender with outlook calender!! Reltub Outlook 5 07-26-2011 02:55 AM
Hijri Calender zuzu_cool Outlook 0 07-15-2011 11:04 PM
Calender reminders msb Outlook 0 01-31-2008 01:40 PM
Problem i'm having with my calender Flawliss Outlook 1 01-18-2007 05:16 PM
daily calender printing ccronin4 Outlook 1 01-10-2007 12:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft