Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Vlookup and Data Validation Q

Value in N101 should match one of the values in the column A... the value you
want returned as the result of the formula can be in the adjacent cell in Col
B or Col C... In other words the value to be matched has to be in the first
col in the range given as the second parameter in VLOOKUP.

If it is in B then use
=VLOOKUP(N101,Sheet3!A$3:C$248,2,FALSE)
or
=VLOOKUP(N101,Sheet3!A$3:B$248,1,FALSE)

If it is in C then use
=VLOOKUP(N101,Sheet3!A$3:C$248,3,FALSE)

Notice the change from 2 to 3... it indicates the number of col you want the
value to be returned.

"Seanie" wrote:

I am trying to use a DataValidation cell value to do a lookup and I
get #N/a

Cell N101 = a Data Validation list value
Lookup formula in O101 = =VLOOKUP(N101,Sheet3!A$3:C$248,1,FALSE)

Above returns #N/a, but the value I want is in Sheet3!A3 and N101 is
in Sheet3!B3

What am I doing wrong?
.

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
Vlookup in data validation??? ChrisP Excel Worksheet Functions 1 July 11th 08 03:36 PM
Data Validation vs VLOOKUP - Linking to data in a seperate file Sharon Excel Worksheet Functions 3 May 15th 08 07:43 AM
Data Validation on Vlookup markmcd Excel Discussion (Misc queries) 6 November 13th 07 05:23 AM
IF, VLOOKUP & DATA VALIDATION TOGETHER Tbram Excel Worksheet Functions 2 May 21st 07 07:07 PM
data validation using vlookup cbra Excel Worksheet Functions 5 October 26th 05 12:24 PM


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