Dear All, I have a question. What if I have a particular item. On the left is its history of PRODUCTION DATE. While on the right is the actual ISSUANCE. What i would like to do is, it will follow, in sequence of its production date, the number of item being issued. Based on the image attached, I have 12 bottles produced each production date. If I will issue it to stores 1 to 4, it will return the values of May 1 until store number 3 and at store 4 it will be a combination of may 1 and may 5 following the date of their production. In manufacturing language, it simply means the first in first out only translated into excel language. Thanks.
[TABLE="width: 768"]
<tbody>[TR]
[TD]ITEM:[/TD]
[TD]Caesar Dressing[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Production Date:[/TD]
[TD]Quantity[/TD]
[TD]Unit of Measure[/TD]
[TD][/TD]
[TD]Store[/TD]
[TD]Order Quantity[/TD]
[TD]Unit of Measure[/TD]
[TD]Production Date[/TD]
[/TR]
[TR]
[TD="align: right"]5/1/2014[/TD]
[TD="align: right"]12[/TD]
[TD]Bottle[/TD]
[TD][/TD]
[TD]Store 1[/TD]
[TD="align: right"]3[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]5/5/2014[/TD]
[TD="align: right"]12[/TD]
[TD]Bottle[/TD]
[TD][/TD]
[TD]Store 2[/TD]
[TD="align: right"]4[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]5/10/2014[/TD]
[TD="align: right"]12[/TD]
[TD]Bottle[/TD]
[TD][/TD]
[TD]Store 3[/TD]
[TD="align: right"]3[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Store 4[/TD]
[TD="align: right"]5[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
</tbody><colgroup><col><col><col><col span="2"><col><col><col></colgroup>[/TABLE]
[TABLE="width: 768"]
<tbody>[TR]
[TD]ITEM:[/TD]
[TD]Caesar Dressing[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Production Date:[/TD]
[TD]Quantity[/TD]
[TD]Unit of Measure[/TD]
[TD][/TD]
[TD]Store[/TD]
[TD]Order Quantity[/TD]
[TD]Unit of Measure[/TD]
[TD]Production Date[/TD]
[/TR]
[TR]
[TD="align: right"]5/1/2014[/TD]
[TD="align: right"]12[/TD]
[TD]Bottle[/TD]
[TD][/TD]
[TD]Store 1[/TD]
[TD="align: right"]3[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]5/5/2014[/TD]
[TD="align: right"]12[/TD]
[TD]Bottle[/TD]
[TD][/TD]
[TD]Store 2[/TD]
[TD="align: right"]4[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]5/10/2014[/TD]
[TD="align: right"]12[/TD]
[TD]Bottle[/TD]
[TD][/TD]
[TD]Store 3[/TD]
[TD="align: right"]3[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Store 4[/TD]
[TD="align: right"]5[/TD]
[TD]Bottle[/TD]
[TD] [/TD]
[/TR]
</tbody><colgroup><col><col><col><col span="2"><col><col><col></colgroup>[/TABLE]