View Single Post
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default Using cell contents to reference worksheet names

Hi timsantiago

See the Excel help for the Indirect worksheet function

--
Regards Ron de Bruin
http://www.rondebruin.nl


"timsantiago" wrote in message
...

I have a Workbook with about 20 worksheets (say, 'ABC', 'DEF', etc). I
also have a summary sheet within this workbook. So, *B1='ABC'*,
C1='DEF', etc. Column A is a list of all the information in my
worksheets. The rest is a tally of quantities of each row in each
worksheet.

I am performing an HLOOKUP of the info in Col A, and want to refer to
the worksheets in row 1 [=HLOOKUP(Cell A2,*ABC!*...]. My question is:
How can I use cell B1 (ABC), as part of my formula to reference my
worksheet, so when I drag my formula to column C, it will reference
cell C1 [DEF], and therefore, worksheet DEF? Directly using cells in
that function does not work [=HLOOKUP(Cell A2,*B1!*...] looks for sheet
B1, which does not exist...

Thank you.

Tim S.


--
timsantiago
------------------------------------------------------------------------
timsantiago's Profile: http://www.excelforum.com/member.php...o&userid=28656
View this thread: http://www.excelforum.com/showthread...hreadid=483242