Without properly understanding your question, I am guessing that you want to cap a number at between 0 and 850000 regardless of what the sum of a figure is.
Therefore, I am assuming that something like this is what you are after:
=IF(A2<0,0,IF(A2>850000,850000,A2))
Obviously, you would need to set your ranges so that you weren't statically working from A1,A2,A3 etc and you may even want a reference table like so:
=IF(A3<F3,0,IF(A3>F4,F4,A3))
If you move your minimum and maximum to another sheet and stick your "sum of valued" cells in place of A2/A3/etc then this should give you what you are lookg for (again, assuming I've understood your question correctly)
Hope this helps.
برچسب:
نویسنده: استخدام کار