|4||Sell||Product A||1||=(1 x 3)|
|5||Sell||Product A||2||=(2 x 3)|
|6||Sell||Product A||4||=(4 x 3)|
|10||Sell||Product B||5||=(5 x 7)|
|11||Sell||Product B||6||=(6 x 7)|
Hi Guys, I had tried to resolve the above formula for 2 days and unable to get a workable formula.
What I am trying to achieve is, I wish to fix a formula where I can fix the calculation moving downwards to capture the source at column E. And it can be copy straight away to the next few rows, and the formula will continue to capture what is the next multiply factor on column E.
Example, row D4,D5,D6 are fixed to multiply with the cells at E3
and thereafter the formula can be copied continuously to the bottom of the cells, and row D10, D11 will automatically multiply with the cells at E9
Column A consist of the transaction nature
Column B consist of product name
Column C consist of the cost price
Column D consist of the total costs
Column E is the average of total purchase costs
It seems like only macro can do it, but i would like to keep it simple as possible for the next user to understand how is the whole calculation was derived from. But if simple macro which can helps, i would like to know how to do it as well.
Appreciate if anyone could advise on a workable formula to capture the above scenario.