![]() |
Days in a month
Is there a formula that can populate how many days there are in a month? i.e.
31 days in January, 28 days in February, and so on |
Days in a month
With a date in cell A1 try the below formula
=DAY(DATE(YEAR(A1),MONTH(A1)+1,0)) If this post helps click Yes --------------- Jacob Skaria "helpforwork" wrote: Is there a formula that can populate how many days there are in a month? i.e. 31 days in January, 28 days in February, and so on |
Days in a month
If you have a date in a cell:
=DAY(EOMONTH(A1,0)) The EOMONTH function requires the Analysis ToolPak add-in be installed in Excel versions prior to Excel 2007. If you enter the formula and get a #NAME? error look in Excel help for the EOMONTH function. It'll tell you how to fix the problem. -- Biff Microsoft Excel MVP "helpforwork" wrote in message ... Is there a formula that can populate how many days there are in a month? i.e. 31 days in January, 28 days in February, and so on |
Days in a month
On Fri, 9 Oct 2009 07:49:01 -0700, helpforwork
wrote: Is there a formula that can populate how many days there are in a month? i.e. 31 days in January, 28 days in February, and so on With some date in A1: =DAY(A1-DAY(A1)+32-DAY(A1-DAY(A1)+32)) Format result as General, or Number --ron |
All times are GMT +1. The time now is 12:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com