Index Match with Min

  • Thread starter Thread starter New Hope UMC
  • Start date Start date
N

New Hope UMC

I have 3 columns; Market #, Start Date and End Date
Currently when I match Market #1 in Cell A3 the following works
=INDEX(MIN(H2:H20000),MATCH(A3,P2:P20000,0))
But when I try and use it to find the same info for Market #2
=INDEX(MIN(H2:H20000),MATCH(A4,P2:P20000,0))
I get a #Ref! Error...
Tried array etc...to no avail.
Can someone figure this one out?
Thanks!
 
Try the following formula, which needs to be confirmed with
CONTROL+SHIFT+ENTER, not just ENTER...

=MIN(IF(P2:P20000=A3,H2:H20000))
 
Try the following formula, which needs to be confirmed with
CONTROL+SHIFT+ENTER, not just ENTER...

=MIN(IF(P2:P20000=A3,H2:H20000))

--
Domenic
Microsoft MVP - Excelwww.xl-central.com, "Your Quick Reference to Excel Solutions"





- Show quoted text -

Sometimes something SO SIMPLISTIC eludes us!!! Thanks for the help!
 
Back
Top