Counting late payment dates

Stan Dad

New Member
Joined
Aug 17, 2012
Messages
21
Hi all.

I normally get paid on the 15th of every month, though sometimes this could be later. If I enter the actual payment dates in A1:A12, which formula can I use to count the number of times they were made late?
 
Hello again,

Thanks a lot for your explanation .. :wink:

Indeed, it is quite difficult to visualize ... what is exactly in front of Your eyes ...!!!

So ... just go ahead and test following formula :

Code:
=SUMPRODUCT(--(A1:A12>DATE(YEAR(A1:A12),ROW(A1:A12),15)))

HTH
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
If your December 2017 pay can land in your bank account ... the following year ....

1. You should quit .... !!! :wink:

2. and use this formula
Code:
=SUMPRODUCT(--($A$1:$A$12>DATE(2017,ROW($A$1:$A$12),15)))

Feel free to test ... and comment ...

:smile:
 
Upvote 0
You're the real deal, James!!! :biggrin:

Yes, this works - boy, does it just! I've tested it for dates well into the future and it holds good. Well done, James. When I blank out future dates, using <a12,"",a12) need.
IF(TODAY()<A12,"",A12), it treats the blanks as missed payment dates, but I can use COUNTBLANK to deduct these from the result. So I might end up with an unwieldy formula, but it works.
Nice one, James. :beerchug:</a12,"",a12)>
 
Last edited:
Upvote 0
Glad you can finally rely on ... a solution ... :cool:

Thanks a lot .. for your Thanks ...

and for the Beer ... !!! ...
:beerchug:
Cheers
 
Upvote 0
the rest of the message reads:

<a12,"",a12), I="" it="" deduct="" to="" COUNTBLANK="" use="" can="" but="" payments,="" as="" the="" from="" these="" treats="" total.
<a12,"",a12), I="" it="" deduct="" to="" COUNTBLANK="" use="" can="" but="" payments,="" as="" the="" from="" these="" treats="" total.
<a12,"",a12) need.=""><a12,"",a12), I="" it="" deduct="" to="" COUNTBLANK="" use="" can="" but="" payments,="" as="" the="" from="" these="" treats="" total.
It treats blank cells as missed payments but I can use COUNTBLANK to deduct those

<a12,"",a12), it="" up="" end="" deduct="" to="" use="" can="" but="" missed="" as="" blanks="" the="" works.="" countblank="" i="">Nice one, James. </a12,"",a12),></a12,"",a12),></a12,"",a12)></a12,"",a12),></a12,"",a12),>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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