View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vacation's Over Vacation's Over is offline
external usenet poster
 
Posts: 279
Default Referencing a cell when using VLOOKUP

concatenate

prety sure that if you use concatenate and replace teh week code with a cell
referenceand then change the cell reference then the Vlooup will reflect the
change.

=VLOOKUP(D2,Concatenate(" 'I:\Costs\WE actuals\Date Format MMDDYY\[ + A3 +
..xls]Customer'!$1:$65536",5,FALSE)

Air code = you may have syntax issues with teh quotes but the approach is
sound...

"SandyUK" wrote:


Hello all

Does anybody know how i can replace WE 08 27 05 in the table_array part
of the formula below with a reference to a cell?

The idea is that I don't have to manually update the links everytime i
want to look at a different week just the relevant cell.

=VLOOKUP(D2,'I:\Costs\WE actuals\Date Format MMDDYY\[WE 08 27
05.xls]Customer'!$1:$65536,5,FALSE)

Regards

Adrian


--
SandyUK
------------------------------------------------------------------------
SandyUK's Profile: http://www.excelforum.com/member.php...o&userid=17487
View this thread: http://www.excelforum.com/showthread...hreadid=477505