Formula Errors

Display an Excel Input Prompt Without Overwriting a Formula

Phi Hung VoPhi Hung Vo Dec 2, 2026 868 views

Question details

Show an Enter Amount prompt near an input cell while keeping the prompt formula separate from user-entered data.

Display an Excel Input Prompt Without Overwriting a Formula
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet should prompt users to enter an amount when a condition is met and the input cell is blank.
Observed behavior
The prompt should be visible when needed, while users can enter an amount without replacing the prompt formula.
Before you start

Identify the input cell, the condition cells, and a blank helper cell immediately to the left of the input cell. The input cell must be truly empty for the helper cell's text to overflow into it; a formula returning an empty string still occupies the cell.

Solution 1Recommended

Use a Helper Cell to Display the Prompt

Keep the prompt formula in a separate cell and let its text overflow into the empty input cell.

Typing directly into a cell replaces any formula in that cell. A helper cell preserves the prompt formula while leaving the adjacent input cell available for data entry.

1
Prepare the helper cell

Choose a blank cell immediately to the left of the input cell. For example, use G8 as the helper cell and H8 for the amount; insert a column if necessary.

2
Enter the prompt formula

In G8, enter =IF(($H$4=F8)*(H8=""),"Enter Amount",""). Adjust the references to match your worksheet: H4 and F8 are compared, and H8 is the input cell.

3
Make the prompt visible

Narrow the G column by dragging its right boundary and leave H8 empty. The text can extend visually into H8 when the condition is met; use left alignment and turn off Wrap Text if needed.

4
Unlock the input cell

Select H8, open Format Cells, and clear Locked on the Protection tab. Leave the helper cell locked.

5
Protect and test the sheet

Choose Review > Protect Sheet and allow users to select unlocked cells. Click H8 and enter an amount; the prompt should disappear while the formula remains in G8.

Use a Helper Cell to Display the Prompt
The prompt is not an input value: The message belongs to the helper cell; it only appears over the empty input area. If H8 contains a formula, even one returning an empty string, the overflow may be blocked and typing in H8 will replace that formula.
Work with spreadsheet prompts in WPS

Create the Same Input Prompt in WPS Spreadsheets

Use a helper formula in WPS Spreadsheets to show an Enter Amount prompt beside a blank input cell, then protect the formula while leaving the input cell editable.

  1. 1. Open the workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Add the helper formula: In a blank cell immediately left of the input cell, enter a formula such as =IF(($H$4=F8)*(H8=""),"Enter Amount",""). Adjust the references to fit your sheet.
  3. 3. Set the display: Drag the helper column's right boundary to make it narrow, leave the input cell empty, and turn off Wrap Text so the message can extend into the input area.
  4. 4. Unlock and protect: Select the input cell, open Format Cells > Protection, and clear Locked. Then use Review > Protect Sheet and allow selection of unlocked cells.
  5. 5. Test the prompt: Click the input cell and enter an amount. Confirm that the prompt disappears and the helper formula remains unchanged.
Keep the prompt formula separate from user-entered amountsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet formulas and sheet protectionWork in a free, easy-to-use Office suite
QA img-9

Frequently Asked Questions

Can I type into a cell without replacing its formula?

No. Entering a value directly into a formula cell replaces the formula. Put the prompt formula in an adjacent helper cell and reserve a separate cell for input.

Why doesn't the prompt appear over the input cell?

Check that the input cell is truly empty, the formula condition is met, and the helper cell is left-aligned with Wrap Text turned off. A formula returning an empty string in the input cell can block text overflow.

What does the example formula check?

The formula compares H4 with F8 and checks whether H8 is blank. When both conditions are true, the helper cell displays Enter Amount; otherwise, it displays an empty string.

How can users enter amounts on a protected sheet?

Select the input cells and clear Locked under Format Cells > Protection before choosing Review > Protect Sheet. Leave the helper formula cells locked and allow users to select unlocked cells.