Code:
=SUM(IF(B5*D23>2217.6,2217.6,B5*D23)+(IF(B5*D24<786.76,786.76,B5*D24)))
I would hope there is a better way to determine the final answer with fewer... functions?
Just to be clear
B5 and D23 are multiplied
if the result is less than 2217.60 then use the result
otherwise max the result at 2217.60
The same with B5 * D23 but the max is 786.76
Thank you as always,
-- g