Count sum of amount with due dates

willwall

New Member
Joined
Sep 22, 2016
Messages
44
Office Version
  1. 365
Platform
  1. Windows
Hello
I am trying to create a formula that shows the overdue amount based on amount of days overdue. In this case i am looking to sum up the values that are overdue more than 8 to 14 days. The cells that are overdue are marked with a negative sign.
[TABLE="width: 791"]
<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody></tbody>[/TABLE]

[TABLE="width: 793"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Due date[/TD]
[TD]Amount[/TD]
[TD]Today[/TD]
[TD]Days overdue[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2018-09-26[/TD]
[TD]10 000[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-250[/TD]
[TD][/TD]
[TD]overdue > 8-14 days[/TD]
[TD]Due in 15 days[/TD]
[/TR]
[TR]
[TD]2019-05-13[/TD]
[TD]9 434[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-21[/TD]
[TD][/TD]
[TD]Amount?[/TD]
[TD]Amount?[/TD]
[/TR]
[TR]
[TD]2019-05-15[/TD]
[TD]3 053[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-20[/TD]
[TD]6 000[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-23[/TD]
[TD]65 077[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-24[/TD]
[TD]69 350[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-24[/TD]
[TD]2 500[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-27[/TD]
[TD]3 000[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-27[/TD]
[TD]18 253[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-29[/TD]
[TD]40 039[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-05-29[/TD]
[TD]33 108[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]-5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-12[/TD]
[TD]3 153[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-13[/TD]
[TD]39 930[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-13[/TD]
[TD]18 795[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-14[/TD]
[TD]17 000[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-14[/TD]
[TD]37 546[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-17[/TD]
[TD]10 000[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-17[/TD]
[TD]57 219[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-19[/TD]
[TD]3 125[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-19[/TD]
[TD]24 079[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2019-06-19[/TD]
[TD]22 216[/TD]
[TD="align: right"]2019-06-03[/TD]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
How about


Excel 2013/2016
ABCDEF
1Due dateAmountTodayDays overdueoverdue > 8-14 daysDue in 15 days
226/09/201810,00003/06/2019-250142,927183,643
313/05/20199,43403/06/2019-21
415/05/20193,05303/06/2019-19
520/05/20196,00003/06/2019-14
623/05/201965,07703/06/2019-11
724/05/201969,35003/06/2019-10
824/05/20192,50003/06/2019-10
927/05/20193,00003/06/2019-7
1027/05/201918,25303/06/2019-7
1129/05/201940,03903/06/2019-5
1229/05/201933,10803/06/2019-5
1312/06/20193,15303/06/20199
1413/06/201939,93003/06/201910
1513/06/201918,79503/06/201910
1614/06/201917,00003/06/201911
1714/06/201937,54603/06/201911
1817/06/201910,00003/06/201914
1917/06/201957,21903/06/201914
2019/06/20193,12503/06/201916
2119/06/201924,07903/06/201916
2219/06/201922,21603/06/201916
List
Cell Formulas
RangeFormula
E2=SUMIFS(B2:B22,D2:D22,"<=-8",D2:D22,">=-14")
F2=SUMIFS(B2:B22,D2:D22,">=0",D2:D22,"<=15")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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