Originally Posted by
DonkeyOte
Can I ask, given the 12, 5 & 70% rate why would the result be 9 ? Shouldn't it be 12 ?
12 + 9 = 21
5 + 9 = 14
14/21 -> 67% (thereabouts) - ie this fails the 70% limit
12 + 12 = 24
5 + 12 = 17
17/24 -> 71% (thereabouts) - ie this passes the 70% limit (11 does not)
I am sure there are ways for calculating this with math but in terms of a brute force method:
C51:
=MIN(IF(((B10+ROW(1:100))/(A10+ROW(1:100)))>=0.7,ROW(1:100)))
confirmed with CTRL + SHIFT + ENTER
the use of 100 is relative of course - and might need adjusting based on values in row 10
Bookmarks