Not sure if there is such a function, but, to be honest if I were you I would stick with the one you have as it is a simple one.... perhaps you could use named ranges such as fixcost, saleprice, cost instead of E1, E2, E3. I assume you know how to do this?
RET79