Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I would like to use the value of a cell, in this case a stock ticker, to
refer to another worksheet that is named identically. For instance, I have a cell value UPS and a worksheet named 'UPS', I would like to pull a value, say D21, out of UPS! without hard-coding UPS! into my formula. I'd eventually like it to reference a column of different tickers and pull out of an equal number of different worksheets, all named the values of the tickers. I think it should be a simple syntax thing, something like ='value(B1)'!D$21$, if my reference is in cell B1. Is this possible? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Use the INDIRECT() function, like so:
=INDIRECT(B1&"!D21") -- Regards, Dave "JRP2003" wrote: I would like to use the value of a cell, in this case a stock ticker, to refer to another worksheet that is named identically. For instance, I have a cell value UPS and a worksheet named 'UPS', I would like to pull a value, say D21, out of UPS! without hard-coding UPS! into my formula. I'd eventually like it to reference a column of different tickers and pull out of an equal number of different worksheets, all named the values of the tickers. I think it should be a simple syntax thing, something like ='value(B1)'!D$21$, if my reference is in cell B1. Is this possible? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you. You provided both the command and the syntax and my question will
be answered evermore. I had been eyeing the intirect() command but knew little about it and less about its correct use. Thanks again! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using a Text Cell to Reference a Worksheet Name | Excel Worksheet Functions | |||
Lookup Data in two seperate Spreadsheets | Excel Worksheet Functions | |||
Cell reference in different worksheet in formula | Excel Worksheet Functions | |||
Can you reference a cell that is sorted in excel 2002? | Excel Worksheet Functions | |||
Cell Reference Math | Excel Worksheet Functions |