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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Jeanb25

New Member
Joined
Feb 18, 2016
Messages
3
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 ? :/
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,068
Messages
5,835,204
Members
430,345
Latest member
Yousef081

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
Top