ian machin
New Member
- Joined
- Jul 10, 2015
- Messages
- 5
Hi All,
I am trying to use the Vlookup function to search for product costs from a list to match a sales order date. My downloaded sales data show the sales order delivery date , column "C" and I am trying to match the production costs with the correct date range , columns "N" and "O".
The cells in yellow range G5:H7 show would the expected result should be. Struggling to set the "only use the vlookup if the date range is correct"
Many thanks in advance.
Ian Machin
I am trying to use the Vlookup function to search for product costs from a list to match a sales order date. My downloaded sales data show the sales order delivery date , column "C" and I am trying to match the production costs with the correct date range , columns "N" and "O".
The cells in yellow range G5:H7 show would the expected result should be. Struggling to set the "only use the vlookup if the date range is correct"
Many thanks in advance.
Rich (BB code):
Excel 2012
A B C D E F G H I J K L M N O 1 Sales Table Lookup Table 2 3 4 Product Product Description Date Qty Unit Price Gross Sales Prod Cost 1 Prod Cost 2 Product Prod Cost 1 Prod Cost 2 Date From Date To 5 935 Gift Bag 10/07/2015 2 £10.00 £20.00 4.00 2.00 935 £4.00 £2.00 05/07/2015 15/07/2015 6 935 Gift Bag 20/07/2015 3 £10.00 £30.00 3.00 3.50 935 £3.00 £3.50 19/07/2015 31/07/2015 7 936 Gift Set 12/07/2015 4 £15.00 £60.00 4.00 1.00 936 £4.00 £1.00 05/07/2015 31/12/2015 8 937 £5.00 £1.50 05/07/2015 31/12/2015 9 938 £3.50 £2.00 05/07/2015 31/12/2015 10 939 £2.00 £4.00 05/07/2015 31/12/2015 11 940 £1.00 £1.50 05/07/2015 31/12/2015
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>Sheet1
Ian Machin