LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Jeff Lowenstein
 
Posts: n/a
Default Problems using a variable as a Table_Array in VLOOKUP

I am getting a #N/A when I try to use a variable to represent a table array.
The table array incluses a network path. It looks like this:

=IF(ISNA(VLOOKUP(A29,'S:\CLIENTS\P\Tracking\2005_T racking\Daily\[Through
7-13-05.xls]how_ordered'!$A:$F,6,FALSE)),0,VLOOKUP(A29,'S:\CLI ENTS\P\Tracking\2005_Tracking\Daily\[Through 7-13-05.xls]how_ordered'!$A:$F,6,FALSE))

This formula does work on it's own. What I am trying to do is be able to
change the date automatically. First, I have a row with all the date in a
m-d-yy format. I then use the TEXT function on the date. Next I use
SUBSTITUTE to change 7-14-05 to 7-14-05. This resides in cell U9. When I
use VLOOKUP(A29,U9,6,FALSE) or when I use VLOOKUP(A29,INDIRECT("U9"),6,FALSE)
I receive a #N/A error. If I remove the " " from the idirect statement, I
get a #REF error. I need to be able to increment the U9 when I copy
horizontally ( i.e. V9, W9, X9,...) Any help would be appreciated.
 
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
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
DDE linking with variable from named cell! Ben Joiner Links and Linking in Excel 1 March 24th 05 11:32 PM
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM
I Need VBA Assistance for global variable question Brent E Excel Discussion (Misc queries) 1 March 1st 05 08:46 PM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM


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