Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Referencing a cell when using VLOOKUP


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

  #2   Report Post  
Posted to microsoft.public.excel.programming
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Referencing a cell when using VLOOKUP


Thanks for the reply

I have tried this approach and checked the syntax etc and no joy. It
been a long term problem which i can't seem to find a solution for.

Regards

Adria

--
SandyU
-----------------------------------------------------------------------
SandyUK's Profile: http://www.excelforum.com/member.php...fo&userid=1748
View this thread: http://www.excelforum.com/showthread.php?threadid=47750

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Referencing a cell when using VLOOKUP

The function you want to use is =indirect().

The bad news is that =indirect() will return an error if that other workbook
isn't open.

Harlan Grove wrote a UDF called PULL that will retrieve the value from a closed
workbook.

You can find the function at Harlan's FTP site:
ftp://members.aol.com/hrlngrv/
Look for pull.zip

SandyUK wrote:

Thanks for the reply

I have tried this approach and checked the syntax etc and no joy. Its
been a long term problem which i can't seem to find a solution for.

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


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Referencing a cell when using VLOOKUP

Harlan's FTP has "Some Assembly required"


You might use Ron's Code to pull data from diferent files onto a master
sheet in your book then Vlookup to select the right data from the Master sheet

http://www.rondebruin.nl/summary.htm

"Dave Peterson" wrote:

The function you want to use is =indirect().

The bad news is that =indirect() will return an error if that other workbook
isn't open.

Harlan Grove wrote a UDF called PULL that will retrieve the value from a closed
workbook.

You can find the function at Harlan's FTP site:
ftp://members.aol.com/hrlngrv/
Look for pull.zip

SandyUK wrote:

Thanks for the reply

I have tried this approach and checked the syntax etc and no joy. Its
been a long term problem which i can't seem to find a solution for.

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


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Referencing a cell when using VLOOKUP


Thanks Dave

I have been ill for a while and just got back to this project (forgot i
had posted the query but came across it when searching the site).

I will give it a try.

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

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Referencing a cell when using VLOOKUP

You may want to verify that you have Harlan's latest and greatest version of
Pull.

SandyUK wrote:

Thanks Dave

I have been ill for a while and just got back to this project (forgot i
had posted the query but came across it when searching the site).

I will give it a try.

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


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup returning NA when referencing cell data to another sheet Giacomo[_2_] Excel Worksheet Functions 3 March 31st 09 11:30 PM
Vlookup , Referencing a cell to refence table array seans Excel Worksheet Functions 7 November 22nd 08 07:32 AM
VLOOKUP referencing a cell with a URL corlev Excel Worksheet Functions 1 August 30th 07 03:54 PM
Variable in VLOOKUP and referencing a cell another file in excel Dave T at home Excel Worksheet Functions 1 August 9th 06 03:14 AM
Vlookup? Referencing cells? Karen Excel Worksheet Functions 4 June 26th 06 04:42 PM


All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"