Hi JackAmin
It is recommended to first evaluate the 0 (zeroes) and "Blank " output when dealing with IF statement/logical formulas.
Please, try the formula below.
=IF(attenDance<=0,0,IF(attenDance>minDays,
SUM( verifiedOutPut - excessOutPut) * standardPrice +
SUM( excessOutPut * pricePerExcessClaim) + maximum_TNT,
IF(attenDance<maxDays,
SUM(verifiedOutPut-excessOutPut)*standardPrice+
SUM(excessOutPut*standardPrice)+minimum_TNT/minDays*attenDance,0
)))
Please, also notice that cell M10 is Custom formatted to show a dash " - " when the result is 0.
I hope this helps you and gives a solution to your problem
Do let me know if you need more help
Regards
Jeovany
Thank you Jeovany.
its worked perfectly. thank u always