Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Is there a formula I can use that can return the last day of the month from a
date entered in another cell? It needs to work for all months, regardless of length of month. Ex.: 11/12/2004 is entered in A1. I want B1 to return 11/30/2004. |
#2
![]() |
|||
|
|||
![]()
=date(year(a1),month(a1)+1,0)
-- HTH RP "Steve F." <Steve wrote in message ... Is there a formula I can use that can return the last day of the month from a date entered in another cell? It needs to work for all months, regardless of length of month. Ex.: 11/12/2004 is entered in A1. I want B1 to return 11/30/2004. |
#3
![]() |
|||
|
|||
![]()
Hi
=DATE(YEAR(A1),MONTH(A1)+1,0) -- Regards Frank Kabel Frankfurt, Germany "Steve F." <Steve schrieb im Newsbeitrag ... Is there a formula I can use that can return the last day of the month from a date entered in another cell? It needs to work for all months, regardless of length of month. Ex.: 11/12/2004 is entered in A1. I want B1 to return 11/30/2004. |
#4
![]() |
|||
|
|||
![]()
Hi Steve,
If you don't have the Eomonth Function (in Analysis Toolpack) available to you use : =DATE(YEAR(A1),MONTH(A1)+1,0) "Steve F." wrote: Is there a formula I can use that can return the last day of the month from a date entered in another cell? It needs to work for all months, regardless of length of month. Ex.: 11/12/2004 is entered in A1. I want B1 to return 11/30/2004. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to return tomorrow's date. | New Users to Excel | |||
Date formula | Excel Discussion (Misc queries) | |||
Excel: Is there a way to calculate the date as week of month? | Excel Discussion (Misc queries) | |||
Date Formula | Excel Discussion (Misc queries) | |||
How can I format a cell so date field only displays the Month? | Excel Discussion (Misc queries) |