Hi there,
I need to find the max date from column A (DailyDate) after the results are determined by my INDEX MATCH formula. The example is part of the results set and I need to have it pull the Total_Demand column that matches the MAX of the date in column A - 7/29/2011, 2,350,935. The below formula is giving me the 1st row - 6/27/2011, 2,451,082
=INDEX(TotalDmd,MATCH(1,INDEX((DIV=$L$1)*(FuturesMo=$P$1)*(Data!$E$1:$E$6000=$R$1),0),0),)
I think I need to use something like MAX($A$1:$A$6000) but can't determine where in my formula to place it. Anywhere I put it give me the same results.
=INDEX(TotalDmd,MATCH(1,INDEX((DIV=$L$1)*(FuturesMo=$P$1)*(Data!$V$1:$V$6000=$R$1),MAX($A$1:$A$6000),0),0),0),)
Excel 2007
Thanks for any ideas on this one,
Toni
I need to find the max date from column A (DailyDate) after the results are determined by my INDEX MATCH formula. The example is part of the results set and I need to have it pull the Total_Demand column that matches the MAX of the date in column A - 7/29/2011, 2,350,935. The below formula is giving me the 1st row - 6/27/2011, 2,451,082
=INDEX(TotalDmd,MATCH(1,INDEX((DIV=$L$1)*(FuturesMo=$P$1)*(Data!$E$1:$E$6000=$R$1),0),0),)
I think I need to use something like MAX($A$1:$A$6000) but can't determine where in my formula to place it. Anywhere I put it give me the same results.
=INDEX(TotalDmd,MATCH(1,INDEX((DIV=$L$1)*(FuturesMo=$P$1)*(Data!$V$1:$V$6000=$R$1),MAX($A$1:$A$6000),0),0),0),)
Excel Workbook | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | DailyDate | Div | Total_Demand | FuturesMo | RptgMonth | ||
2 | 6/27/2011 | 20 | 2451082 | 6/1/2011 | 7/1/2011 | ||
3 | 6/28/2011 | 20 | 2441258 | 6/1/2011 | 7/1/2011 | ||
4 | 6/29/2011 | 20 | 2434215 | 6/1/2011 | 7/1/2011 | ||
5 | 7/27/2011 | 20 | 2351693 | 6/1/2011 | 7/1/2011 | ||
6 | 7/28/2011 | 20 | 2351649 | 6/1/2011 | 7/1/2011 | ||
7 | 7/29/2011 | 20 | 2350935 | 6/1/2011 | 7/1/2011 | ||
Sheet1 |
Thanks for any ideas on this one,
Toni