Hi

Better to use helper column/row.

Put the original formula in the helper column/row. In the actual cells try something like

=if(or(helpercell="n/a",helpercell="-1"),"n/a",helpercell)

The original formula I meant was the first one.