Ok Made the changes to the formulaIf the above does not reflect reality I would suggest posting a representative sample file.
and it's still not adding up correctly.![]()
=SUM(G27:I60)+IF(COUNTIF(G27:G60,"<>0")<17,SUMPRODUCT(((MOD(D61:D94-1,17)+1)>(MOD(COUNTIF(G27:G60,"<>0")-1,17)+1))*G61:I94))
I have added an example sheet
Thanks
Bookmarks