Google-sheets – Google Sheets: How to turn an input into a value

formulasgoogle sheets

I am trying to figure out how to turn an input into a value?

For example:

Someone enters N/A in a cell in one column. I want it to appear as a 0 in the next column.

What can be done?

Best Answer

You can try

=INDEX(IF(ISERR(P2:P8-O2:O8),0,P2:P8-O2:O8))

enter image description here

(Please adjust ranges to your needs. If still an issue please share more info.)

Functions used: