|
To calculate the number of days in a month, use the following formula.
=DAY(EOMONTH(C4,0))
Where C4 contains a date within the month you are looking for. The second parameter provides a way of calculating months before or after the cell date you are looking at.
=DAY(EOMONTH(C4,1)) This shows the number of days in the month after the date in cell C4
=DAY(EOMONTH(C4,-1)) This shows the number of days in the month before the date in cell C4
|
24 August 2009 IB
Microsoft Excel
|
Back To List
Did this article answer your question |
 |
Yes |
 |
No |
|
Other items of interest in our knowledgebase
|