Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Variable worksheet name
I want to use the result in a cell to complete the worksheet name part of a
formula, so that the worksheet name can be a variable. eg. ='sheet2'!A4 but the sheet name needs to be able to change depending on what is in cell C2 on sheet 1. Is there already a function that will pull together the text 'Sheet the value in cell C2 and the text '!A4 and use it as a formula? or will I need to write a function in VB? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Variable worksheet name
Look at INDIRECT() in XL Help:
For instance: =INDIRECT("'" & A1 & "'!A4") In article , Chris wrote: I want to use the result in a cell to complete the worksheet name part of a formula, so that the worksheet name can be a variable. eg. ='sheet2'!A4 but the sheet name needs to be able to change depending on what is in cell C2 on sheet 1. Is there already a function that will pull together the text 'Sheet the value in cell C2 and the text '!A4 and use it as a formula? or will I need to write a function in VB? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Aling multiple sets of data by header column | Excel Discussion (Misc queries) | |||
Needed: worksheet export help | Excel Discussion (Misc queries) | |||
Populating worksheet via a drop down list ! | Excel Worksheet Functions | |||
Search/Match between 2 x separate Worksheets and populate result in third worksheet | Excel Discussion (Misc queries) | |||
Weekly Transaction Processing | Excel Worksheet Functions |