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
MySql injection hack
Outlook Contact Consolidation
How to Create Firebird Trigger to get AutoID by using Vb.net code
Send two files in email as attachment in unix shell scripting using ksh
childWindow
Sync a users AD password with a SQL table?
How to handle button click without reloading page first
How do I set up my wireless network?
Export contact notes from an ACT! 6 database to an Excel or CSV file
C# - Can a partial class override a property's get method?