To show a custom error message, open Data > Data validation, set your rule, choose Reject input under If the data is invalid, and type your message in the help text field. For example, a Status rule on D2:D11 can say: Please choose a valid status: Not Started, In Progress, Complete, or Overdue. Choose Show warning instead if the entry should be accepted and only flagged.
Data Validation Error Messages in Google Sheets
Learn how to set up custom error messages and input messages for data validation in Google Sheets. Reject input or show warnings with clear help text.
Sheets Bootcamp
February 23, 2026 · Updated November 5, 2026
Table of Contents
Quick Answer
Data validation in Google Sheets can reject bad entries or flag them with a warning, but the default error message is vague. A custom error message tells the person exactly what went wrong and what to enter instead. This guide covers how to set up custom error messages, input messages (help text), and the difference between rejecting input and showing a warning.
In This Guide
- Default vs Custom Error Messages
- How to Set Up a Custom Error Message: Step-by-Step
- Reject Input vs Show Warning
- Add an Input Message to Validated Cells
- Best Practices for Writing Error Messages
- Related Google Sheets Tutorials
- FAQ
Default vs Custom Error Messages
When a validation rule blocks an entry, Google Sheets shows a generic popup that reads something like “There was a problem” followed by the rule’s criteria. It tells the user the input was rejected but doesn’t explain what they should enter instead.
A custom error message replaces that generic popup with your own text. You write the message, so you control exactly what the user sees. Instead of “The data you entered violated the validation rule,” they see “Please choose a valid status: Not Started, In Progress, Complete, or Overdue.”
The difference matters when multiple people use the same spreadsheet. A generic error leaves them guessing. A custom message gets them to the right answer on the next try.
Note
Custom error messages apply to both Reject input and Show warning modes. In Reject input mode, the message appears in the error popup. In Show warning mode, it appears when hovering over the red triangle in the top-right corner of the cell.
How to Set Up a Custom Error Message: Step-by-Step
We’ll use a task tracker to add a dropdown validation on the Status column (D2:D11) with a custom error message. The allowed values are Not Started, In Progress, Complete, and Overdue.
| Task | Assigned To | Due Date | Status | Priority | Complete |
|---|---|---|---|---|---|
| Review witness statements | Mrs. Hudson | 2/15/2026 | In Progress | High | FALSE |
| Restock laboratory chemicals | Colonel Moran | 2/10/2026 | Complete | Medium | TRUE |
Step 1: Select the Cells and Open Data Validation
Highlight D2:D11 in the Status column. Go to Data > Data validation.

