Hi all,
I am trying to make a formula in Excel but it's really causing lots of headache.
The case:
I have 3 "sets" of values with price and stock respectively.
Column A: Price, supplier 1
Column B: Stock, supplier 1
Column C: Price, supplier 1
Column D: Stock, supplier 1
Column E: Price, supplier 1
Column F: Stock, supplier 1
So far I fixed the general minimum price (=min(A2,C2,E2) and it's working fine.
What I need now is a formula that will look at the 3 stock values (B, D and F) and return the lowest price of the "set" that has more than 0,5 in stock (ie. B is 0, D is 5 and F is 0 - return C as price / B is 2, D is 5, F is 0 - return lowest price of B or D).
My guess is that the part of the first formula, if using IF should be: =IF(AND(B2>0,5,D2>0,5,F2>0,5);G2) - Right?
I hope it makes sense.
(By the way, this formula didn't work: =IF(AND(B2>0,5,D2>0,5,F2>0,5),G2,IF(B2>0,5,A2,C2))
Bookmarks