Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fuction that gives number of days of a given month
I am just wondering if there is a function that gives you the number days of
the month for a given date. Thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fuction that gives number of days of a given month
Assuming that A1 contains a date, such as 2/15/06, try...
=DAY(DATE(YEAR(A1),MONTH(A1)+1,0)) Hope this helps! In article , "FGOMEZ" wrote: I am just wondering if there is a function that gives you the number days of the month for a given date. Thanks |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fuction that gives number of days of a given month
Hi
With Analysis Toolpack installed =DAY(EOMONTH(YourDate,0)) Without Analysis Toolpack =DAY(DATE(YEAR(YourDate),MONTH(YourDate)+1,0)) Arvi Laanemets "FGOMEZ" wrote in message ... I am just wondering if there is a function that gives you the number days of the month for a given date. Thanks |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fuction that gives number of days of a given month
It helped really well.
Thanks so much Domenic "Domenic" wrote in message ... Assuming that A1 contains a date, such as 2/15/06, try... =DAY(DATE(YEAR(A1),MONTH(A1)+1,0)) Hope this helps! In article , "FGOMEZ" wrote: I am just wondering if there is a function that gives you the number days of the month for a given date. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Show week number in current month | Excel Discussion (Misc queries) | |||
Formula to calculate number of days & ignore blank cells | Excel Discussion (Misc queries) | |||
convert dates to number of days | Excel Worksheet Functions | |||
Calculate running target by days in the month | Excel Worksheet Functions | |||
Formula for current month minus one = Quarter number in a macro. | Excel Discussion (Misc queries) |