Hi,
I have a list of products all with a current price and a was price.
I have a separate sheet which contains the history of all of the pricing on the products and I want to find out from that list, when the was price I have was live.
The trouble is for some of the products I have 8 or 9 lines worth of history, so I can't do a simple look up to find the date.
Does anyone have any ideas?
[TABLE="width: 1383"]
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 890"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]PROD[/TD]
[TD]NOW EFCT_DT[/TD]
[TD]NOW Current Price[/TD]
[TD]NOW Was Price[/TD]
[TD]EFCT_DT[/TD]
[TD]END_DT[/TD]
[TD]PROD_LST_PRC[/TD]
[/TR]
[TR]
[TD]Corn[/TD]
[TD="align: right"]24/08/2017[/TD]
[TD="align: right"]0.57[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]06/06/2017[/TD]
[TD="align: right"]23/08/2017[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD]Corn[/TD]
[TD="align: right"]24/08/2017[/TD]
[TD="align: right"]0.57[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]24/08/2017[/TD]
[TD][/TD]
[TD="align: right"]0.57[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]09/06/2016[/TD]
[TD="align: right"]20/07/2016[/TD]
[TD="align: right"]9.97[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]26/09/2017[/TD]
[TD="align: right"]16/01/2018[/TD]
[TD="align: right"]4.97[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD][/TD]
[TD="align: right"]3.97[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]23/06/2017[/TD]
[TD="align: right"]25/09/2017[/TD]
[TD="align: right"]11.97[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So I'm trying to pull back the date of when the now was price equals the prod_lst_prc
Thanks
I have a list of products all with a current price and a was price.
I have a separate sheet which contains the history of all of the pricing on the products and I want to find out from that list, when the was price I have was live.
The trouble is for some of the products I have 8 or 9 lines worth of history, so I can't do a simple look up to find the date.
Does anyone have any ideas?
[TABLE="width: 1383"]
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 890"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]PROD[/TD]
[TD]NOW EFCT_DT[/TD]
[TD]NOW Current Price[/TD]
[TD]NOW Was Price[/TD]
[TD]EFCT_DT[/TD]
[TD]END_DT[/TD]
[TD]PROD_LST_PRC[/TD]
[/TR]
[TR]
[TD]Corn[/TD]
[TD="align: right"]24/08/2017[/TD]
[TD="align: right"]0.57[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]06/06/2017[/TD]
[TD="align: right"]23/08/2017[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD]Corn[/TD]
[TD="align: right"]24/08/2017[/TD]
[TD="align: right"]0.57[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]24/08/2017[/TD]
[TD][/TD]
[TD="align: right"]0.57[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]09/06/2016[/TD]
[TD="align: right"]20/07/2016[/TD]
[TD="align: right"]9.97[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]26/09/2017[/TD]
[TD="align: right"]16/01/2018[/TD]
[TD="align: right"]4.97[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD][/TD]
[TD="align: right"]3.97[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]17/01/2018[/TD]
[TD="align: right"]3.97[/TD]
[TD="align: right"]4.97[/TD]
[TD="align: right"]23/06/2017[/TD]
[TD="align: right"]25/09/2017[/TD]
[TD="align: right"]11.97[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So I'm trying to pull back the date of when the now was price equals the prod_lst_prc
Thanks