LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Indirect or substitute?

Okay, I'm trying to get the INDIRECT function to look up a UNC address
stored in another cell so based upon this formula:

=VLOOKUP("my data",INDIRECT("'C:\temp\[spreadsheet.xls]sheet1'!$C$12:$I
$17"),1,FALSE)

....you would think that this would work:

=VLOOKUP("my data",INDIRECT(A1),1,FALSE)

....where cell A1 contains the UNC pathway C:\temp\
[spreadsheet.xls]sheet1'!$C$12:$I$17

but it doesn't, hence my post. So I tried changing the formula to
this:

=VLOOKUP("my data",INDIRECT("'C:\blank\[spreadsheet.xls]sheet1'!$C
$12:$I$17"),1,FALSE)

....and using this...

=SUBSTITUTE(E11, "blank", G12)

(E11 being the cell where the VLOOKUP is, G12 being the data to
complete the UNC address)

I've searched many forums and learned a lot, coming close to solving
this on a couple of occasions - but still no cigar. A techy at work
said the INDIRECT function cannot parse a text string which is why
it's not working. So how do I make it otherwise??? Thanks for looking
 
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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
More than 7 IF? any substitute? Jean Excel Worksheet Functions 4 March 9th 07 05:41 AM
SUBSTITUTE Steved Excel Worksheet Functions 4 June 2nd 06 06:51 PM
substitute for = CEN7272 - ExcelForums.com Excel Worksheet Functions 3 August 15th 05 09:08 PM
substitute AMK Excel Worksheet Functions 1 June 13th 05 01:23 AM


All times are GMT +1. The time now is 06:07 PM.

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"