Hi,
Sorry, there is a problem, in case M4 to P4 is blank, and L4 is not 0, then calculation is showing wrong. in that case J4 will not be considered as payment yet to receive. Therefore commission will be 0% also.
How can it be sir ? wrong calculation again, see first I shall check 2014-15, if full payment receives, then 2015-16 will be ignored, if full payment not received then it will calculate 2015-16. If again 2015-16 shows O/S amount then commission will be 0%TPR
=G4*LOOKUP(IF(L4=0,IF(J4>0,J4,0),IF(N4>0,N4,0)),B7:B9,F7:F9)
If outstanding is not 0 within 121 days of 2015-16 then commission will be 0%.10 means 10, not 3!
O/S Amount is outstanding sir. There are two columns heading O/S Amount both for 2014-15 & 2015-16.TPR - Yes - sure - maybe
new term ... 'outstanding' ... cannot find from that sheet ... or can?
If You want to any solution then You should answer questions, make answers which would help to solve Your case.
Not just give 0! Which makes 0? ... 'outstanding' ... which is something?