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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Index/ Match Formula 2
INDEX - MATCH - OFFSET By Reference 2
Index Match on Columns and Rows 0
Index match combination 4
Excel Is this possible?? 3
Match returning #N/A 7
index/ match formulas orice 3
Help with INDEX 1

Back
Top