Sum for past five days

xeven_

Active Member
Joined
Jan 20, 2012
Messages
302
I have a column of numbers in column C. I want to sum the prior five days in column D. Is there a formula that will help me do this?
Something like below

0.35%​
-0.28%​
0.49%​
0.67%​
-0.29%​
0.94%​
0.70%​
-0.15%​
0.19%​
0.84%​
0.39%​
1.96%​
-0.27%​
0.03%​
0.11%​
-0.90%​
-1.57%​
-2.60%​
1.01%​
-0.09%​
0.31%​
-1.77%​
0.73%​
0.19%​
1.50%​
1.13%​
0.33%​
-0.54%​
0.73%​
0.17%​
 

Attachments

  • 1651383272487.png
    1651383272487.png
    213.3 KB · Views: 2

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hello,

the sum function if started at the fifth row can be dragged down and I m sure you are familiar with that, so I think what you are asking about is that you want to only display the values in the specific rows that you are showing which can be solved by
Excel Formula:
=IF(MOD(ROW(B5),5)=0,SUM(A1:A5),"")
 
Upvote 0
Solution
Hello,

the sum function if started at the fifth row can be dragged down and I m sure you are familiar with that, so I think what you are asking about is that you want to only display the values in the specific rows that you are showing which can be solved by
Excel Formula:
=IF(MOD(ROW(B5),5)=0,SUM(A1:A5),"")
AWESOME THANK YOU!!!!;)
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,580
Members
448,972
Latest member
Shantanu2024

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