ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Index Match with Min (https://www.excelbanter.com/excel-worksheet-functions/257909-index-match-min.html)

New Hope UMC

Index Match with Min
 
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!

Domenic[_3_]

Index Match with Min
 
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 - Excel
www.xl-central.com, "Your Quick Reference to Excel Solutions"

"New Hope UMC" wrote in message
...
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!



New Hope UMC

Index Match with Min
 
On Mar 3, 4:05*pm, "Domenic" wrote:
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"

"New Hope UMC" wrote in ...



I have 3 columns; Market #, Start Date and End Date
Currently when ImatchMarket #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!- Hide quoted text -


- Show quoted text -


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


All times are GMT +1. The time now is 02:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com