rakeshghuge
New Member
- Joined
- May 7, 2009
- Messages
- 9
HI....
I want to create a dynamic data validation sheet...
for insitance suppose i have a following database in excel...
<table style="border-collapse: collapse; width: 429pt;" width="573" border="0" cellpadding="0" cellspacing="0"><col style="width: 143pt;" span="3" width="191"> <tbody><tr style="height: 21.75pt;" height="29"> <td class="xl65" style="height: 21.75pt; width: 143pt;" width="191" height="29">RM Aggregate</td> <td class="xl65" style="border-left: medium none; width: 143pt;" width="191">RM Subaggregate</td> <td class="xl65" style="border-left: medium none; width: 143pt;" width="191">RM Grade</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYPROPYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">PAR
</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYPROPYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">PAS
</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">EXTRUSION</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">Q70</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">Q02</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HNPV</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYETHYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HDPE, BLOW MOLDING</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYETHYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HDPE, INJECTION MOLDING</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYETHYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">LDPE</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYSTYRENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">NA</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CRC-D</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CRC-DD</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CRC-EDD</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HRC-D</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL TUBE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CEW 21- ANNEALED</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL TUBE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CEW 21</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL WIRE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CDLC</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL WIRE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CHQ</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL WIRE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">35A</td> </tr> </tbody></table>
now i have a huge list of Raw material in the database...
i want to create a series of datavalidation such that....if i select plastic in the first datavalidation then in the next data validation will only show a dropdown of the item which are infront of plastic in the above table....
like in this example...the first dropdown should show plastic & steel.....if i have selected plastic...the next dropdown list should show POLYPROPYLENE, POLYVINYL CLORIDE, POLYETHYLENE, POLYSTYRENE...and if i select POLYVINYL CLORIDE...the next dropdown should show EXTRUSION, Q70, Q02 & HNPV....
I want to create a dynamic data validation sheet...
for insitance suppose i have a following database in excel...
<table style="border-collapse: collapse; width: 429pt;" width="573" border="0" cellpadding="0" cellspacing="0"><col style="width: 143pt;" span="3" width="191"> <tbody><tr style="height: 21.75pt;" height="29"> <td class="xl65" style="height: 21.75pt; width: 143pt;" width="191" height="29">RM Aggregate</td> <td class="xl65" style="border-left: medium none; width: 143pt;" width="191">RM Subaggregate</td> <td class="xl65" style="border-left: medium none; width: 143pt;" width="191">RM Grade</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYPROPYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">PAR
</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYPROPYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">PAS
</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">EXTRUSION</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">Q70</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">Q02</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYVINYL CLORIDE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HNPV</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYETHYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HDPE, BLOW MOLDING</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYETHYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HDPE, INJECTION MOLDING</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYETHYLENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">LDPE</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">PLASTIC</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">POLYSTYRENE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">NA</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CRC-D</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CRC-DD</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CRC-EDD</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL SHEET</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">HRC-D</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL TUBE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CEW 21- ANNEALED</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL TUBE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CEW 21</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL WIRE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CDLC</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL WIRE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">CHQ</td> </tr> <tr style="height: 21.75pt;" height="29"> <td class="xl66" style="border-top: medium none; height: 21.75pt;" height="29">STEEL</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">STEEL WIRE</td> <td class="xl66" style="border-top: medium none; border-left: medium none;">35A</td> </tr> </tbody></table>
now i have a huge list of Raw material in the database...
i want to create a series of datavalidation such that....if i select plastic in the first datavalidation then in the next data validation will only show a dropdown of the item which are infront of plastic in the above table....
like in this example...the first dropdown should show plastic & steel.....if i have selected plastic...the next dropdown list should show POLYPROPYLENE, POLYVINYL CLORIDE, POLYETHYLENE, POLYSTYRENE...and if i select POLYVINYL CLORIDE...the next dropdown should show EXTRUSION, Q70, Q02 & HNPV....