I have a worksheet that calculates values in a table based upon a selected data set from another sheet. In some cases, values are missing from the selected data set. The missing data causes #DIV/0, #N/A, or other error messages to be inserted in the table. I want to eliminate these messages and just leave the cell blank when data is missing.
In the past, I have worked around this problem by entering an IF function in each cell of the table similar to this:
If(iserror(formula),””,formula)
This eliminates the error messages, but it is quite cumbersome, especially when the formula is long. Debugging and formula changes are difficult because the formula must be checked and/or changed twice in each cell of the table. Is there an easier way to eliminate the error messages?