Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do you add cell values to drop down list for other cells

Hi there,

I hope I put this so its easy to understand so here goes.

I want to make a drop down list (easy, Done)

But this is the hard part I cant work out. I want to be able to have other
values attached to the drop down list that appear in other cells. eg. below.

In Cell A1 is the drop down list. And I want to add values to the items in
that list that show up in the cells C1-C8 depending on what it makes.

eg.
in the drop down list say
wooden box
wooden barral

So for wooden box I want to have in C1 2(for the number of planks needed
in C2 I want 20 for nails
in C3 1 for a handle

But when I choose the barral from the drop down list I want it to say
10 in C1 for planks
50 in C2 for nails
0 in C3 for the handle

I know it can be done as I have seen a sheet like it but its protected with
a password and I dont know whos it is.

So can anyone explane how to do it, if needed I can try and explane better
with a pick or put the sheep up so you can see it.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default how do you add cell values to drop down list for other cells

You could use a VLOOKUP function, to look up the values based on the choice
in the dropdown.

Use a lookup table on which the VLOOKUP operates (you can put it aside in
hidden columns or on another sheet if you want)

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"chizgiz" wrote:

Hi there,

I hope I put this so its easy to understand so here goes.

I want to make a drop down list (easy, Done)

But this is the hard part I cant work out. I want to be able to have other
values attached to the drop down list that appear in other cells. eg. below.

In Cell A1 is the drop down list. And I want to add values to the items in
that list that show up in the cells C1-C8 depending on what it makes.

eg.
in the drop down list say
wooden box
wooden barral

So for wooden box I want to have in C1 2(for the number of planks needed
in C2 I want 20 for nails
in C3 1 for a handle

But when I choose the barral from the drop down list I want it to say
10 in C1 for planks
50 in C2 for nails
0 in C3 for the handle

I know it can be done as I have seen a sheet like it but its protected with
a password and I dont know whos it is.

So can anyone explane how to do it, if needed I can try and explane better
with a pick or put the sheep up so you can see it.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default how do you add cell values to drop down list for other cells

Are all wooden boxes and barrels the same size?

Simple VLOOKUP table could return the results per your examples.

If boxes or barrels have different sizes you would need to identify the size
in a second dropdown before returning the results.

i.e. select wooden box from the dropdown.........a second dropdown appears
where you select the size.

The the VLOOKUP formulas will return the results.

For more on VLOOKUP and Dependent lists see Debra Dalgleish's site.

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

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


Gord Dibben MS Excel MVP

On Thu, 24 Jul 2008 13:35:00 -0700, chizgiz
wrote:

Hi there,

I hope I put this so its easy to understand so here goes.

I want to make a drop down list (easy, Done)

But this is the hard part I cant work out. I want to be able to have other
values attached to the drop down list that appear in other cells. eg. below.

In Cell A1 is the drop down list. And I want to add values to the items in
that list that show up in the cells C1-C8 depending on what it makes.

eg.
in the drop down list say
wooden box
wooden barral

So for wooden box I want to have in C1 2(for the number of planks needed
in C2 I want 20 for nails
in C3 1 for a handle

But when I choose the barral from the drop down list I want it to say
10 in C1 for planks
50 in C2 for nails
0 in C3 for the handle

I know it can be done as I have seen a sheet like it but its protected with
a password and I dont know whos it is.

So can anyone explane how to do it, if needed I can try and explane better
with a pick or put the sheep up so you can see it.


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 to create a drop down list with different values excelnovice New Users to Excel 1 June 20th 07 10:54 PM
Drop down list with different values. Honey Excel Worksheet Functions 3 January 14th 07 08:24 PM
how do I link a drop down list entry to a new drop down cell? lmunzen Excel Discussion (Misc queries) 1 August 15th 06 04:59 PM
Mask Drop Down List values DangerMouse Excel Discussion (Misc queries) 1 June 12th 06 01:05 PM
Clearing the Values in a Drop - Down List Sagu Excel Discussion (Misc queries) 4 March 31st 06 03:32 AM


All times are GMT +1. The time now is 04:55 AM.

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"