View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Nigel Barton Nigel Barton is offline
external usenet poster
 
Posts: 8
Default Lookup where target worksheet may vary

I have a formula, similar to one below, that I want to use in many workbooks:

=HLOOKUP(TCI_TestCycle,[TestGroups.xls]REGR!Group,5,FALSE)

The worksheet REGR however will change. Sometimes it will have other values
depending on the workbook in which the formula is used. These worksheets are
in a separate workbook.

How, instead of the string REGR, can I insert a value from another cell in
the workbook?

Thanks,
--
Nigel Barton