Attached is an example.
Essentially I created a price table. I then named the lenses and materials ranges to be used as a data validation list. I also named the whole prices table for shorter formulas.
Then I created the data sheet and threw in the formula
=INDEX(Prices,MATCH(A2,Lenses,0)+1,MATCH(B2,Materials,0)+1)
Index takes a row number and a column number and returns the corresponding value from a table. So, to get the row and column number, i used match to search down and accross using the named ranges. I added 1 to each result because the ranges did not start in row or column # 1.
Bookmarks