#1   Report Post  
Ajit Munj
 
Posts: n/a
Default Calendar - Ajit

I have entered the month as February, 2005 in cell A1. Now I
want excel to show the days from b1 to b28 as Tue, Wed etc.
till b28 (as there are 28 days in Feb 2005). Excel should
calculate the no. of days in the month & year entered in
cell A1

Ajit
--
Knowldege is Power
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Into A1, enter the month as 1st of February, 2005, and format the cell as
Custom "mmm, yyyy"
B1=IF(MONTH($A$1+ROW()-1)=MONTH(A1),$A$1+ROW()-1,"")
Copy down for 31 rows, and format as Custom "ddd"

The number of days in month:
=DAY(DATE(YEAR($A$1),MONTH($A$1)+1,0))

The number of days in year:
=DATEDIF(DATE(YEAR($A$1),1,1),DATE(YEAR($A$1),12,3 1),"D")+1

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Ajit Munj" wrote in message
...
I have entered the month as February, 2005 in cell A1. Now I
want excel to show the days from b1 to b28 as Tue, Wed etc.
till b28 (as there are 28 days in Feb 2005). Excel should
calculate the no. of days in the month & year entered in
cell A1

Ajit
--
Knowldege is Power



  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Another formula to calculate the number of days in year:
=365+(MONTH(DATE(YEAR($A$1),2,29))=2)


--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar based on varying information/ Pivot Table General Neil Charts and Charting in Excel 0 February 22nd 05 05:09 PM
Pop-up calendar shows up as a red X Bren Excel Discussion (Misc queries) 4 January 6th 05 05:57 PM
Calendar and info for that date Jenn Excel Discussion (Misc queries) 0 January 5th 05 04:21 PM
Calendar 13 Periods 4 weeks each CHawk@Mcc Excel Discussion (Misc queries) 2 December 10th 04 04:27 PM
Weekly data into Calendar Weeks ExcelMonkey Excel Worksheet Functions 2 November 22nd 04 08:41 PM


All times are GMT +1. The time now is 01:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"