need help

Bilseka

New Member
Joined
Jun 6, 2011
Messages
8
if i have a certain cell "cells(x,3)" contains text "steel conduits" or "pvc conduits" and i need another cell to make a validation function on a certain cells(rows),which contain different sizes of steel conduit as example, and this validation changed with change of the value of cells(x,3).

i need the code VB of this case.

Many thanks
 
Last edited:
Hopefully this simplified table will help. The items highlighted in yellow are your sizes for AUCables and Green for AVCables. select the column of yellow, and in the name box call them AUCables. Then do the same for the green and name that range AVCables. It's important there are no spaces in the names.

In cell I4 theres a list, the items in the list are AVCables,AUCables

In J4 theres another list, the item in that list is =Indirect(I4)

now select from the dropdown in I4 AUCable and you'll get all the sizes in a dropdown that are drawn from that named range and it will provide the dropdown for AVCables when you select that in I4

hope that helps

Excel Workbook
FGHIJ
3AVCableAUCable
45.251.5AUCable1.5
55.51.75
65.752
762.25
86.252.5
96.52.75
106.753
1173.25
127.253.5
137.53.75
147.754
1584.25
168.254.5
178.54.75
188.755
1995.25
Sheet1




Excel Workbook
FGHIJ
3AVCableAUCable
45.251.5AVCable5.25
55.51.75
65.752
762.25
86.252.5
96.52.75
106.753
1173.25
127.253.5
137.53.75
147.754
1584.25
168.254.5
178.54.75
188.755
1995.25
Sheet1
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hopefully this simplified table will help. The items highlighted in yellow are your sizes for AUCables and Green for AVCables. select the column of yellow, and in the name box call them AUCables. Then do the same for the green and name that range AVCables. It's important there are no spaces in the names.

In cell I4 theres a list, the items in the list are AVCables,AUCables

In J4 theres another list, the item in that list is =Indirect(I4)

now select from the dropdown in I4 AUCable and you'll get all the sizes in a dropdown that are drawn from that named range and it will provide the dropdown for AVCables when you select that in I4

hope that helps

Excel Workbook
FGHIJ
3AVCableAUCable
45.251.5AUCable1.5
55.51.75
65.752
762.25
86.252.5
96.52.75
106.753
1173.25
127.253.5
137.53.75
147.754
1584.25
168.254.5
178.54.75
188.755
1995.25
Sheet1




Excel Workbook
FGHIJ
3AVCableAUCable
45.251.5AVCable5.25
55.51.75
65.752
762.25
86.252.5
96.52.75
106.753
1173.25
127.253.5
137.53.75
147.754
1584.25
168.254.5
178.54.75
188.755
1995.25
Sheet1



thank you very much, i get it:laugh:
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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