Excel Date Sum Total

charcoop14

New Member
Joined
Jul 28, 2014
Messages
17
Hello all,
I need to create two formulas to bring back the sum of total for two columns based on today's date. Below I have 5 properties, cell A1 has function =(today). How do I have total commitment column give me value of all values from today and in the past and remaining retrieve the rent that is still left based on todays date. Thank you all!

11/18/2021​
1-Nov1-DecTotal 20211-Jan1-FebTotal 2021Total CommitmentRemaining
Property A$ 5,000$ 5,000$ 10,000$ 5,000$ 5,000$ 10,000
Property B$ 6,000$ 6,000$ 12,000$ 6,000$ 6,000$ 12,000
Property C$ 10,000$ 10,000$ 20,000$ 10,000$ 10,000
Property D$ 23,500$ 23,500$ 47,000$ 23,500$ 23,500
Property E$ 25,000$ 25,000$ 50,000$ 25,000$ 25,000
 

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.
Just to clarify what you mean about Remaining column; are you looking to get a full month's amount in remaining or are you looking for a per-diem prorate or something different?

Also I take it that there will be more dates before and after these. As well I assume you meant for G2 to say Total 2022.
 
Upvote 0
Just to clarify what you mean about Remaining column; are you looking to get a full month's amount in remaining or are you looking for a per-diem prorate or something different?

Also I take it that there will be more dates before and after these. As well I assume you meant for G2 to say Total 2022.
yes sorry about that. full months rent, not prorated.

yes will be 5 years ahead and yes, should be total 2022
 
Upvote 0
Go ahead and try these formulas, they should work IF:
$A$1 is your =TODAY()
Row 2 is your date range

Book2
HI
2Total CommitmentRemaining
3$ 5,000.00$ 5,000.00
Sheet1
Cell Formulas
RangeFormula
H3H3=SUMIF(INDIRECT("$A$2:"&ADDRESS(2,LEN(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))))-LEN(SUBSTITUTE(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))),"`","")))),"<="&$A$1,INDIRECT(ADDRESS(ROW(),1)&":"&ADDRESS(ROW(),LEN(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))))-LEN(SUBSTITUTE(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))),"`","")))))
I3I3=IF(DAY($A$1)>1,SUMIF(INDIRECT("$A$2:"&ADDRESS(2,LEN(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))))-LEN(SUBSTITUTE(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))),"`","")))),DATEVALUE(MONTH($A$1) & "/1/" & YEAR($A$1)),INDIRECT(ADDRESS(ROW(),1)&":"&ADDRESS(ROW(),LEN(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))))-LEN(SUBSTITUTE(LEFT(TEXTJOIN("`",FALSE,$2:$2),FIND("``````````",TEXTJOIN("`",FALSE,$2:$2))),"`",""))))),0)
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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