
Originally Posted by
Bryan Hessey
HI,
my suggestion would be to switch the test around a little for ease of undrstanding/amending.
Currently you have =If( condition, do cost, blank)
and you want to increase the condition and do a different cost.
Easier would be =If( blank condition, "" , do cost)
which can then easily become =If( blank condition, "" ,If( next condition, cost @ $1, do cost))
something like
=IF(OR(ISBLANK(A12),AND(B12=0,C12=0)),"",IF(AND(LEN(A12)>LEN(SUBSTITUTE(A12&"1st mē","1st mē","")),D12<1),"B12*1",IF((B12*C12/10^6)<$C$110,$C$110*LOOKUP(A12,$A$75:$A$89,$C$75:$C$89),(B12*C12/10^6)*LOOKUP(A12,$A$75:$A$89,$C$75:$C$89))))
will show where the new cost should apply, but the rest of the costing escapes me, why multiply by 1 ?
---
Bookmarks