View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
ones_conscience ones_conscience is offline
external usenet poster
 
Posts: 1
Default Cell value as part of a worksheet ref. in Excel

I have a column of invoice numbers.
I have a column of names also taken from a cell on each of those invoice
worksheets
(The invoice worksheets are in another file.)
The formula to obtain the names is:
='D:\Documents and Settings\My Documents\Work\[Filename.xls]SheetName'!$E$2

How can I reference just the SheetName part of the formula to the adjacent
cell which contains the matching invoice number? (So that I can fill down
the formula without having to type it afresh for each cell.)