Formula Errors

Use an Overridable Default Formula Value in Excel Cells

Maira MehtabMaira Mehtab Nov 12, 2026 871 views

Question details

The user needs a formula-based default value that can be replaced by a manual value without permanently losing the default logic.

Use an Overridable Default Formula Value in Excel Cells
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet cell should show an automatic default result unless a user supplies a custom value.
Observed behavior
Typing a manual value into the formula cell replaces the formula, so the default value cannot return unless the formula is entered again.
Before you start

A worksheet cell can contain either a formula or a manually entered constant, but not both at the same time. Decide whether users need a reusable override field or whether macros are permitted in the workbook.

Solution 1Recommended

Use separate default, override, and result cells

Use this recommended design when users need to enter and clear custom values repeatedly without destroying the default formula.

Keep the formula that calculates the default in one cell and let users type an optional override in another cell. A third cell displays the override when it is present; otherwise, it displays the default result.

1
Create the default formula cell

In a cell such as B1, enter the formula that calculates the normal default value, for example =IF(A1="","Enter your first and last name in A1","Enter your last name here").

2
Add a manual override cell

Choose a separate input cell, such as C1, and label it Manual override. Users should type their custom value in C1 rather than replacing the formula in B1.

3
Create the displayed result formula

In the cell used for the final result, such as D1, enter =IF(C1<>"",C1,B1). This displays C1 when an override is entered and otherwise displays the default from B1.

4
Restore the default by clearing the override

Select C1 and press Delete to remove the custom entry. The formula in D1 immediately returns to showing the value calculated in B1.

Use separate default, override, and result cells
The default formula stays intact: Because users never edit the default formula cell, the automatic value is available again whenever the override cell is cleared.
Formula override workflow in WPS Spreadsheets

Create a reusable default-and-override formula in WPS Spreadsheets

WPS Spreadsheets can implement the safer three-cell design: retain the default calculation in one cell, accept a user override in another, and show the appropriate value with an IF formula. Clearing the override restores the default automatically without macros.

  1. 1. Enter the default calculation: Open WPS Spreadsheets and enter the automatic default formula in a cell such as B1.
  2. 2. Reserve an override input cell: Select C1, add a label such as Manual override, and leave this cell available for user-entered values.
  3. 3. Add the result formula: Select D1 and enter =IF(C1<>"",C1,B1) to prioritize the manual override when it exists.
  4. 4. Clear an override to return to default: Select C1 and press Delete whenever the calculated default should appear again in D1.
Preserves the default formula while allowing optional manual entriesUses an IF formula to switch between an override and the calculated defaultOpens and saves Microsoft Excel XLSX and XLS files with formula compatibilityProvides a familiar spreadsheet interface for Excel usersAvoids macro-dependent restoration for common override workflows
QA img-9

Frequently Asked Questions

Can one Excel cell keep its formula and also accept a typed value?

No. A cell contains one active entry at a time. Typing a value into a cell that contains a formula replaces the formula with that value.

How can I make a manual value take priority over a default formula in Excel?

Put the default formula in one cell, enter the optional manual value in a second cell, and use a result formula such as =IF(C1<>"",C1,B1).

How do I return to the default value after entering an override?

Clear the override cell by selecting it and pressing Delete. If the result cell uses =IF(override<>"",override,default), it will show the default formula result again.

Can Excel automatically restore a formula after someone overwrites it?

Not with standard cell formulas alone. You must either re-enter the formula, use separate cells for the default and override, or create a VBA worksheet event macro.

Will the separate-cell override formula work in WPS Spreadsheets?

Yes. WPS Spreadsheets supports standard formulas such as IF and can open and save Excel XLSX and XLS workbooks.