Help Needed. 3 drop-down lists in a separate worsheet excel 2010

WoodyZA

New Member
Joined
Oct 8, 2013
Messages
12
Hello all
I am having trouble finding a way to do the following and any help would be very much appriciated:
I have a list of different types of pipes which will be updated from time to time in there seperate table. Example table below The actual List however is 1000 lines. (note the last two columns are calculation results based on othe column omitted for clarity, the rest are data entries)
MaterialPipe Nominal DiameterPipe pressure classActual Internal DiameterVelocity of fluid
uPVC200
Class 2018610
Ductile Iron200C3020115
Steel1504.5mm 300W1531
oPVC63Class 16522
uPVC160Class 161565
Ductile Iron250K92516
HDPe450PN 16 PE 1004028
HDPe50PN 12.5 PE1004255
OPVC75Class 66568

<tbody>
</tbody>

What i need is to be able to select the pipe material via a drop down list in a separate work sheet (but must only be unique entries) from this selection it will allow me to select the unique pipe diameters in the next cell over drop down list. then from these two it will allow me to select the unique pressure class from the third drop down list. from these three selections i will then populate cells 4 and 5 next to the drop down lists with the corresponding data in columns 4 and 5 in the above table.

I'm sorry if i have missed a similar example in the forum my seach returned alot of data validation examples but i have tried it using a little vb and the advanced filter function but all i can get to is the pipe diameter after that it is beyond my abilities i think.

Thank for the help
Mat
 
We'll most likely muddle thru it, it is not only difficult to explain what you want, its difficult to look at a very busy worksheet for the first time and figure stuff out.
Some are more difficult than others.


For instance:

"...class and size on the darcy sheet. it will then put the diameter in cell E9"

Do you really mean exactly that cell E9?
And on the darcy sheet?

Are you against using input boxes for each of the criteria and allowing vba cope post the result in a distinct cell of your choice?

I have code that looks up four items and returns the fifth, I am in the process of converting it to look for three and return the fourth.

Howard
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Upvote 0
Thanks ill give it a whirl now and let you know in the morning :)
thanks you very much for the effort so far
 
Upvote 0
Discard all previous versions of the sample workbooks. Open this and read the summary below about what you have.

https://www.dropbox.com/s/3pjmbptt7ih8b10/Pipe%20friction%20with%20two%20codes%20Drop%20Box%20Version.xlsm

Start with sheet Pipe Type.

See the red arrow pointing to grayed out cells O2 & P2.
Note buttons labeled Input Box & Drop Down.

Go to Darcy-Weisbach.

See the red arrow pointing to the grayed out cells F5 & F6.
Note buttons Input Box & Drop Down.
See blue shaded cells C5, D5 & E5. All have drop downs in them.

There is one code for each button.

The input values along with the "found" value will be posted on both sheets in the grayed out cells. This is true for either button.

The location of all of these things I just mentioned can be relocated or deleted depending on how you want you sheets.

Start with the Input Box button, click it and enter accurate data in each of the three input box prompts. When you hit OK on the third prompt, the code searches and return the inputs you made along with the "found" data into the grayed out cell on both sheets.

Do a few with the input button and carefully check the results for accuracy.

Now lets try the drop down code. Select proper data from each drop to display in the respective cell. When you have three criteria selected, click the Drop down button.
The results are display just like the Input Box data was on both sheets in the grayed out cells.

Again check carefully for accuracy.

Question, please ask.

Regards,
Howard
 
Upvote 0
Hello Howard thanks for all the help so far it is very much appreciated.

you have given me a far simpler way of getting to the same position i was before thanks. now would it be possible for the drop down boxes to be unique to i.e you you select Ductile Iron you can only select nominal diameters associated with the Ductile Iron (so you can choose 125mm etc). and based on the that selcted you only get to select from the available classes i.e for ductile irion you can only get class K7, K9 or C40?

the main problem i have is getting these selective dropdown menus to be be based on the selection in the previous menu

Thanks
Mat
 
Upvote 0
I sensed that was looming over the hill once I got more familiar with the worksheet. Sorta back to aquare one.

Can you supply a list of:

Diameters available for each choice of Material,
Classes available for a Material and/or Diameter

Not sure I worded that correctly, but need to know when first item is selected, what are the second choice items that it dance with, and when we have two items what is the only choices that can dance with those two.

So, what we are saying is I can't select .025 inch wall thickness Cardboard Tube and then have a choice on 25,000 PSI going through it so to speak.

Howard
 
Upvote 0
Never mind the list of stuff, I made one from the workbook.

A bit of a tough nut to crack, but I'll give it a go.

Howard
 
Upvote 0
I can make lists of the second and third selections. But i was trying to get the workbook to do it for me. If you have a look at my very "crude" attempt in the first sheet to get it do do the lists for me (the button i made), i only got as far as the second list the third becomes very complicated and that is where my problem lies.

yes you are correct in the selection example you gave.

once again thanks for the time and effort you have put in Howard.
Mat
 
Upvote 0

Forum statistics

Threads
1,216,072
Messages
6,128,631
Members
449,460
Latest member
jgharbawi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top