View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Specifiying the worksheet name in a cell

You can use

=INDIRECT("'"&A1&"'!H10")

which pulls the value in H10 from the sheet specified in A1.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"adiss" wrote in
message ...

I have several different xls with multiple worksheets in each I have
written the report that generates the data but I must manually go into
each field and change the worksheet reference each time the sheet
changes.

Could I have an additional colum which specifies which sheet to pull
data from? Then in each function sepecifiying how to create the value
needed the worksheet referance updates too.

Let me know if I need to clarify.


--
adiss
------------------------------------------------------------------------
adiss's Profile:

http://www.excelforum.com/member.php...o&userid=33939
View this thread: http://www.excelforum.com/showthread...hreadid=537156