Cumulative sum based on Row and Column criteria

Citron

New Member
Joined
Mar 28, 2019
Messages
1
Hi,

I would like to do a cumulative sum based on Row and Column criteria :

I would like to do the cumulative month (Year to date)
In the last colomn, I'd like to have the cumul of all the "CY_A_IT_1" for each Items.
A B C D E F
CY_A_IT_1CY_A_IT_1CY_A_IT_1CY_ACY_ACY_A_IT_1
ItemsJanFebMarAprMayCumul YTD
B552451448552
C20212580
D44250
E20245
F52250

<tbody>
</tbody>













<colgroup><col><col><col><col><col span="3"></colgroup><tbody>
</tbody>
I tried with SUMIF($B$1:$B$5,$B$1,INDEX($B$3:$F$7,0,MATCH($A3,$A$3:$A$7))) but it doesn't work and I don't understand why. I find just the first result but when I drag the formula the other result are wrong...

How can I do that? I have office 365

Thank you so much for your help
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Welcome to the Board.

I'm not clear on your requirements, but try:

ABCDEFGH
1CY_A_IT_1CY_A_IT_1CY_A_IT_1CY_ACY_ACY_A_IT_1
2ItemsJanFebMarAprMayCumul YTD
3B552451448552741
4C2021258043
5D4425010
6E202454
7F522509

<tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
G3=SUMIF($B$1:$F$1,G$1,B3:F3)

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
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