Step 2: Set Your Validation Criteria
Click Add rule. Under Criteria, choose Dropdown and enter four values:
- Not Started
- In Progress
- Complete
- Overdue
Step 3: Choose Reject Input and Add a Custom Error Message
Open Advanced options. Under If the data is invalid, select Reject the input. This blocks any entry not on the list.
Check the box for Show help text for a selected cell. A text field appears. Enter your message:
Please choose a valid status: Not Started, In Progress, Complete, or Overdue.
Important
The help text field has a character limit. Keep your message concise. If the message is too long, Google Sheets truncates it in the popup and the user won’t see the full text.
Step 4: Write One Message for Both Jobs
There is only one help text box, not separate boxes for valid and invalid data. The message you entered in Step 3 also appears as a tooltip whenever someone selects a cell in D2:D11, before they type or click anything. Word it as an instruction so it works as a prompt, telling users what the cell expects.
Step 5: Click Done and Test
Click Done to save the rule. Now test both messages:
- Select cell D2. You should see the help text tooltip: “Please choose a valid status: Not Started, In Progress, Complete, or Overdue.”
- Type “Pending” (a value not on the list) and press Enter. The custom error message appears: “Please choose a valid status: Not Started, In Progress, Complete, or Overdue.”
Reject Input vs Show Warning
Google Sheets gives you two options for handling invalid data, and each one changes how the error message behaves.
Reject Input
The cell reverts to its previous value. The custom error message (if set) appears in a popup that the user must dismiss. The invalid data never makes it into the cell.
Use this for columns where bad data would break formulas, reports, or downstream processes. The Status column on a task tracker is a good example: if someone types “Done” instead of “Complete,” any filter or formula checking for “Complete” would miss it.
Show Warning
The cell accepts the value but displays a red triangle in the top-right corner. When the user hovers over the triangle, the custom warning message appears as a tooltip.
Use this for columns where flexibility matters more than strict enforcement. A Priority column might allow “Critical” even though High, Medium, and Low are the standard options. The warning flags the non-standard entry without blocking it.
Tip
You can use different modes on different columns in the same sheet. Reject input on the Status column to enforce the dropdown, and Show warning on the Priority column to allow exceptions. Set up each column’s validation rule separately.
Add an Input Message to Validated Cells
Input messages (the Show help text for a selected cell option) display a tooltip when someone selects a validated cell. The message appears before the user types anything, serving as a preview of what the cell expects.
This is useful when your validation criteria aren’t obvious from the column header alone. A column labeled “Priority” is ambiguous: does it accept High/Medium/Low, or 1/2/3, or something else? An input message removes the guesswork.
Setting Up Input Messages on Multiple Columns
You can add input messages to any validation rule, not only dropdowns. Here’s what they look like on two columns in the task tracker:
| Column | Validation Rule | Input Message |
|---|---|---|
| Status (D) | Dropdown: Not Started, In Progress, Complete, Overdue | Select a status from the dropdown. |
| Priority (E) | Dropdown: High, Medium, Low | Enter High, Medium, or Low. |
Each column has its own Data validation rule with its own input message. Open Data > Data validation, select the rule for the column, open Advanced options, check Show help text for a selected cell, and type the message.
Note
Input messages appear for every cell in the validated range, including cells that already have valid data. If you find this distracting on a sheet with many validated columns, limit input messages to columns where the expected format is not obvious.
Best Practices for Writing Error Messages
A good error message does two things: it explains what went wrong and tells the user what to do instead. A bad one does neither.
-
State the expected values. “Enter High, Medium, or Low” is better than “Invalid entry.” The user should not have to guess what the valid options are.
-
Keep it short. One or two sentences. The popup is small, and long messages get truncated. If the explanation needs more than two sentences, the validation rule itself might be too complex.
-
Use the same language as the column header. If the column is labeled “Status,” the error message should reference “status,” not “task state” or “progress indicator.” Consistency reduces confusion.
-
Write for someone who has never seen the sheet. The person triggering the error might be a collaborator seeing the spreadsheet for the first time. Don’t assume they know the rules.
-
Write the message to work before and after the mistake. The same help text shows when someone selects the cell, so phrase it as an instruction (“Priority must be High, Medium, or Low”) rather than a scolding (“Wrong value”).
Here are examples of weak vs strong error messages:
| Weak | Strong |
|---|---|
| Invalid input. | Enter a date between 1/1/2026 and 12/31/2026. |
| Error. | Priority must be High, Medium, or Low. |
| Bad value. | This cell only accepts numbers greater than 0. |
If you’re using custom formula validation, the error message is even more important. The user has no way to see the underlying formula, so the message is their only clue about what went wrong.
Related Google Sheets Tutorials
- Data Validation in Google Sheets - Full guide to all validation rule types including dropdown, checkbox, and number criteria
- Create a Drop-Down List - Set up dropdown menus to restrict input to a fixed set of values
- Data Validation with Custom Formulas - Write TRUE/FALSE formulas to enforce rules that built-in criteria can’t handle
- Conditional Formatting in Google Sheets - Highlight cells visually based on their values to complement validation rules
Frequently Asked Questions
How do I add a custom error message to data validation in Google Sheets?
What is the difference between Reject input and Show warning in Google Sheets?
How do I add an input message to a validated cell in Google Sheets?
Can I format custom error messages in Google Sheets data validation?
Why does my data validation show a default error instead of my custom message?
You read it. Now type it.
Unit 1 of the course is free: 6 short lessons in a grid that checks every formula. They teach the Google Sheets skills you'll actually use.
Start the course freeFirst 6 lessons free. No card needed. See plans
Practice this in the app
Continue learningSpot an error on this page? Tell us.
Thanks. We'll fix it and update the page.