Sum based on Date

rhyse

New Member
Joined
Apr 11, 2018
Messages
8
Hi
Need some help here

I want to be able to find the sum of November 1 to say the 12th day of the month (will automatically update based on what day it is today)

It should total $406,489.97

And then say tomorrow when I check it should total to $432,186.95

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
MonthNovember 2017
1$68,984.28
2$17,715.00
3$2,380.00
4$0.00
5$0.00
6$29,774.86
7$149,187.94
8$9,998.00
9$9,384.05
10$119,065.84
11$0.00
12$0.00
13$25,696.98
14$45,340.68
15$6,681.05
16$4,838.45
17$40,386.99
18$0.00
19$0.00
20$146,016.49
21$202,543.70
22$1,600.00
23$0.00
24$0.00
25$0.00
26$0.00
27$50,823.58
28$24,879.85
29$12,747.39
30$24,600.07
31-
Deposits Total

<colgroup><col style="width: 100px"><col width="109"></colgroup><tbody>
</tbody>


Any help would be much appreciated have been struggling with this for a while!

Thanks!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi rhyse

look into the SUMIF() Function. It states that you want to sum a range if a certain criteria (date) is met. Hope this helps.
 
Upvote 0
For example if today is 11 I want it to calculate the sum of the first 11 cells in column b
if today is the the 12 i want it to calculate the sum of the first 12 cells in column b
and so on
 
Upvote 0
Hi again,

Since you're using Today's date as the criteria, I've changed your sample to April of 2018:


Excel 2010
ABCD
1DayApr-18Result
21$68,984.28$406,489.97
32$17,715.00
43$2,380.00
54$0.00
65$0.00
76$29,774.86
87$149,187.94
98$9,998.00
109$9,384.05
1110$119,065.84
1211$0.00
1312$0.00
1413$25,696.98
1514$45,340.68
1615$6,681.05
1716$4,838.45
1817$40,386.99
1918$0.00
2019$0.00
2120$146,016.49
2221$202,543.70
2322$1,600.00
2423$0.00
2524$0.00
2625$0.00
2726$0.00
2827$50,823.58
2928$24,879.85
3029$12,747.39
3130$24,600.07
Sheet6
Cell Formulas
RangeFormula
D2=SUMIF(A2:A31,"<="&DAY(TODAY()),B2:B31)
 
Upvote 0

Similar threads

Forum statistics

Threads
1,214,531
Messages
6,120,073
Members
448,943
Latest member
sharmarick

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