Inventory Net Present Value Lookup - Coding problem | OneNoughtOne