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:

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Need a fuller explanation to get an Idea of What you're attempting to do<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 
Upvote 0


i need make validation for the of the copper cables in the cells(c,7) if the value of the cells(b,7) like "Cu Cables"

i need the VB code for this case
 
Upvote 0
see if can get you started....

the F17 and G17 are data validation . G17 is dependent on F17, CAUTION...after selecting your choice.... upon changing of F17, G17 WILL NOT change it needs to be update manually.

Excel Workbook
ABCDEFG
16Setup a table similar to this*Fst-DDDependent DD
17MaterialCu CablesPVC ConduitsAL Cable*PVC ConduitsPVC Con 3
18Cu CablesCable 1PVC Con 1ALCAB1***
19PVC ConduitsCable 2PVC Con 2ALCAB2***
20AL CableCable 3PVC Con 3ALCAB3***
21**PVC Con 4ALCAB4***
22**PVC Con 5ALCAB5***
23**PVC Con 6ALCAB6***
24***ALCAB7***
25***ALCAB8***
26Range names:******
27=AL_Cabled18:d25*****
28=Cu_Cablesb18:b20*****
29=Materiala18:a20*****
30=PVC_Conduitsc18:c23*****
31*******
Sheet9
#VALUE!
 
Upvote 0
Sorry you needed to make the address to the range names absolute.

change the formula in the source box to :

=CHOOSE(MATCH(F17,$B$17:$D$17,0),INDIRECT(SUBSTITUTE($B$17," ","_")),INDIRECT(SUBSTITUTE($C$17," ","_")),INDIRECT(SUBSTITUTE($D$17," ","_")))
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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