Calculating Sumproduct across different months

apc1968

New Member
Joined
Nov 4, 2012
Messages
14
Hi - I have three acquisitions which will occur in different months (i.e. one in Feb; one in Apr etc):

[TABLE="width: 695"]
<colgroup><col><col span="6"></colgroup><tbody>[TR]
[TD="colspan: 2"]Timing of Acquisitions[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[TD]Jun[/TD]
[/TR]
[TR]
[TD]Acq1[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Acq2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Acq3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1
[/TD]
[/TR]
</tbody>[/TABLE]

When acquired, each acquisition will then have the same profile of revenue and cost (i.e. the first month of each acquisition will have a revenue of £1,200 etc):

[TABLE="width: 695"]
<colgroup><col><col span="6"></colgroup><tbody>[TR]
[TD]Typical Acquisition Profile[/TD]
[TD="colspan: 6"]Month[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Turnover[/TD]
[TD]1200[/TD]
[TD]1000[/TD]
[TD]900[/TD]
[TD]1300[/TD]
[TD]1250[/TD]
[TD]1500[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cost of Sales[/TD]
[TD]-900[/TD]
[TD]-800[/TD]
[TD]-750[/TD]
[TD]-1100[/TD]
[TD]-1050[/TD]
[TD]-1325[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Profit[/TD]
[TD]300[/TD]
[TD]200[/TD]
[TD]150[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD]175
[/TD]
[/TR]
</tbody>[/TABLE]


So the output in April for example would be the Month 3 turnover from Acq1 and Month 1 turnover from Acq2:
[TABLE="width: 695"]
<colgroup><col><col span="6"></colgroup><tbody>[TR]
[TD]Output[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[TD]Jun[/TD]
[/TR]
[TR]
[TD]Turnover[/TD]
[TD]0[/TD]
[TD]1200[/TD]
[TD]1000[/TD]
[TD]2100[/TD]
[TD]2300[/TD]
[TD]3350[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cost of Sales[/TD]
[TD]0[/TD]
[TD]-900[/TD]
[TD]-800[/TD]
[TD]-1650[/TD]
[TD]-1900[/TD]
[TD]-2700[/TD]
[/TR]
</tbody>[/TABLE]


Whilst I can do this for low volumes with lookup or index/match; I will have a lot of Acquisitions and a large P&L - can I use a database function to perform a single calculation?

Thanks to all for helping
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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