D
David Tannenbaum
On one tab I have data that looks like this:
8/1/2012
1 29381
2 2423
8/2/2012
5 23231
8 7542
On the second tab I would like to automatically pull this data depending on what today's date is.
So, for example, I would like to do a VLOOKUP for "1" on 8/1/2012.
So on the second tab, in A1, I have created a formula to tell me what row to start my VLOOKUP on:
=MATCH(D3,'DT''s raw data'!A:A,0)+1
(Here "D3" is :"8/1/12"). This returns "2'. I have also created a formula, in A2, that tells me where to end my VLOOKUP for 8/1/12:
=MATCH(E3,'DT''s raw data'!A:A,0)-1
This returns "3".
Now I would like to write the VLOOKUP so it pulls from A2:B3 on the second tab. Something like this:
=vlookup(1,FirstTab!A[A1]:B[A2],2,false)
Obviously that "A[A1]" and "B[A2]" isn't working. Any way I can make it work?
8/1/2012
1 29381
2 2423
8/2/2012
5 23231
8 7542
On the second tab I would like to automatically pull this data depending on what today's date is.
So, for example, I would like to do a VLOOKUP for "1" on 8/1/2012.
So on the second tab, in A1, I have created a formula to tell me what row to start my VLOOKUP on:
=MATCH(D3,'DT''s raw data'!A:A,0)+1
(Here "D3" is :"8/1/12"). This returns "2'. I have also created a formula, in A2, that tells me where to end my VLOOKUP for 8/1/12:
=MATCH(E3,'DT''s raw data'!A:A,0)-1
This returns "3".
Now I would like to write the VLOOKUP so it pulls from A2:B3 on the second tab. Something like this:
=vlookup(1,FirstTab!A[A1]:B[A2],2,false)
Obviously that "A[A1]" and "B[A2]" isn't working. Any way I can make it work?