Excel Query about cumulative summation in the data table

Hrishi

Board Regular
Joined
Jan 25, 2017
Messages
56
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have various rows with data 1,2,3,4,etc and various columns having ascending numbers from left to right. Like this

-- removed inline image ---


Now, at different sheet, if I give reference to the 3 and 20173, I want total of all the data mentioned in row 4 starting from 20171 till 20173. Can you help me ?

Regards
Hrishi
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hello, I think the Image of table I have pasted is not showing up.

Sr No Date 20171 20172 20173 20174
1 1 5 7 9
2 5 8 6
3 4 5 7
4 3 2 4 8
5 5 5
 
Upvote 0
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Sr No / Date
[/TD]
[TD]20171
[/TD]
[TD]20172
[/TD]
[TD]20173
[/TD]
[TD]20174
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]8
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]5
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]8
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD]3
[/TD]
[TD]5
[/TD]
[/TR]
</tbody>[/TABLE]









Data is arranged like above table
 
Upvote 0
columns having ascending numbers from left to right.

Hi, welcome to the forum! if I have understood correctly, see if you can adapt this to your actual two sheet set-up.


Excel 2013
ABCDEFGHI
1Sr No / Date20171201722017320174
21568732017311
32325
431287
5435
Sheet1
Cell Formulas
RangeFormula
I2=SUMIFS(INDEX($B$2:$E$5,MATCH(G2,$A$2:$A$5,0),0),$B$1:$E$1,"<="&H2)
 
Upvote 0
Hi, this formula is working on sample sheet, but not working in my original sheet where I have quite huge date. It is even not showing any error. Is there any way I can share my worksheet with you?
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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