Hello jrcream,
I created 2 named ranges INVENTORY_PRICE and INVENTORY_ITEMS on the Inventory sheet. This will make maintaining your code easier by not having to change all the ranges in formulas that use this information. When you add or delete information from the range, just change the range address. I added this formula to the "Amount" column...
=IF(E16<>"",A16*C16*VLOOKUP(E16,INVENTORY_PRICE,2,FALSE),"")
This looks up the rental in the range INVENTORY_PRICE and returns the price for it. The formula was dragged to fill the remaining cells. This has all been added to the workbook. INVENTORY_ITEMS is list of the rentals including a blank line.
Sincerely,
Leith Ross
Bookmarks