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
 
Hello Howard
have you had any luck with this? i tried it now from a different angle and ended up in the same place :(. im starting to think that excel is not the program for this
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Some luck along with perhaps another approach.

The first one is quite a monster to the non pro, I've gotten a ton of help to get it as far as it is, seems to still have a few warts. It may be very difficult to add and delete new and old data from the helper sheet, then have the code work properly afterward.

The second one is devised by the pro who has helped me a ton on the first one. Pretty much his take on the whole thing asking "why not do it this way?" This almost will be a snap to add or delete new and old data to the helper sheet.

Here is the first:
https://www.dropbox.com/s/g1b3a9re3di71a0/AA%20Copy%20of%20Drop%20Down%20Version%20two%20Drop%20Box.xlsm

Here is the second:
https://www.dropbox.com/s/c72brheeseimrq6/Drop Down Reversed Mat. Dia. Class Drop Box.xlsm

First one select a Material in any one of A1:A20 cells, in the same row in column B select a diameter, and in same row in the C column, select an inside diameter.
The return results have been replaced with the Material - Dia. - Class - ID. (made it easier to check for errors and there are some in the fix as we speak)

The other one has lists of the materials and you select one and it give you all the options for that selection. When the option is selected, code dose a text to columns on it into the next three columns.

See what you think, and of course once completed will need to be installed in your real workbook. Might be you will want to keep it as a separate sheet to do the searches.
You will probably have many question, so post back as needed.

Regards,
Howard

<TBODY>
</TBODY><COLGROUP><COL></COLGROUP>
 
Upvote 0
Upvote 0
Hello Howard thanks for all the help to date. these two Spreadsheets seem to do what i need but i am a little lost on how the code works (so give me a day to two to look and teach myself whats happending) but in both cases it seems that when you add to the original lists it does not auto update the drop down lists. how can i add additional material etc. eg steel pipes.
Thanks again
Mat
 
Upvote 0
From my post #22

Code:
It may be very difficult to add and delete new and old data from the helper sheet, then have the code work properly afterward.

I will inquire as to adding to and deleting new items on the first, original code.

The second version (the Reversed Version) I think you can just add or delete to the original list on the helper sheet. I believe at present the list is 100 rows. To add something like Steel, which is not already in the fray will require another column or two I believe. I'll look it over.

Howard
 
Last edited:
Upvote 0
Here are two links to a way to make additions to each drop down workbooks.

On the first one, I added Steel and Copper. All additional code lines for Steel are marked off to the right with '// and Copper is marked with '/****.
Not a particularly easy task, depending on how well you can grasp the code and methodology.

https://www.dropbox.com/s/871ejmj4kv92n4r/AAA%20Add%20Steel%20Copper%20Mat.%20Dia.%20Class%20Drop%20Box.xlsm


On the second one I found it much easier to add Steel on the Helper Sheet. It really just the second drop down in a dependent drop down scenario. Code is pretty simple, just a text to columns thing. Note the code is looking for a delimiter of - (dash) so that is also noted in the visible comment on the Helper Sheet in the gray shaded area of the Steel addition.

https://www.dropbox.com/s/nimu8yn9n...ersed Add Steel Mat. Dia. Class Drop Box.xlsm

Regards,
Howard
 
Upvote 0

Forum statistics

Threads
1,216,153
Messages
6,129,180
Members
449,491
Latest member
maxim_sivakon

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