From what I can see, V is always =MIN(T<row>:U<row>). That would be the
solution, no?
No; because that's too easy. You must have been asking a different
question, but I can't figure out what it is. You want to get the contents of
column V? No, that's too easy too. Once you have column V, what do you want
to do with it?
> X= the max that can be given
> S= what clients already have
[quoted text clipped - 14 lines]
> 15 0 60 0 0 75
> 6 0 69 0 0 75