How to hide or replace div errors in spreadsheets