So, we start off with (just using "x" as a place-holder for the true statement):If anything is in A1, complete the following tests, else display blank
=IF(A1,[COLOR=#ff0000][B]x[/B][/COLOR],"")
So we replace the "x" in our first formula with:If LEN B1<9 = TRUE,
...
If LEN B1<9 = FALSE, C1
IF(LEN(B1)<0,[COLOR=#ff0000][B]y[/B][/COLOR],C1)
=IF(A1,IF(LEN(B1)<0,[COLOR=#ff0000][B]y[/B][/COLOR],C1),"")
which would just look like:If C1<501 = TRUE, C1*0.01
If C1<501 = FALSE, 5+(C1-500)*0.006
IF(C1<501,C1*0.01,5+(C1-500)*0.006)
=IF(A1,IF(LEN(B1)<0,IF(C1<501,C1*0.01,5+(C1-500)*0.006),C1),"")