kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 955
- Office Version
- 365
Hi
I have the following table:
Table 1 is the data table
Table 2 is the dates for selection.
In Table 3, I am trying to populate only the dates and prices based on the selection in Table 2. I am able to use xlookup for the first date to populate but I am not sure how to continue to populate for the rest of the dates and price.
=XLOOKUP(G3,C4:C26,C4:C26)
The expected results is in Table 3
Appreciate all the help. Thank you in advance
I have the following table:
Book1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | J | |||
2 | Table 1 | Table 2 | Table 3 | |||||||
3 | Date | Price | Start Date | 7/6/2012 | Date | Price | ||||
4 | 2/11/2010 | 1.405625 | End Date | 13/2/2013 | 7/6/2012 | 1.9125 | ||||
5 | 3/11/2010 | 1.425938 | 8/6/2012 | 1.96875 | ||||||
6 | 4/11/2010 | 1.476458 | 11/6/2012 | 1.874583 | ||||||
7 | 5/11/2010 | 1.478229 | 12/6/2012 | 1.93375 | ||||||
8 | 7/10/2011 | 1.336042 | 13/6/2012 | 1.895833 | ||||||
9 | 10/10/2011 | 1.473125 | 6/2/2013 | 2.354167 | ||||||
10 | 11/10/2011 | 1.504583 | 7/2/2013 | 2.36 | ||||||
11 | 7/6/2012 | 1.9125 | 8/2/2013 | 2.431667 | ||||||
12 | 8/6/2012 | 1.96875 | 11/2/2013 | 2.430833 | ||||||
13 | 11/6/2012 | 1.874583 | 12/2/2013 | 2.4025 | ||||||
14 | 12/6/2012 | 1.93375 | 13/2/2013 | 2.430417 | ||||||
15 | 13/6/2012 | 1.895833 | ||||||||
16 | 6/2/2013 | 2.354167 | ||||||||
17 | 7/2/2013 | 2.36 | ||||||||
18 | 8/2/2013 | 2.431667 | ||||||||
19 | 11/2/2013 | 2.430833 | ||||||||
20 | 12/2/2013 | 2.4025 | ||||||||
21 | 13/2/2013 | 2.430417 | ||||||||
22 | 14/2/2013 | 2.425417 | ||||||||
23 | 15/2/2013 | 2.404583 | ||||||||
24 | 19/2/2013 | 2.457083 | ||||||||
25 | 20/2/2013 | 2.345 | ||||||||
26 | 21/2/2013 | 2.26875 | ||||||||
Sheet1 |
Table 1 is the data table
Table 2 is the dates for selection.
In Table 3, I am trying to populate only the dates and prices based on the selection in Table 2. I am able to use xlookup for the first date to populate but I am not sure how to continue to populate for the rest of the dates and price.
=XLOOKUP(G3,C4:C26,C4:C26)
The expected results is in Table 3
Appreciate all the help. Thank you in advance