Here's the demo for the products consumed value worksheet http://www.freewebs.com/swhtam/YA/productTotal.xls
1. use a sheet for the table which list the product and its price, then
2. select cells that contain product names, go to menu, insert, name, define, put the word "products" on the 1st box, click ok
3. select cells that contain prices, go to menu, insert, name, define, put the word "Prices" on the 1st box, click ok
4. on another sheet make 4 columns, 1st is for the drop down product list, 2nd is for value that will show up when product is seleted, 3rd is the qty. expecting entry from user, and the last column is total which will show the total when prev. 3 columns are filled.
5. 1st column, select a cell, go to menu, data, validation, settings tab, 1st box choose list, 2nd box put ="products", click ok, copy the cell down to expected No. of rows (in the demo is down to A21)
6. 2nd column put the following formula, say in B2 put
=IF(ISNA( VLOOKUP(A2, Sheet2!A2:B27,2, FALSE))=FALSE, VLOOKUP(A2, Sheet2!A2:B27, 2,FALSE), "")
The formula is a combination of IF and VLOOKUP function, basically, the vlookup fetch the product name from A2 to lookup the product/price table on sheet2 and return the price on B2, if the product name is present in A1 of sheet1, no error return from vlookup part of the formula, then lookup the price from column 2 of the product/price table, otherwise return blank.
7. 4th column for total, say in D2 put
=IF(AND( B2<>0,C2<>0), B2*C2,"")
The formula will first check if B2 the value is there and C2 the qty is there, then it will put the 2 together to come up with the total.
Please contact for more details