View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Counting latest date in two columns

=SUMPRODUCT(--(A1:A3<B1:B3))

Adjust your range to suit


"RobertK" wrote:

I have a spreadsheet with 2 columns of dates (approximately 1200 rows) and
want the count in column A where the date is less than column B.

A B
1/2/09 1/8/09
4/5/08 5/6/07
5/6/09 9/5/08

In the above example the answer I'm looking for is 1.

--
Robert K