Multiply previous columns

dorinb

New Member
Joined
Oct 10, 2019
Messages
6
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:
Data


Expected result


LocPosting DatePercentage
LocPosting DatePosting date cumulativePercentageFormula
Loc 101-Jan-1810%
Loc 101-Jan-1801-Jan-1810.00%
Loc 101-Feb-185%
Loc 101-Feb-1801-Jan-180.50%%Jan * %Feb
Loc 101-Mar-1817%
Loc 101-Feb-1801-Feb-185.00%% Feb
Loc 101-Apr-1883%
Loc 101-Mar-1801-Jan-180.09%%Jan * %Feb*% Mar
Loc 101-May-1825%
Loc 101-Mar-1801-Feb-180.85% %Feb*% Mar
Loc 101-Jun-1899%
Loc 101-Mar-1801-Mar-1817.00%%Mar
Loc 101-Jul-1883%





Loc 101-Aug-1873%





Loc 101-Sep-1875%





Loc 101-Oct-1876%





Loc 101-Nov-1811%





Loc 101-Dec-1898%





Loc 201-Jan-1868%





Loc 201-Feb-1849%





Loc 201-Mar-1857%





Loc 201-Apr-1860%





Loc 201-May-1852%





Loc 201-Jun-1878%





<tbody>
</tbody>


Any suggestions?
Cheers,
Dorin
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi Dorin

Assuming column D empty, like in the table you posted, in H2:

=PRODUCT(IF($A$2:$A$19=E2,IF($B$2:$B$19<=F2,IF($B$2:$B$19>=G2,$C$2:$C$19,1))))

This is an array formula, you have to confirm it with CTRL-SHIFT-ENTER.
Copy down
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,730
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top