Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default data lookup/validation syntax

In Excel 2007 I have a sheet "sheet1" which has a part number in a
cell. (A5)
I want cell (D5) to have a data validation drop down menu which is
populated from "sheet2".

Sheet2 data looks something like this:

Column A Column B
partnumber1 tradename1
partnumber1 tradename2
partnumber2 tradename3
partnumber3 tradename4

The drop down in (D5) sheet1 should only contain tradenames which have
partnumber matching (A5) sheet1.


Ideas?
Can I use SQL syntax in the data validation lookup?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default data lookup/validation syntax

Perhaps Debra Dalgleish's site can get you going.

http://www.contextures.on.ca/xlDataVal02.html


Gord Dibben MS Excel MVP

On Mon, 16 Nov 2009 13:07:52 -0800 (PST), Doug Howell
wrote:

In Excel 2007 I have a sheet "sheet1" which has a part number in a
cell. (A5)
I want cell (D5) to have a data validation drop down menu which is
populated from "sheet2".

Sheet2 data looks something like this:

Column A Column B
partnumber1 tradename1
partnumber1 tradename2
partnumber2 tradename3
partnumber3 tradename4

The drop down in (D5) sheet1 should only contain tradenames which have
partnumber matching (A5) sheet1.


Ideas?
Can I use SQL syntax in the data validation lookup?


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
Data Validation - V-Lookup - retired bill Excel Discussion (Misc queries) 1 April 23rd 09 03:28 AM
VB syntax to test for data validation in a cell Dave O Excel Discussion (Misc queries) 2 July 26th 07 09:29 PM
data validation syntax Nigel[_27_] Excel Programming 4 November 20th 06 07:45 AM
Lookup validation data Craig Excel Discussion (Misc queries) 1 March 29th 06 04:29 PM
Data Validation Syntax Question Jim & Gail Excel Discussion (Misc queries) 2 April 7th 05 04:17 AM


All times are GMT +1. The time now is 06:35 AM.

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"