Can someone help with this formula. I keep getting Err.508 messages, and no matter what I try, regarding parentheses, the problem persists. The solution may be simple, but I’ve been hacking away at it all afternoon. The formula is in Column N (Row 162).
=IF(J162<>"-",IF(AND(K162="Incl.",M162="Ea."),I162*(J162+L162),IF(AND(K162="Incl.",M162="All"),I162*J162+L162,IF(AND(K162="Plus",M162="All'),(I162*J162+L162)*1.1,IF(AND(K162="plus",M162="ea."),I162*(J162+L162)*1.1,"-"")))))
The spreadsheet headings are (and examples of how it is intended to work):
I162 | J162 | K162 | L162 | M162 | N162 | |
---|---|---|---|---|---|---|
Qty | $ Ea. | Tax Incl./Plus | Delivery | Ea./All | PriceTotal | (Tax is 10%) |
4 | $10 | Incl. | $5 | Ea. | $60 | |
4 | $10 | Incl. | $5 | All | $45 | |
4 | $10 | Plus | $5 | All | $49.50 | |
4 | $10 | Plus | $5 | Ea. | $66 |
(The purpose of the spreadsheet is to keep track of on-line orders and purchases, where different suppliers have differing pricing, delivery and tax methods).
Note also the lack of capitalisation on the last “plus” and “ea.” I’ve tried to correct this in the formula, but I will not accept the changes. Grrr. ???