See the attached.
A new Sheet "Workarea" has the dynamic lists generated for the various combinations of C and D. The "Maintenanc Cost" is simple a copy of the "Tpe of actvity" Sheet"
In "Workarea"
B2
=IFERROR(INDEX(Costs!$B$1:$B$14,SMALL(IF((Costs!$A$1:$A$14=Workarea!$G$2)*(INDEX(Costs!$C$1:$E$14,0,MATCH(Workarea!$B$1,Costs!$C$1:$E$1,0))<>"Not Applicable"),ROW($1:$14),""),ROWS($1:1))),"")
Enter with CTRL+SHIFT+ENTER
Similar in C & D
In G2: this has the value selected in column D of "Prototype"
In "Prototype" a small VBA reoutine;
To see/add code click on "Developer" then "Visual Basic". Click Sheet1 ("Prototype") and code will be on right-hand side window
When data is entered in "Prototype", the data in "Workarea" will change under the appropriate cost heading
NOTE: this now an XLSM (macro workbook)
Bookmarks