Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
willydlish
 
Posts: n/a
Default Table Array in VLOOKUP Relies on Data Validation


I apologize if this has already been addressed somewhere else, but I
could not find it....

I have a timesheet that I'm creating that relies heavily on data
validation driving drop-down lists. I've created ranges for all the
possible results of the drop-down choices, however, when I want to
query additional information in a named range through VLOOKUP, I cannot
use the result of the drop-down choice as the valid range. Despite the
cell displaying the range name it cannot pass this to VLOOKUP without
giving me an error.

Does anyone know how I can take the displayed result in a drop down box
and use this to fuel the table array for a VLOOKUP...in a worksheet
function !?!

Willy D.


--
willydlish
------------------------------------------------------------------------
willydlish's Profile: http://www.excelforum.com/member.php...o&userid=19985
View this thread: http://www.excelforum.com/showthread...hreadid=345730

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

You can use Indirect provided it's a static named range.
If it's a dynamic range it won't work.

Assume the dropdown is in C1:

=VLOOKUP(A1,INDIRECT(C1),2,0)

Biff

-----Original Message-----

I apologize if this has already been addressed somewhere

else, but I
could not find it....

I have a timesheet that I'm creating that relies heavily

on data
validation driving drop-down lists. I've created ranges

for all the
possible results of the drop-down choices, however, when

I want to
query additional information in a named range through

VLOOKUP, I cannot
use the result of the drop-down choice as the valid

range. Despite the
cell displaying the range name it cannot pass this to

VLOOKUP without
giving me an error.

Does anyone know how I can take the displayed result in a

drop down box
and use this to fuel the table array for a VLOOKUP...in a

worksheet
function !?!

Willy D.


--
willydlish
----------------------------------------------------------

--------------
willydlish's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=19985
View this thread:

http://www.excelforum.com/showthread...hreadid=345730

.

  #3   Report Post  
willydlish
 
Posts: n/a
Default


It is a static name range...many thanks Biff.

Ya know I played with INDIRECT a zillion times but completely blanked
on this possibility.

Cheers.


--
willydlish
------------------------------------------------------------------------
willydlish's Profile: http://www.excelforum.com/member.php...o&userid=19985
View this thread: http://www.excelforum.com/showthread...hreadid=345730

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
How to use a cell value as Table Array in VLOOKUP worksheet function willydlish Excel Discussion (Misc queries) 2 February 16th 05 02:47 AM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM
Data Table - does it work with DDE links and Stock Tickers? Post Tenebras Lux Excel Worksheet Functions 0 December 1st 04 05:17 PM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM
time formatting and time categorizing (vlookup or data validation) MarianneR Excel Worksheet Functions 4 November 18th 04 03:24 PM


All times are GMT +1. The time now is 02:41 PM.

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

About Us

"It's about Microsoft Excel"