wayneryeven
Technical User
Hey all,
Been stuck on this formula for past hour!
Item DemDate DemQty SupDate SupQty Supply
1 10/08/2011 62 20/08/2011 500 0
1 11/08/2011 106 20/08/2011 500 500
1 26/08/2011 106 20/08/2011 500 0
2 26/08/2011 100 20/08/2011 100 100
The SupDate indicates when a supply of an item is due (and appears beside each item which cant be changed). Thus for above there is a SupQty of 500 units due for Item 1 on the 20/08.
I need to write a formula in Supply column (F) that does this:
FOR THAT ITEM, if SupDate<DemDate then Supply = SupQty
If SupDate > DemDate AND < ext DemDate (for that item) Supply= SupQty
Otherwise Supply= 0
Very complex and difficult to understand, i hope i have explained it somewhat.
Thanks for all input,
Been stuck on this formula for past hour!
Item DemDate DemQty SupDate SupQty Supply
1 10/08/2011 62 20/08/2011 500 0
1 11/08/2011 106 20/08/2011 500 500
1 26/08/2011 106 20/08/2011 500 0
2 26/08/2011 100 20/08/2011 100 100
The SupDate indicates when a supply of an item is due (and appears beside each item which cant be changed). Thus for above there is a SupQty of 500 units due for Item 1 on the 20/08.
I need to write a formula in Supply column (F) that does this:
FOR THAT ITEM, if SupDate<DemDate then Supply = SupQty
If SupDate > DemDate AND < ext DemDate (for that item) Supply= SupQty
Otherwise Supply= 0
Very complex and difficult to understand, i hope i have explained it somewhat.
Thanks for all input,