View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Colomn of various dates, count & give % of all under 1 year, etc.


I think this should do it for you.

=SUMPRODUCT(--(DATEDIF(A1:A5,TODAY(),"y")<1))/COUNT(A1:A5)

A1:A5 is your range of dates.

This counts the number of dates that are less than 1 full year from
today's date and divides it by the total number of dates. Format your
cell as percentage.

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=515033