Hi,
For a set of percentages split by location and period , I need to obtain a detail for each location and for each period as a percentage of the previous months multiplied, as follows:[TABLE="width: 661"]
<tbody>[TR]
[TD]Data[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD="colspan: 2"]Expected result[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc[/TD]
[TD]Posting Date[/TD]
[TD]Percentage[/TD]
[TD]
[/TD]
[TD]Loc[/TD]
[TD]Posting Date[/TD]
[TD]Posting date cumulative[/TD]
[TD]Percentage[/TD]
[TD]Formula[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]10%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]10.00%[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]5%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]0.50%[/TD]
[TD]%Jan * %Feb[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]17%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]5.00%[/TD]
[TD]% Feb[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Apr-18[/TD]
[TD="align: right"]83%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]0.09%[/TD]
[TD]%Jan * %Feb*% Mar[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-May-18[/TD]
[TD="align: right"]25%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]0.85%[/TD]
[TD] %Feb*% Mar[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jun-18[/TD]
[TD="align: right"]99%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]17.00%[/TD]
[TD]%Mar[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jul-18[/TD]
[TD="align: right"]83%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Aug-18[/TD]
[TD="align: right"]73%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Sep-18[/TD]
[TD="align: right"]75%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Oct-18[/TD]
[TD="align: right"]76%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Nov-18[/TD]
[TD="align: right"]11%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Dec-18[/TD]
[TD="align: right"]98%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]68%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]49%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]57%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Apr-18[/TD]
[TD="align: right"]60%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-May-18[/TD]
[TD="align: right"]52%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Jun-18[/TD]
[TD="align: right"]78%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any suggestions?
Cheers,
Dorin
For a set of percentages split by location and period , I need to obtain a detail for each location and for each period as a percentage of the previous months multiplied, as follows:[TABLE="width: 661"]
<tbody>[TR]
[TD]Data[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD="colspan: 2"]Expected result[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc[/TD]
[TD]Posting Date[/TD]
[TD]Percentage[/TD]
[TD]
[/TD]
[TD]Loc[/TD]
[TD]Posting Date[/TD]
[TD]Posting date cumulative[/TD]
[TD]Percentage[/TD]
[TD]Formula[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]10%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]10.00%[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]5%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]0.50%[/TD]
[TD]%Jan * %Feb[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]17%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]5.00%[/TD]
[TD]% Feb[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Apr-18[/TD]
[TD="align: right"]83%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]0.09%[/TD]
[TD]%Jan * %Feb*% Mar[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-May-18[/TD]
[TD="align: right"]25%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]0.85%[/TD]
[TD] %Feb*% Mar[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jun-18[/TD]
[TD="align: right"]99%[/TD]
[TD]
[/TD]
[TD]Loc 1[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]17.00%[/TD]
[TD]%Mar[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Jul-18[/TD]
[TD="align: right"]83%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Aug-18[/TD]
[TD="align: right"]73%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Sep-18[/TD]
[TD="align: right"]75%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Oct-18[/TD]
[TD="align: right"]76%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Nov-18[/TD]
[TD="align: right"]11%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 1[/TD]
[TD="align: right"]01-Dec-18[/TD]
[TD="align: right"]98%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Jan-18[/TD]
[TD="align: right"]68%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Feb-18[/TD]
[TD="align: right"]49%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Mar-18[/TD]
[TD="align: right"]57%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Apr-18[/TD]
[TD="align: right"]60%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-May-18[/TD]
[TD="align: right"]52%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Loc 2[/TD]
[TD="align: right"]01-Jun-18[/TD]
[TD="align: right"]78%[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any suggestions?
Cheers,
Dorin