LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 269
Default EOMonth function

lNot a direct function like EOMonth but

=Date(Year(A1),Month(A1)+1,) works

When you leave off the day from the inputs Excel picks the last day of the
prior month, so when you use Month(A1)+1 you get the last day of the current
month.

Even works for leap years 2/15/2004 in A1 yields 2/29/2004.

Kind of an odd quirk, like it is picking the 0th day of the month. Not sure
if this was intentional on the programmers part, but it works.
--
If this helps, please remember to click yes.


"Ayo" wrote:

Is there an equivalent function to EOMonth in xl2003 or a formula that will
get me the same result?



 
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
FIX FOR =N/A errors from EOMONTH Drew[_5_] Excel Worksheet Functions 0 February 23rd 10 05:15 AM
EOMONTH Formula KRiffe Excel Worksheet Functions 6 January 27th 08 03:29 AM
eomonth John T[_2_] Excel Worksheet Functions 3 March 15th 07 12:51 PM
data validation with EOMONTH function spence Excel Worksheet Functions 1 March 19th 06 12:04 AM
How about adding a quarterly function to Excel like its EOMonth? SDolley Excel Worksheet Functions 1 March 30th 05 06:58 PM


All times are GMT +1. The time now is 02:26 PM.

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

About Us

"It's about Microsoft Excel"