Hello members of the Mr. Excel crew. Coming to you for some pointers on how to create a simple indicator on Inventory management of product codes (FIFO - First in, First out Method) taking into account the product lot expiry date. I have the feeling it should be simple, but I am having a hard time coming up with the formulae.
So I have these 2 data sets (below simplified):
1 - Current stock by product code/lot and the corresponding expiry date.
2 - Monthly consumptions.
The indicator I want to create is wether, with the information we currently have, each lot will be consumed before the expiry date or not (which would be presented in conditional formatting to the user).
1st Data set
2nd Data set
Any ideas?
Thanks!
So I have these 2 data sets (below simplified):
1 - Current stock by product code/lot and the corresponding expiry date.
2 - Monthly consumptions.
The indicator I want to create is wether, with the information we currently have, each lot will be consumed before the expiry date or not (which would be presented in conditional formatting to the user).
1st Data set
Product code | Lot | Exp. Date | Stock (kg) |
1004-14000063 | 31768 | 05/10/2020 | 15,626 |
1004-14000063 | 32055 | 20/11/2020 | 81,000 |
1004-14000063 | 32035 | 10/12/2020 | 270,000 |
1005-14000031 | 31590 | 15/09/2020 | 7,554 |
1006-14000070 | 31074 | 02/07/2020 | 5,811 |
1011-26000028 | 31917 | 15/10/2020 | 58,987 |
1011-26000028 | 32407 | 15/04/2021 | 60,807 |
2nd Data set
Product Code | May | June | July | August | September | October |
1004-14000063 | 8.27 | 29.26 | 16.81 | 20.61 | 24.81 | 18.81 |
1005-14000031 | 2.50 | 5.56 | 2.91 | 4.63 | 6.60 | 4.70 |
1006-14000070 | 0.90 | 0.98 | 1.67 | 0.93 | 0.39 | 1.26 |
1011-26000028 | 16.59 | 38.91 | 22.00 | 26.86 | 38.61 | 32.15 |
Any ideas?
Thanks!