enter image description here
I want to write a code that automate the late days calculation. Here is how it should work