Thread: January 2006
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Howard
 
Posts: n/a
Default January 2006

Thanks! I knew I had to get the year in there somewhere, but I didn't know how.
--
Howard


"pinmaster" wrote:


Similar as what you have now except with Year() added

=AND(MONTH(A$1)=MONTH(TODAY())-1,YEAR(A$1)=YEAR(TODAY())-1)

Regards
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=497695