Display blank on formula error
Use the IFERROR() function.

IFERROR(SUM(A2-A1),"")

If the cell calculation is valid, the calculation is displayed.  If there is an error in the cell, then this just returns "". (blank)