How to Create Custom Error and Input Messages in Excel

This is a video post. Watch for full details.

YouTube video

Hi, this is Franco from WizDefy, and welcome to Excel Quick Tips! In this tutorial, we’ll explore how to create custom error and input messages in Excel. These messages ensure that when you’re collaborating with teammates, they know exactly what kind of data to input and how to fill it out properly. This can save time, reduce confusion, and improve the accuracy of your shared Excel files.

The Problem with Generic Error Messages

Take a look at this scenario: we have data validation set to disallow duplicates in a column. When a user enters a duplicate value, Excel displays a generic message:
“This value doesn’t match the data validation restrictions defined for the cell.”

This message doesn’t provide enough information, especially if the user wasn’t the one who created the file. They might not know what they did wrong or what’s required, leading to unnecessary back-and-forth communication.

Why Use Custom Error and Input Messages?

By setting up custom input and error messages, you can:

  • Guide users on how to fill out data correctly before they make a mistake.
  • Provide specific error messages when they violate data validation rules.
  • Reduce confusion and improve collaboration on shared files.

Let’s see how to implement these features.

Adding an Input Message

An input message gives instructions to users before they enter data. Here’s how to set it up:

  1. Go to the Data Validation settings for the cell or range.
  2. Navigate to the Input Message tab.
  3. Enter a title (e.g., Transaction ID) and a message (e.g., Please make sure there are no duplicate transaction IDs).

Result

When a user selects the cell, the input message will appear. This helps them understand what’s required before entering any data.

Creating a Custom Error Alert

If a user ignores the input message and still makes an error, a custom error alert can provide clear feedback. Here’s how to set it up:

  1. Go back to the Data Validation settings.
  2. Navigate to the Error Alert tab.
  3. Enter a title (e.g., Duplicate Detected) and a detailed message (e.g., Please make sure no duplicate transaction IDs are entered).

Result

When a user tries to enter a duplicate, the custom error message will pop up, explaining what went wrong and how to fix it.

Why Custom Messages Matter

Custom input and error messages are particularly useful when:

  • Multiple people are working on the same Excel file.
  • Users need guidance on specific data entry requirements.
  • You want to minimize errors and prevent unnecessary questions about the file.

With input messages, users are informed before making a mistake. If they still make an error, the custom error message provides immediate feedback.

Conclusion

Custom input and error messages in Excel make your files more user-friendly and collaborative. They provide clear instructions and reduce confusion, ensuring that everyone stays on the same page.

I hope this tutorial has been helpful! This is Franco from WisDify, and thank you for watching Excel Quick Tips. Be sure to check out our other videos and guides to improve your Excel skills!

Picture of Franco Caoili, CPA, CMA

Franco Caoili, CPA, CMA

More to explore

Corey

Corey is the owner of Wisdify.  He is passionate about learning and development, he loves helping people achieve their professional and personal goals. Corey is a big believer in the power of online learning and community with 15 years of finance and accounting experience.

Kelsey Murphy

Kelsey is Wisdify’s expert content developer. Taking feedback from our students, Kelsey creates extremely relevant blog posts and leads the development of Wisdify’s other free resources.

Prior to Wisdify, Kelsey worked as a business technology strategy consultant for Forrester, a global research and advisory firm. While there, she acted as project manager for numerous research-based consulting projects.

Kelsey earned a BA in Economics and Mathematics from Wellesley College.

Madison Bess

Madison oversees the social media strategy at Wisdify and makes sure we stay closely connected with our students, receive their feedback, and provide our students with valuable information.

Prior to Wisdify, Madison successfully ran the social media accounts for multiple companies. She also found time to start her own personal training company (which she still runs).

Madison earned a BA in English from Brigham Young University.

Maryn Coughran

Maryn is a co-founder and leads the marketing and outreach efforts at Wisdify. She ensures we are connecting with our customers, hearing their feedback, and then implementing their suggestions.

Prior to Wisdify, Maryn co-founded (along with Nate) BostonExcel, a Microsoft Excel training company that worked with dozens of companies in virtually every industry. Maryn’s clients included numerous Fortune 1000 companies, prestigious universities, startups and everything in between. She also happened to write and illustrate a children’s book. Let’s just say she’s a woman of many talents.

Maryn earned a BA in Economics from Wellesley College.

Joe

Joe is the owner of Wisdify.  He is passionate about learning and development, he loves helping people achieve their professional and personal goals. Joe is a big believer in the power of online learning and community with 20 years of finance and accounting experience.

 

The Buckaroos

Gwyn, Jack, and Kate are the adorable tow-heads that lead up Wisdify’s campaigns on cuteness, energy, and sleep-deprivation.