Hello beautiful community.
I have a formula that uses INDEX and MATCH with Multiple Criteria, one of them is Countif.
|
A |
B |
C |
D |
E |
1 |
Reference |
Amount |
Type |
Lookup This |
Result |
2 |
X1 |
2000 |
Masters |
2000 |
X1 |
3 |
X2 |
2000 |
Masters |
2000 |
X2 |
4 |
X3 |
2000 |
Mast |
2000 |
X3 |
5 |
X4 |
1000 |
Mast |
1200 |
X6 |
6 |
X5 |
1000 |
Mast |
1000 |
X4 |
7 |
X6 |
1200 |
Mast |
1000 |
X5 |
The formula in Column E is:
I added the COUNTIF so that I can capture the second and third values of a match and index and it is working perfectly. But after adding COUNTIF the computer went wild (of course on bigger tables)
Do you know any better formula that will provide the same results?
Excel.png
Bookmarks