Sum depending of headers of rows/columns + column before

Jeanb25

New Member
Joined
Feb 18, 2016
Messages
3
Hello,

I've got a table like that :
ejTTvVQ.png


I'd like to fill this table, the column "nb of days" for each months with :
- the forecast column of the current month + the "adjustment" column of previous month that sum for a specific level (if 2 people have the same level they are sum up)
y129CKA.png


Currently I'm able to do it with the forecast column of the current month only.
The formula I use is :
Code:
SUMPRODUCT(('TimeSheet'!$A$3:$A$7='Facturation'!$A3)*('TimeSheet'!$C$1:$T$1='Facturation'!B$1);'TimeSheet'!$C$3:$T$7)

Any idea on how I can do it ? I tried to play with offset but no luck to do it :'(
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I tried to do an array in some cells below, then an offset array of those cells then the sumproduct, but i think it may have something better as I have my sheet filled with 0 and 1 everywhere now :D.

Any one have a solution ? :/
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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