travellerva
Board Regular
- Joined
- Mar 31, 2012
- Messages
- 52
- Office Version
- 365
- Platform
- MacOS
I have a table of historical stock quotes for multiple stock symbols and need to find the correct formula for selecting the quote for a specific date for a specific symbol.
I need to find the correct formula for, say, finding the quote for BRSC on 2/3/25 (highlighted on the above minisheet. HAve tried various versions of INDEX/MATCH without success. There must be a simple answer! If it helps, I could shift the header row (1) to the left so the symbol header is above the date range.
Thanks for any help.
Book1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | AAPL | AZN | BRK.B | BRSC | ||||||
2 | Date | Close | Date | Close | Date | Close | Date | Close | ||
3 | 2/14/25 | $ 244.60 | 2/14/25 | $ 73.58 | 2/14/25 | $ 479.59 | 2/17/25 | 1,318.00 | ||
4 | 2/13/25 | $ 241.53 | 2/13/25 | $ 74.45 | 2/13/25 | $ 480.49 | 2/14/25 | 1,320.00 | ||
5 | 2/12/25 | $ 236.87 | 2/12/25 | $ 74.43 | 2/12/25 | $ 471.73 | 2/13/25 | 1,328.00 | ||
6 | 2/11/25 | $ 232.62 | 2/11/25 | $ 72.73 | 2/11/25 | $ 472.61 | 2/12/25 | 1,332.00 | ||
7 | 2/10/25 | $ 227.65 | 2/10/25 | $ 72.66 | 2/10/25 | $ 470.17 | 2/11/25 | 1,340.00 | ||
8 | 2/7/25 | $ 227.63 | 2/7/25 | $ 71.99 | 2/7/25 | $ 472.74 | 2/10/25 | 1,344.00 | ||
9 | 2/6/25 | $ 233.22 | 2/6/25 | $ 72.36 | 2/6/25 | $ 477.22 | 2/7/25 | 1,346.00 | ||
10 | 2/5/25 | $ 232.47 | 2/5/25 | $ 70.94 | 2/5/25 | $ 473.73 | 2/6/25 | 1,358.00 | ||
11 | 2/4/25 | $ 232.80 | 2/4/25 | $ 68.96 | 2/4/25 | $ 467.49 | 2/5/25 | 1,344.00 | ||
12 | 2/3/25 | $ 228.01 | 2/3/25 | $ 69.86 | 2/3/25 | $ 464.61 | 2/4/25 | 1,340.00 | ||
13 | 1/31/25 | $ 236.00 | 1/31/25 | $ 70.76 | 1/31/25 | $ 468.67 | 2/3/25 | 1,350.00 | ||
14 | 1/30/25 | $ 237.59 | 1/30/25 | $ 71.24 | 1/30/25 | $ 472.35 | 1/31/25 | 1,364.00 | ||
15 | 1/29/25 | $ 239.36 | 1/29/25 | $ 70.25 | 1/29/25 | $ 469.26 | 1/30/25 | 1,356.00 | ||
16 | 1/28/25 | $ 238.26 | 1/28/25 | $ 69.59 | 1/28/25 | $ 469.97 | 1/29/25 | 1,346.00 | ||
17 | 1/27/25 | $ 229.86 | 1/27/25 | $ 70.08 | 1/27/25 | $ 474.70 | 1/28/25 | 1,348.00 | ||
18 | 1/24/25 | $ 222.78 | 1/24/25 | $ 69.06 | 1/24/25 | $ 463.19 | 1/27/25 | 1,330.00 | ||
19 | 1/23/25 | $ 223.66 | 1/23/25 | $ 68.60 | 1/23/25 | $ 459.83 | 1/24/25 | 1,340.00 | ||
20 | 1/22/25 | $ 223.83 | 1/22/25 | $ 68.20 | 1/22/25 | $ 460.51 | 1/23/25 | 1,340.00 | ||
21 | 1/21/25 | $ 222.64 | 1/21/25 | $ 67.96 | 1/21/25 | $ 468.57 | 1/22/25 | 1,344.00 | ||
22 | 1/17/25 | $ 229.98 | 1/17/25 | $ 66.60 | 1/17/25 | $ 467.95 | 1/21/25 | 1,352.00 | ||
Sheet1 |
I need to find the correct formula for, say, finding the quote for BRSC on 2/3/25 (highlighted on the above minisheet. HAve tried various versions of INDEX/MATCH without success. There must be a simple answer! If it helps, I could shift the header row (1) to the left so the symbol header is above the date range.
Thanks for any help.