Microsoft
Software
Hardware
Network
Question : Can a value from Vlookuop be used as a worksheet name to retrieve data
I have an Excel workbook that has multiple worksheets. Relative to which code is selected a respective worksheet is read to retrieve the data. Is there a way to do this ?
Example: If code 99 is selected, I would like to use a formula such as =Totals!B6
If code 01 is selected, I would like to use a formula such as =Winter!B6
Answer : Can a value from Vlookuop be used as a worksheet name to retrieve data
You can do something like this, assuming your codes are text:
=IF(VLOOKUP(A2,Lookup
Table,2,FA
LSE)="99",
Totals!B6,
IF(VLOOKUP
(A2,Lookup
Table,2,FA
LSE)="01",
Winter!B6,
"???"))
Random Solutions
Unable to Send Emails via Road Runner from Apple iPad Connected to Wifi
Start applications from command promt
how can i edit this excell ?
Windows Server 2003 Intermittent Freezing Issues
Fix NMIndexStoreSvr.exe error [5296]
Office Communications Server R2 Installation Issue
Revert to Visual Studio 2008
Use of Excel Macro in MS Access 2000
How to cleanly kill an Excel object from memory.
C loop string cat a file name + int n loop