KutoolsforOffice β€” One Suite. Five Tools. Get More Done.

Create drop-down lists and data validation rules with AI in Excel

AuthorAmanda LiLast modified

Setting up data validation in Excel often involves navigating multiple dialog options for drop-down lists, value restrictions, input prompts, and error alerts. With AI-powered Data Validation in ZKutools Anywhere for Excel, you can simply describe the rule you want in natural language.

The AI understands your instructions and automatically generates the appropriate data validation settings, including drop-down lists, custom restrictions, input messages, and error alerts, without requiring you to manually configure each option.

AI-generated Excel drop-down list created from a text request using ZKUTOOLS Data Validation

What Data Validation can do

With Data Validation, you can quickly create Excel validation rules, drop-down lists, input prompts, and error alerts using natural language.

🎯 Apply rules with plain language

Describe the validation rule you want in natural language instead of configuring every setting manually.

🧩 Customize validation behavior

Control options such as ignoring blank cells or showing drop-down arrows for list validation.

πŸ“‹ Create drop-down lists

Generate drop-down lists by simply describing the allowed values or validation conditions you want.

⚑ Simplify different validation tasks

Create rules for dates, numbers, text length, custom formats, allowed values, and other common validation conditions.

⚠️ Generate error alerts

Create user-friendly error messages automatically when invalid data is entered into validated cells.

πŸ’¬ Create input prompts

Generate helpful input messages to guide users when selecting or entering data in a worksheet.


Benefits of AI-powered data validation

Creating data validation rules in Excel often involves opening multiple dialog boxes, configuring settings manually, and writing input or error messages yourself. AI-powered Data Validation helps simplify this process by generating the validation setup based on your request.

⚑

Reduce manual setup

Create validation rules faster without manually configuring every option in the Data Validation dialog.

πŸ“‹

Create drop-down lists more easily

Generate list-based validation rules quickly for forms, trackers, surveys, or shared worksheets.

πŸ’¬

Generate prompts and alerts automatically

Create input prompts and error messages automatically instead of writing them manually.

🧩

Handle different validation tasks more easily

Create validation rules for dates, numbers, text length, custom formats, unique values...

πŸ› οΈ

Adjust generated settings before applying

Review and modify the generated validation range, source list, prompts, or alerts before applying the rule.

🎯

Reduce invalid entries

Help reduce invalid entries by guiding users to enter only allowed values.


How to use Data Validation

Follow the steps below to generate and apply a data validation rule in Excel.

Step 1: Enter your validation request

  1. Open Excel, go to the ZKUTOOLS tab, and click Data Validation.
  2. In the Data Validation pane, describe the rule you want to apply.

    Example: Set a drop-down list in column B that only allows Yes, No, and Maybe.

  3. Click the Generate button.
    Enter validation request in Zkutools Anywhere for Excel

Step 2: Review and adjust the generated rule

  1. Review the generated validation settings in the pane. In this example, the rule is applied to B2:B6, and the list source is generated as Yes, No, Maybe.
  2. Confirm the validation options. You can keep Ignore blanks enabled to allow empty cells, and keep Show Dropdown Arrow enabled to display the drop-down list in the selected cells.
  3. Enable Error Alert if you want Excel to display a warning message when users enter invalid data.
  4. Enable Input Prompt if you want to display a helpful message when users select the validated cells. This can guide users on what values are allowed.
    Review and adjust the generated rule in Zkutools Anywhere for Excel

Step 3: Apply the validation rule

  1. If everything looks correct, click Apply to apply the data validation rule to the specified range in the worksheet.
    Data validation applied in Excel

Tips for better results

  • Be specific in your request: Mention the target range, allowed values, and the type of validation you want to create. If needed, click Back to adjust your request and generate the validation rule again.
  • Use friendly messages: Enable error alerts or input prompts if other users will enter data in the worksheet.
  • Use additional options: Open the Additional options dropdown to enable features such as automatically generating user-friendly error alerts and input prompts.
    Additional options

    πŸ’‘ Tips:

    • Click the three-dot menu beside an option to edit or delete it.
    • Click Add Option to add your own custom generation option.
  • Reselect the validation range: Click the range selector button Additional options beside the Range box to select the cells directly from the worksheet where you want to apply the validation rule.
  • Regenerate the result: If the generated validation rule is not what you expected, click the refresh button in the lower-left corner to generate a new result.

Best use cases for AI-powered data validation

AI-powered Data Validation is useful for many common Excel scenarios where you need to control user input, reduce mistakes, or create cleaner worksheets.

Note:

The examples below demonstrate different types of data validation rules. You can also combine them with an input prompt or error alert in the same request, such as: "Allow only email addresses in column B, show an input message explaining the required format, and display an error alert if the entry is invalid."

Drop-down lists

Create list-based validation rules for forms, trackers, surveys, or shared worksheets.

Create a drop-down list in cells B2:B20 with values Yes, No, and Maybe.

Date restrictions

Restrict cells so users can enter only valid dates within a specific range or year.

Allow only dates in 2026 in cells C2:C100.

Custom ID formats

Limit entries to a specific ID or code format for cleaner and more consistent data.

Allow only employee IDs in the format EMP-0000 in cells A2:A100.

Numeric limits

Restrict cells to valid numbers, percentages, or value ranges.

Allow only whole numbers between 1 and 100 in column D.

Text length restrictions

Limit how many characters users can enter in specific cells.

Allow usernames in column A with a maximum length of 12 characters.

Email format validation

Help ensure users enter values in a valid email-style format.

Allow only email addresses in cells B2:B100 and show an error alert for invalid formats.

Duplicate prevention

Prevent duplicate values from being entered in important columns.

Do not allow duplicate employee IDs in column C.

Percentage limits

Restrict percentage values to a valid range.

Allow only percentages between 0% and 100% in column D.

Required prefixes

Require entries to start with specific text or codes.

Allow only product codes that start with PRD- in cells A2:A50.

Weekday-only dates

Restrict date entries to weekdays only.

Allow only Monday through Friday dates in column E.

Conclusion

AI-powered Data Validation makes it easier to create Excel validation rules without manually configuring every setting in the Data Validation dialog. By describing the rule you want in plain language, you can quickly generate drop-down lists, input prompts, error alerts, and other validation settings in just a few clicks.

Whether you are preparing forms, restricting user input, building templates, or creating cleaner shared worksheets, this feature can help simplify worksheet setup and improve data consistency.

ZKutools Anywhere for Excel

ZKutools Anywhere for Excel helps you work smarter in Excel wherever you areβ€”web, desktop, Windows, or Mac. Every feature is completely free to use, including AI tools with free AI tokens included.

ZKutools for Excel