Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Worksheet name
I would like to refer to a worksheet name from a cell value
is there a formula equivalent to the VBA Worksheets(Range("A1").Value) I want to use this in a vlookup function =VLOOKUP(I27,Input!C10:D18,2,FALSE) Where Input! would be replaced by Worksheets(Range("A1").Value) and Range("A1")=Input Thanks -- caroline |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Worksheet name
See http://www.xldynamic.com/source/xld.xlFAQ0002.html
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "caroline" wrote in message ... I would like to refer to a worksheet name from a cell value is there a formula equivalent to the VBA Worksheets(Range("A1").Value) I want to use this in a vlookup function =VLOOKUP(I27,Input!C10:D18,2,FALSE) Where Input! would be replaced by Worksheets(Range("A1").Value) and Range("A1")=Input Thanks -- caroline |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Worksheet name
This returns the worksheet name.
I want to do something different. I have the worksheet name already in cell A1, and what to use this in a formula. Any idea. Thanks -- caroline "Bob Phillips" wrote: See http://www.xldynamic.com/source/xld.xlFAQ0002.html -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "caroline" wrote in message ... I would like to refer to a worksheet name from a cell value is there a formula equivalent to the VBA Worksheets(Range("A1").Value) I want to use this in a vlookup function =VLOOKUP(I27,Input!C10:D18,2,FALSE) Where Input! would be replaced by Worksheets(Range("A1").Value) and Range("A1")=Input Thanks -- caroline |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Worksheet name
Hi Caroline
Use INDIRECT() =VLOOKUP(I27,INDIRECT("'"&A1&"'!C10:D18"),2,FALSE) Note the additional single quotes INDIRECT( " ' "&A1 & " ' !C10:D18 ") -- Regards Roger Govier "caroline" wrote in message ... This returns the worksheet name. I want to do something different. I have the worksheet name already in cell A1, and what to use this in a formula. Any idea. Thanks -- caroline "Bob Phillips" wrote: See http://www.xldynamic.com/source/xld.xlFAQ0002.html -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "caroline" wrote in message ... I would like to refer to a worksheet name from a cell value is there a formula equivalent to the VBA Worksheets(Range("A1").Value) I want to use this in a vlookup function =VLOOKUP(I27,Input!C10:D18,2,FALSE) Where Input! would be replaced by Worksheets(Range("A1").Value) and Range("A1")=Input Thanks -- caroline |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | Charts and Charting in Excel | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | Excel Discussion (Misc queries) | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | Excel Worksheet Functions | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | New Users to Excel | |||
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet | Excel Worksheet Functions |