I'm sure this has been addressed before, but my Google Fu fails me.
Sometimes I'll be merrily copying formulae around and notice that some of them return N/A or #DIV/0.
I can revise the cells so that the formulae include =if(isna or if(iserror(, as appropriate, but sometimes it's not practical to do that, and it's cumbersome to type the necessary characters, copy the formula, add a trailing parenthesis, add ,0, then paste the formula and add another trailing parenthesis. What I'd like is a macro I can execute from that would change this
Cell Formula
to
=if(isna(Cell Formula)),0,Cell Formula).
Surely it's been done before. Can someone enlighten me?
Sometimes I'll be merrily copying formulae around and notice that some of them return N/A or #DIV/0.
I can revise the cells so that the formulae include =if(isna or if(iserror(, as appropriate, but sometimes it's not practical to do that, and it's cumbersome to type the necessary characters, copy the formula, add a trailing parenthesis, add ,0, then paste the formula and add another trailing parenthesis. What I'd like is a macro I can execute from that would change this
Cell Formula
to
=if(isna(Cell Formula)),0,Cell Formula).
Surely it's been done before. Can someone enlighten me?