Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SpokaneExcel
 
Posts: n/a
Default use data in a cell in a formula

I am using vlookup to access data in other spreadsheets. The spreadsheet to
access varies by the data being searched for. I am trying to use a cell
reference for the table_array value to make things easier. Something like:
=IF($B25<"",VLOOKUP(B25,B7,2,FALSE),"") where the path name is stored in B7.
Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default use data in a cell in a formula

You would need to use the INDIRECT function for that:

=IF($B25<"",VLOOKUP(B25,INDIRECT(B7),2,FALSE),"")

HTH,
Elkar


"SpokaneExcel" wrote:

I am using vlookup to access data in other spreadsheets. The spreadsheet to
access varies by the data being searched for. I am trying to use a cell
reference for the table_array value to make things easier. Something like:
=IF($B25<"",VLOOKUP(B25,B7,2,FALSE),"") where the path name is stored in B7.
Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SpokaneExcel
 
Posts: n/a
Default use data in a cell in a formula

I've tried indirect() and every combination of [] and ' and # and everything
else I can think of. I copied the table_array name out of a complete equation
that does work. The value of B7 is 'J:\Project List\[Project List
2006.xls]Sheet1'!$A$2:$B$400



"Elkar" wrote:

You would need to use the INDIRECT function for that:

=IF($B25<"",VLOOKUP(B25,INDIRECT(B7),2,FALSE),"")

HTH,
Elkar


"SpokaneExcel" wrote:

I am using vlookup to access data in other spreadsheets. The spreadsheet to
access varies by the data being searched for. I am trying to use a cell
reference for the table_array value to make things easier. Something like:
=IF($B25<"",VLOOKUP(B25,B7,2,FALSE),"") where the path name is stored in B7.
Any suggestions?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default use data in a cell in a formula

You can't use INDIRECT on closed workbooks that's why (if the workbook isn't
closed no need for a path), there are some add-ins like

Morefunc (INDIRECT.EXT) and Harlan Grove wrote one called Pull


ftp://members.aol.com/hrlngrv/ (look for pull.zip)

http://xcell05.free.fr/english/ (moribund)






--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"SpokaneExcel" wrote in message
...
I've tried indirect() and every combination of [] and ' and # and
everything
else I can think of. I copied the table_array name out of a complete
equation
that does work. The value of B7 is 'J:\Project List\[Project List
2006.xls]Sheet1'!$A$2:$B$400



"Elkar" wrote:

You would need to use the INDIRECT function for that:

=IF($B25<"",VLOOKUP(B25,INDIRECT(B7),2,FALSE),"")

HTH,
Elkar


"SpokaneExcel" wrote:

I am using vlookup to access data in other spreadsheets. The
spreadsheet to
access varies by the data being searched for. I am trying to use a
cell
reference for the table_array value to make things easier. Something
like:
=IF($B25<"",VLOOKUP(B25,B7,2,FALSE),"") where the path name is stored
in B7.
Any suggestions?



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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
how to extract data from a cell in a formula in another cell vidhya Excel Worksheet Functions 1 October 17th 05 04:31 PM
Any cell containing formula seen as data instead of formula Jeffry61 Excel Worksheet Functions 2 September 23rd 05 02:04 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 10:02 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"