Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Drop Down List Validation

Why is this a valid statement as a validation source
=INDIRECT(VLOOKUP(A2,CenterCodeDesc,2,FALSE))
but this is not
=INDIRECT(VLOOKUP(A:A,CenterCodeDesc,2,FALSE))

How do I create a validation source using column A for Vlookup?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 60
Default Drop Down List Validation

you can't vlookup a whole column, only one cell at a time

"mico" wrote:

Why is this a valid statement as a validation source
=INDIRECT(VLOOKUP(A2,CenterCodeDesc,2,FALSE))
but this is not
=INDIRECT(VLOOKUP(A:A,CenterCodeDesc,2,FALSE))

How do I create a validation source using column A for Vlookup?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Drop Down List Validation

The first argument of the vlookup function is a single value and not a range.
You are looking up one item in a range of items, returning a cell 2 columns
to the right...
If you were to look up a range of values within a range of values what
exactly would you expect to be returned?
--
HTH...

Jim Thomlinson


"mico" wrote:

Why is this a valid statement as a validation source
=INDIRECT(VLOOKUP(A2,CenterCodeDesc,2,FALSE))
but this is not
=INDIRECT(VLOOKUP(A:A,CenterCodeDesc,2,FALSE))

How do I create a validation source using column A for Vlookup?

Thanks

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
Drop Down List + Validation Satheesh Chandrasekaran Excel Discussion (Misc queries) 1 November 16th 07 08:49 PM
list validation drop-down not working Mike Excel Discussion (Misc queries) 2 April 10th 07 12:10 PM
drop-down list validation won't allow a different worksheet justmetn Excel Worksheet Functions 4 September 15th 05 05:33 PM
validation list with drop down list of options?? luke013 Excel Worksheet Functions 1 August 31st 05 01:16 PM
Data Validation using List (But needs unique list in drop down lis Tan New Users to Excel 1 July 8th 05 03:32 PM


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