SUM on specific dates

Miron

New Member
Joined
Oct 20, 2009
Messages
11
Office Version
  1. 365
Platform
  1. Windows
I have a list of items. Each item got a date range and a sum amount.
Created a list of dates and trying to sum all items on specific dates.
I know its supposed to be simple but the solution evades me.

Sum Dates.xlsx
BCDEFGHIJKL
2
3AssetStartEndTotal PeriodPayment each monthInterestsStart PeriodEnd Period% Year% Month
4Office01/10/202001/11/2020163,500.00Monthly 01/10/202030/09/20243.56%0.29%
5Office01/11/202001/10/20211165,000.00
6Office01/10/202101/10/20221270,000.00
7Office01/10/202201/10/20231275,000.00Earliest01/10/2020
8Office01/10/202301/10/20241277,500.00Latest01/10/2024
9Parking01/10/202001/10/2024487,920.00Length Months48
10
11
12
13DateSum per monthManual calculation :(
1401/10/202071,420Numbers I trying to calculate with formula and not manualy=F4+F9
1501/11/202072,920Numbers I trying to calculate with formula and not manualy=F5+F9
1601/12/2020
1701/01/2021
1801/02/2021
1901/03/2021
2001/04/2021
2101/05/2021
Sheet1
Cell Formulas
RangeFormula
L4L4=(1+[@[% Year]])^(1/12)-1
E4:E9E4=ROUNDDOWN((D4-C4)/30,0)
I7I7=MIN(Table1[Start],Table1[End])
I8I8=MAX(Table1[Start],Table1[End])
I9I9=ROUNDDOWN((I8-I7)/30,0)
B14:B61B14=EOMONTH(I7,SEQUENCE(I9)-2)+1
C14C14=F4+F9
C15C15=F5+F9
G14:G15G14=FORMULATEXT(C14)
Dynamic array formulas.
 

Attachments

  • Snag_46fb758.png
    Snag_46fb758.png
    35.7 KB · Views: 8

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
This is what you have asked for but I have my suspicions that it may not be exactly what you need.

The End column in Table1 is a bit misleading, based on your manual calculations it appears that the actual end date is the day before the one shown. I've allowed for this in the formula but there may be occasions when it is not correct.

Excel Formula:
=SUMIFS(Table1[Payment each month],Table1[Start],"<="&B14#,Table1[End],">"&B14#)
 
Upvote 0
Solution
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

For cell C14 try
Excel Formula:
SUMIFS(Table1[Payment each month],Table1[Start],"<="&B14,Table1[End],">"&B14)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

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