View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Calculating dates


The simplest way is to use

=EOMONTH(A1,0)

EOMONTH is part of Analysis ToolPak addin

an alternative is

=DATE(YEAR(A1),MONTH(A1)+1,0)

for both format cell as date


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=504824