logo
search
Formula Errors

Fix Excel Formula Errors When Adding New Database Rows

Kushani NimanthikaKushani Nimanthika Oct 9, 2026 870 views

Question details

A complex text-manipulation formula fails and returns an error when a new client row is added to a shared Excel database.

How to Fix Excel Formula Errors When Adding New Database Rows
Product
Excel
Device & OS
not provided
Scenario
Adding a new client record into an existing shared Excel database table.
Observed behavior
A formula using TRIM, MID, LEFT, FIND, and LEN functions fails for the newly inserted row in the Communication column.
Before you start

Verify that you have editing permissions for the shared Excel database and check whether the newly added row's source data cells are completely empty or missing required characters.

Solution 1Recommended

Use IFERROR to Handle Missing Data in Text Formulas

Wrap your existing text-extraction formula in an IFERROR function to handle cases where the referenced cell is blank or missing expected characters.

Text functions like FIND will return an error (such as #VALUE!) if the character they are searching for (like a slash '/') is not present in the referenced cell. This frequently happens in new database rows because the data has not been fully entered yet.

1
Select the error cell

Click on the cell in the database column that is currently displaying the formula error.

2
Edit the formula

Click into the formula bar at the top of the screen. Add =IFERROR( right after the equals sign.

3
Append the error handler

Go to the very end of your existing formula and type , "") to output a blank cell when an error occurs.

4
Apply the updated formula

Your formula should now look similar to =IFERROR(TRIM(MID(LEFT([@Communication],16),FIND("/",[@Communication])-1,LEN([@Communication]))),""). Press Enter to save.

5
Fill down the column

Drag the fill handle at the bottom right of the cell to apply the updated formula to all rows in the database table.

Use IFERROR to Handle Missing Data in Text Formulas
Formula Updated: The new rows will now display a blank space instead of an error until the required data is accurately entered.
Free Spreadsheet Software

Manage Database Formulas Seamlessly with WPS Spreadsheet

WPS Office provides robust formula handling, dynamic table management, and shared workbook features, making it easy to manage large databases without unexpected errors.

  1. 1. Open the database: Launch WPS Spreadsheet and open your shared database file.
  2. 2. Locate the error: Select the cell containing the text function error in the new row.
  3. 3. Apply IFERROR: Click the formula bar, use the built-in IFERROR function to wrap your existing text formula, and add an empty string return for errors.
  4. 4. Update the table: Press Enter to apply the change, and double-click the fill handle to seamlessly update the entire database column.
100% compatible with Microsoft Excel formulas, functions, and structured references.Advanced error checking and intuitive formula auditing tools.Smooth handling of shared databases and automatic table expansions.Lightweight software with an easy-to-use, familiar interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the FIND function return a #VALUE! error?

The FIND function returns a #VALUE! error when it cannot locate the specific text or character (such as a slash or space) within the referenced cell. This frequently occurs when the target cell is blank, which is common in newly added database rows.

How can I stop Excel formulas from calculating on completely blank rows?

You can wrap your formula in an IF statement to check if the source cell is empty first. For example, using =IF([@Communication]="", "", Your_Formula) will prevent the complex formula from running on empty rows.

Can shared workbook users break my structured table references?

Yes. If a user renames a column header or deletes a column in a formatted Excel Table, any formula using structured references (like [@Communication]) may break and display a #REF! or #NAME? error.