Not exactly, that returned a value of 2 for E8 and it should be zero as it is not in a vial. Amazing how just figuring out what your question really is helps you solve it. I think I'm getting close. Here is what I have in E3 right now, but I still need some way to keep it from dropping below the min (and telling me that it's not possible).
Maybe I could nest another IF statement to say if the result of that formula is < row B to return an error message?
The other problem is that if you really increase the max, say change C4 to =8, it drives down the other substances, instead of hitting their lower limit and just using a lesser percentage of substance B.
EDIT: I see now that your suggestion has a way to account for the total being >B10, which mine lacks. But the problem of a very high max still applies.
-Rob
Bookmarks