T
TQuestar
RE: Excel 2007
I have a workbook, with a SUMMARY worksheet (tab), where the first column
(A) contains stock ticker symbole, e.g. XOM. In addition, there are many more
worksheets (tabs), all labelled in this way 091231, 100131, etc That is,
YYMMDD.
In all those pages I have a I have an area A2:G50, where the first column
contains a stock ticker symbol, and columns B, C, etc. have various data.
In the SUMMARY worksheet I want to callup data from the other sheets. For
example, say SUMMARY!A4 is XON
I could have =VLOOKUP(A4,'091231'!A2:G50,2,1)
and that would return the value in sheet 091231 in the row where XOM is in
the first column. So far, so good.
Here is my problem, I want the lookup formula to refer to an input cell in
SUMMARY, say E1, and I want to be able to input the value 12/31/09 into E1,
and have the cell with VLOOKUP function return the value I want from
worksheet 091231. I want something like this, but this fails, and every
variation I can think of fails as well:
=VLOOKUP(A4,cell("contents",E1)!A2:G50,2,1)
I think I have two problems:
1. VLOOKUP requires a as a sheet name, but "12/31/09" is a value
2. Something more is required, as even if I enter "091231" or "'091231" into
E1, this fails.
I will appreciate any help, as I have tried everything I can think of.
TQuestar
I have a workbook, with a SUMMARY worksheet (tab), where the first column
(A) contains stock ticker symbole, e.g. XOM. In addition, there are many more
worksheets (tabs), all labelled in this way 091231, 100131, etc That is,
YYMMDD.
In all those pages I have a I have an area A2:G50, where the first column
contains a stock ticker symbol, and columns B, C, etc. have various data.
In the SUMMARY worksheet I want to callup data from the other sheets. For
example, say SUMMARY!A4 is XON
I could have =VLOOKUP(A4,'091231'!A2:G50,2,1)
and that would return the value in sheet 091231 in the row where XOM is in
the first column. So far, so good.
Here is my problem, I want the lookup formula to refer to an input cell in
SUMMARY, say E1, and I want to be able to input the value 12/31/09 into E1,
and have the cell with VLOOKUP function return the value I want from
worksheet 091231. I want something like this, but this fails, and every
variation I can think of fails as well:
=VLOOKUP(A4,cell("contents",E1)!A2:G50,2,1)
I think I have two problems:
1. VLOOKUP requires a as a sheet name, but "12/31/09" is a value
2. Something more is required, as even if I enter "091231" or "'091231" into
E1, this fails.
I will appreciate any help, as I have tried everything I can think of.
TQuestar