Hello,
I want to match several ranges to return the highest match as follows (this is a tweaked example that I found):
<colgroup><col><col span="2"><col></colgroup><tbody>
</tbody>
I want to obtain a Date (column D) based on Order# AND Type. Let us assume that Order# = 54321 in cell F2 and Type = a in cell F3.
I have done this, with an error:
=INDEX(D3:D11,MATCH(MAX(IF(AND(A3:A11=F2,C3:C11=F3),B3:B11)),IF(AND(A3:A11=F2,C3:C11=F3),B3:B11),0))
(yes, I am using ctrl+shift for the array formula)
Any help?
Thanks
I want to match several ranges to return the highest match as follows (this is a tweaked example that I found):
Column A | Column B | Column C | Column D |
Order # | Version | Type | Date |
12345 | 4 | a | 21/02/2013 |
12345 | 2 | b | 28/04/2013 |
12345 | 5 | a | 4/8/2013 |
12345 | 3 | a | 27/09/2013 |
12345 | 1 | b | 2/3/2014 |
54321 | 3 | a | 31/03/2014 |
54321 | 4 | a | 7/10/2014 |
54321 | 1 | b | 13/12/2014 |
54321 | 7 | b | 21/12/2014 |
<colgroup><col><col span="2"><col></colgroup><tbody>
</tbody>
I want to obtain a Date (column D) based on Order# AND Type. Let us assume that Order# = 54321 in cell F2 and Type = a in cell F3.
I have done this, with an error:
=INDEX(D3:D11,MATCH(MAX(IF(AND(A3:A11=F2,C3:C11=F3),B3:B11)),IF(AND(A3:A11=F2,C3:C11=F3),B3:B11),0))
(yes, I am using ctrl+shift for the array formula)
Any help?
Thanks