View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default finding the earliest date in an array of cells

=MIN(IF(C2:C20<"",B2:B20,""))

This is an array formula that must be entered with CNTRL-SHFT-ENTER rather
than just the ENTER key.
--
Gary''s Student - gsnu200852


"Buck" wrote:

I have one column with various dates.....lets say B2:B20. The next column
(C2:c20) with values such as 1, 4, 8, etc. I am trying to calculate the
earliest date with a value in the same row that is 0. So if B5 has the
earliest date, but the value of C5 is 0, I do not want that date.