vampsthevampyre
New Member
- Joined
- Apr 29, 2016
- Messages
- 28
- Office Version
- 365
- Platform
- Windows
Can anybody help, been trying to find a solution to this problem (google wasn't my friend and gave me a load of junk to read!!).
I have three tables,
I have set up the "conductors/prices" and "allowable designs" tables to have dynamic names so I can add more products and designs when needed.
Using the dynamic names from the "allowable design" table a have set up validated lists so the user can only select from certain designs.
What I'm having trouble with is getting the current design table with its selected design to reference the "conductors/prices" table and return a corresponding price.
examples of the tables are below:-
Conductors/Prices
[TABLE="width: 500"]
<tbody>[TR]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[TD]Area[/TD]
[TD]Design[/TD]
[TD]Supplier1[/TD]
[TD]Supplier2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.36[/TD]
[TD]1.48[/TD]
[TD]1.50[/TD]
[TD]0.90[/TD]
[TD]1.00[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.37[/TD]
[TD]1.49[/TD]
[TD]1.50[/TD]
[TD]1.00[/TD]
[TD]1.10[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.38[/TD]
[TD]1.50[/TD]
[TD]1.50[/TD]
[TD]1.10[/TD]
[TD]1.20[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.78[/TD]
[TD]2.50[/TD]
[TD]2.50[/TD]
[TD]1.30[/TD]
[TD]1.40[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]0.53[/TD]
[TD]1.50[/TD]
[TD]1.50[/TD]
[TD]1.40[/TD]
[TD]1.30[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]0.67[/TD]
[TD]2.50[/TD]
[TD]2.50[/TD]
[TD]1.50[/TD]
[TD]1.40[/TD]
[/TR]
</tbody>[/TABLE]
Allowable Designs
[TABLE="width: 500"]
<tbody>[TR]
[TD]Design[/TD]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]1[/TD]
[TD]1.37[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]1[/TD]
[TD]1.38[/TD]
[/TR]
[TR]
[TD]2.50[/TD]
[TD]1[/TD]
[TD]1.78[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]7[/TD]
[TD]0.53[/TD]
[/TR]
[TR]
[TD]2.50[/TD]
[TD]7[/TD]
[TD]0.67[/TD]
[/TR]
</tbody>[/TABLE]
The user would then have several validated dropdown boxes in each design to select number of conductors, Diameter and supplier and the table would look up the cost
Design 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Design[/TD]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[TD]Supplier[/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]1[/TD]
[TD]1.37[/TD]
[TD]Supplier1[/TD]
[TD]1.00[/TD]
[/TR]
</tbody>[/TABLE]
Design 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Design[/TD]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[TD]Supplier[/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]2.50[/TD]
[TD]7[/TD]
[TD]0.67[/TD]
[TD]Supplier2[/TD]
[TD]1.40[/TD]
[/TR]
</tbody>[/TABLE]
I have tried using the Index(match) but a cannot get it to look up an array from a validated drop down list of named dynamic ranges.
Any help would be appreciated
Regards
Ian.
I have three tables,
- a list of conductors, conductor sizes and costs from several suppliers (Conductors/prices)
- a list of allowable conductors and sizes for a particular product (Allowable Designs)
- a product creation screen that allows various scenarios to be tried.(Current Design)
I have set up the "conductors/prices" and "allowable designs" tables to have dynamic names so I can add more products and designs when needed.
Using the dynamic names from the "allowable design" table a have set up validated lists so the user can only select from certain designs.
What I'm having trouble with is getting the current design table with its selected design to reference the "conductors/prices" table and return a corresponding price.
examples of the tables are below:-
Conductors/Prices
[TABLE="width: 500"]
<tbody>[TR]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[TD]Area[/TD]
[TD]Design[/TD]
[TD]Supplier1[/TD]
[TD]Supplier2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.36[/TD]
[TD]1.48[/TD]
[TD]1.50[/TD]
[TD]0.90[/TD]
[TD]1.00[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.37[/TD]
[TD]1.49[/TD]
[TD]1.50[/TD]
[TD]1.00[/TD]
[TD]1.10[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.38[/TD]
[TD]1.50[/TD]
[TD]1.50[/TD]
[TD]1.10[/TD]
[TD]1.20[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.78[/TD]
[TD]2.50[/TD]
[TD]2.50[/TD]
[TD]1.30[/TD]
[TD]1.40[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]0.53[/TD]
[TD]1.50[/TD]
[TD]1.50[/TD]
[TD]1.40[/TD]
[TD]1.30[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]0.67[/TD]
[TD]2.50[/TD]
[TD]2.50[/TD]
[TD]1.50[/TD]
[TD]1.40[/TD]
[/TR]
</tbody>[/TABLE]
Allowable Designs
[TABLE="width: 500"]
<tbody>[TR]
[TD]Design[/TD]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]1[/TD]
[TD]1.37[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]1[/TD]
[TD]1.38[/TD]
[/TR]
[TR]
[TD]2.50[/TD]
[TD]1[/TD]
[TD]1.78[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]7[/TD]
[TD]0.53[/TD]
[/TR]
[TR]
[TD]2.50[/TD]
[TD]7[/TD]
[TD]0.67[/TD]
[/TR]
</tbody>[/TABLE]
The user would then have several validated dropdown boxes in each design to select number of conductors, Diameter and supplier and the table would look up the cost
Design 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Design[/TD]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[TD]Supplier[/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]1.50[/TD]
[TD]1[/TD]
[TD]1.37[/TD]
[TD]Supplier1[/TD]
[TD]1.00[/TD]
[/TR]
</tbody>[/TABLE]
Design 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Design[/TD]
[TD]Conductors[/TD]
[TD]Diameter[/TD]
[TD]Supplier[/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]2.50[/TD]
[TD]7[/TD]
[TD]0.67[/TD]
[TD]Supplier2[/TD]
[TD]1.40[/TD]
[/TR]
</tbody>[/TABLE]
I have tried using the Index(match) but a cannot get it to look up an array from a validated drop down list of named dynamic ranges.
Any help would be appreciated
Regards
Ian.