Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Linking Drop-down options

I am trying to link multiple cells and can not figure out how to do this
properly.

Example:

One cell has a drop down menu that has choices of: circles, squares, or
rectangles. But the next cell requires a number within a certian range, but
this range is different depending on which of the first cell was chosen.

circles have to be between 1 and 5
squares have to be between 3 and 9
and rectangles have to be between 17 and 35

I can not figure out how to do this....can anyone help?

Thanks,

John
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Linking Drop-down options

So, you want dependent drop downs?

Try this:

List all the numbers in a range of cells:

F1:F9 = 1,2,3,4,5,6,7,8,9
F10:F28 = 17,18,19...35

Give the range F1:F5 the name Circles
Give the range F3:F9 the name Squares
Give the range F10:F28 the name Rectangles

Assume the main drop down list is in cell A1 and has these selections
available: Circles, Squares, Rectangles.

As the source for the dependent drop down use this formula:

=INDIRECT(A1)

You might also want to do something about what is displayed in the dependent
drop down cell when a different selection is made from the main drop down.
For example, you select Rectangles from the main list then you select 30
from the dependent list. You then make a different selection from the main
list, Circles. 30 still appears in the dependent cell but this is not a
valid selection for Circles.

You can "fix" this a couple of ways. Use an event macro to clear the
dependent cell when a change is made to the main list or use conditional
formatting to "hide" the invalid selection in the dependent cell.

Post back if you want to use one of those options and need help figuring it
out.


--
Biff
Microsoft Excel MVP


"John1791" wrote in message
...
I am trying to link multiple cells and can not figure out how to do this
properly.

Example:

One cell has a drop down menu that has choices of: circles, squares, or
rectangles. But the next cell requires a number within a certian range,
but
this range is different depending on which of the first cell was chosen.

circles have to be between 1 and 5
squares have to be between 3 and 9
and rectangles have to be between 17 and 35

I can not figure out how to do this....can anyone help?

Thanks,

John



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 do I use one drop-list to modify another drop-lists options? [email protected] Excel Discussion (Misc queries) 3 September 9th 07 05:46 PM
Linking options LaToya Setting up and Configuration of Excel 0 October 9th 06 04:35 PM
Modifying drop-down box options and formats RiotLoadTime Excel Discussion (Misc queries) 1 August 1st 06 05:08 PM
Drop-down menu options conksu Excel Discussion (Misc queries) 3 April 27th 06 06:50 PM
How do I set up a drop down box in Excel with a list of options f. Debbie C Excel Discussion (Misc queries) 1 March 31st 05 12:16 PM


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