Hello!
I use helper columns to list dates that are due for settlements. The array formula below will check from dynamical ranges of 7 rows (one week), if there has been trips, as per column G.
Formula:
=IF(AND(WEEKDAY(A7)=6,SUM(OFFSET(G7,,,IFERROR(SMALL($K$7:$K$105,COUNTIF(K$7:K7,">0")),ROW())-IFERROR(SMALL($K$7:$K$105,COUNTIF(K$7:K7,">0")+1),0),1))>0),OFFSET(A7,28,0),"")
If you have to edit this formula, make sure you hit Ctrl+shift+enter keys simultaneously when you're done editing.
Column G will number the trips entered in columns C thru F, as I have entered as per info in your pdf file.
As you enter more trips, they will be numbered up in column G, and respective settlement due date will show in subsequent Friday row in helper column J and copied without blank rows in column H.
Blank rows 1 thru 5 are there to aid formula with upward OFFSET function. You can use them for header or something, but please don't delete them.
Please run some tests and let us know if it will work.
Good luck!
Bookmarks