Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
reference other worksheets via variable names
Is it possible to reference another worksheet by entering the name of that
worksheet in an input cell within the current worksheet and referencing this cell within a function in the current worksheet. example: current sheet name "Convert" cell C11 required to be = to cell H5 on another worksheet named either "word" or "report". The typical function would be "=Word!H5" or "=Report!H5" How do I make the "Word!" part of the above function a variable? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
reference other worksheets via variable names
Try this:
A1 = Word =INDIRECT("'"&A1&"'!H5") Note that H5 becomes an absolute reference. -- Biff Microsoft Excel MVP "Huggy" wrote in message ... Is it possible to reference another worksheet by entering the name of that worksheet in an input cell within the current worksheet and referencing this cell within a function in the current worksheet. example: current sheet name "Convert" cell C11 required to be = to cell H5 on another worksheet named either "word" or "report". The typical function would be "=Word!H5" or "=Report!H5" How do I make the "Word!" part of the above function a variable? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
reference other worksheets via variable names
Thanks, exactly what I asked for. The absolute cell reference will work.
Is there a quick way to change about 100 cells that currently reference cells (not in any set order) in another worksheet with your formuala to use the variable worksheet name but keep the same cell reference, like the H5. "T. Valko" wrote: Try this: A1 = Word =INDIRECT("'"&A1&"'!H5") Note that H5 becomes an absolute reference. -- Biff Microsoft Excel MVP "Huggy" wrote in message ... Is it possible to reference another worksheet by entering the name of that worksheet in an input cell within the current worksheet and referencing this cell within a function in the current worksheet. example: current sheet name "Convert" cell C11 required to be = to cell H5 on another worksheet named either "word" or "report". The typical function would be "=Word!H5" or "=Report!H5" How do I make the "Word!" part of the above function a variable? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
reference other worksheets via variable names
Is there a quick way to change about 100 cells that currently reference
cells (not in any set order) in another worksheet with your formuala to use the variable worksheet name but keep the same cell reference, like the H5. Hmmm...not that I can think of. -- Biff Microsoft Excel MVP "Huggy" wrote in message ... Thanks, exactly what I asked for. The absolute cell reference will work. Is there a quick way to change about 100 cells that currently reference cells (not in any set order) in another worksheet with your formuala to use the variable worksheet name but keep the same cell reference, like the H5. "T. Valko" wrote: Try this: A1 = Word =INDIRECT("'"&A1&"'!H5") Note that H5 becomes an absolute reference. -- Biff Microsoft Excel MVP "Huggy" wrote in message ... Is it possible to reference another worksheet by entering the name of that worksheet in an input cell within the current worksheet and referencing this cell within a function in the current worksheet. example: current sheet name "Convert" cell C11 required to be = to cell H5 on another worksheet named either "word" or "report". The typical function would be "=Word!H5" or "=Report!H5" How do I make the "Word!" part of the above function a variable? |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
reference other worksheets via variable names
Thanks for the help anyway. I thought the absolute reference would make it
difficult to quickly change all the cells. "T. Valko" wrote: Is there a quick way to change about 100 cells that currently reference cells (not in any set order) in another worksheet with your formuala to use the variable worksheet name but keep the same cell reference, like the H5. Hmmm...not that I can think of. -- Biff Microsoft Excel MVP "Huggy" wrote in message ... Thanks, exactly what I asked for. The absolute cell reference will work. Is there a quick way to change about 100 cells that currently reference cells (not in any set order) in another worksheet with your formuala to use the variable worksheet name but keep the same cell reference, like the H5. "T. Valko" wrote: Try this: A1 = Word =INDIRECT("'"&A1&"'!H5") Note that H5 becomes an absolute reference. -- Biff Microsoft Excel MVP "Huggy" wrote in message ... Is it possible to reference another worksheet by entering the name of that worksheet in an input cell within the current worksheet and referencing this cell within a function in the current worksheet. example: current sheet name "Convert" cell C11 required to be = to cell H5 on another worksheet named either "word" or "report". The typical function would be "=Word!H5" or "=Report!H5" How do I make the "Word!" part of the above function a variable? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Variable Worksheet Names | Excel Worksheet Functions | |||
creating a variable for file names | Excel Discussion (Misc queries) | |||
Variable names for named range | Excel Discussion (Misc queries) | |||
variable file names | Excel Discussion (Misc queries) | |||
Variable Names in Formulas | Excel Discussion (Misc queries) |