View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
duane
 
Posts: n/a
Default Calculating months in year July - June


if months are in cells a1 and a2

=if(month(a2)<month(a1), 12 + month(a2)-month(a1), month(a2)-month(a1))


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=554396