How to create two validation lists that modify each other's value?

C

Chracatoa

For instance, let's say I have a list containing both product numbers
and descriptions. I would like to create the following validation
lists

Number Description
[12345] [Digital Camera XBC]

Original lists:

00001 Camera
00002 Mouse
....
12345 Digital Camera XBC
....

If I know the product's number, I select its number from the list on
the left and it automatically changes the description. If I know the
description, I select the description and it automatically changes the
product's number.

Any ideas?
 
T

Tom Ogilvy

You could use a Vlookup to do one or the other, but you can't have both a
formula and a value in a cell. You would need to use the Worksheet_Change
Event to lookup the value you don't enter.

In Excel 97, selection of a value from a data validation dropdown does not
fire the change event, so this wouldn't work in xl97.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top