Index & match with multiple criteria

mark91345

Board Regular
Joined
Feb 11, 2011
Messages
113
Help! I am trying to get the Volume for a specific stock on a specific date, using Index & Match. The Volume figure I get is completely wrong. I don't know how to fix this.


DateSymbolDaily VolumeSymbolPrice
11/18/19A 100,168A
79.12​
What is the Daily Volume for
11/19/19A 142,303ABC
20.56​
SymbolABC
11/20/19A 132,534AACAY
6.99​
Date11/20/19
11/21/19A 123,815AAAU
1.88​
Volume
11/22/19A 134,372
11/01/19ABC 491,539
11/04/19ABC 261,774
11/05/19ABC 294,396FORMULAS ATTEMPTED:
11/06/19ABC 184,704Symbol6=MATCH($I$3,$B$2:$B$21,0)
11/07/19ABC 224,809Date3=MATCH($I$4,$A$2:$A$21,0)
11/18/19ABC 202,875Volume517{=INDEX($C$2:$C$21,MATCH($I$4,$A$2:$A$21,0)*MATCH($I$3,$B$2:$B$21,0))}
11/19/19ABC 142,562
11/20/19ABC 206,502
11/21/19ABC 169,054
11/22/19ABC 152,609
11/04/19AKL 10,304
11/05/19AKL 39,307
11/06/19AKL 517
11/18/19AKL 700
11/22/19AKL 232
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try

=INDEX(C$2:C$21,AGGREGATE(15,6,(ROW(C$2:C$21)-ROW(C$2)+1)/((A$2:A$21=I4)*(B$2:B$21=I3)),1))

M.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top