View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Find Oldest Date

=MIN(IF((A1:A5="Canada")*(B1:B5="Open")*(C1:C5<"" ),C1:C5))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Qaspec" wrote in message
...
I tried each of the suggestions and I'm still returning a 0 value. Could
there be something wrong with the formatting of the date in the referenced
cell?

"T. Valko" wrote:

Try this array formula** :

=MIN(IF((A1:A5="Canada")*(B1:B5="Open"),C1:C5))

Format as DATE

Better to use cells to hold the criteria:

E1 = Canada
F1 = Open

=MIN(IF((A1:A5=E1)*(B1:B5=F1),C1:C5))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"Qaspec" wrote in message
...
I need to fiind the oldest date of an entry depending on the status of
the
case.

A B C
Canada Open 6/25/07
Mexico Open 6/16/07
Brazil Open 6/1/07
Canada Open 6/19/07
Canada Closed 6/2/07

I need to be able find the oldest open date for Canada which would be
6/19/07
according to this example.