Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

How to clear restricted values in cells in Excel?

Author Siluvia Last modified

Have you ever tried to enter data into a cell in Excel, only to be stopped by a prompt box like the one shown in the screenshot below? This happens because the cell is set up with a data validation rule that restricts what you can enter. Data validation is often used by workbook creators to ensure information is entered consistently, but sometimes, you may want to remove these restrictions to freely edit or repurpose your worksheet. This tutorial provides practical solutions for clearing restricted values and removing the associated validation settings in Excel.

a screenshot of the data validation restrictions dialog box

Clear restricted values in cells in Excel
Quickly clear restricted values in cells with Kutools for Excel
Use VBA to remove data validation restrictions


Clear restricted values in cells in Excel

To manually remove data validation restrictions from cells in Excel, you can follow these steps. This method is recommended when you only need to clear validation from a few cells, and it works well with Excel’s built-in features without requiring add-ins or extra configuration.

1. Select the cell or cells you want to remove the data validation from, then click Data > Data Validation on the Ribbon. This opens the Data Validation dialog, allowing access to existing rules and restrictions for the selected range. See screenshot:

a screenshot of enabling the Data Validation feature

2. In the Data Validation dialog box, make sure you are on the Settings tab. Click the Clear All button, which removes the validation rule from the selected cell or range, and then click OK. Note that if you select multiple cells, this will clear all validation rules across the selection, making it possible to enter any value. See screenshot:

a screenshot of clicking the Clear All button to clear all data validations in the selected cells

After these steps, the selected cell(s) will no longer reject or limit the values you enter, and you can work with the contents as needed. Be aware that removing validation also removes any input messages or error alerts associated with those cells.

Tip: If you need to clear validation from non-adjacent cells, hold down Ctrl while selecting the cells before accessing Data Validation.


Quickly clear restricted values in cells with Kutools for Excel

For users who frequently work with large data sets or need to remove data validation restrictions from multiple ranges efficiently, the Clear Data Validation Restrictions utility of Kutools for Excel is a practical choice. Kutools enables batch clearing of all data validation rules from any selection or even several selections at once, helping save time and reduce manual effort.

Before applying Kutools for Excel, please download and install it firstly.

1. Select a range or multiple ranges where you want to delete all data validation restrictions. You can select single or multiple non-adjacent cells, entire columns, or custom ranges according to your needs. Next, click Kutools > Prevent Typing > Clear Data Validation Restrictions on the Ribbon.

a screenshot of enabling the Clear Data Validation Restrictions feature of Kutools

2. A Kutools for Excel dialog box will appear, prompting you to confirm the action. Click OK to begin clearing data validation restrictions from your selected ranges. The process runs instantly for any amount of data.

a screenshot of a prompt box asking whether you want to clear the data validation restrictions from the selected range

All data validation restrictions are now removed from the selected cells or ranges. This approach is especially efficient if you have complex selections or want to process an entire worksheet.

Pros: Kutools batch clearing saves time with large data sets, makes it easy to clear multiple validations at once, and does not require manual navigation between selection dialogs.
Cons: Requires Kutools add-in to be installed and activated. Not available in Excel without this third-party extension.

  If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Use VBA to remove data validation restrictions

If you need to automate the removal of data validation restrictions, especially across multiple ranges or sheets, using VBA (Visual Basic for Applications) is an effective approach. This is best suited for users comfortable with Excel macros, and offers flexibility for batch processing beyond manual or add-in methods. With VBA code, you can programmatically target any cell or range in your workbook and instantly clear its data validation rules.

1. Open Excel and go to Developer Tools > Visual Basic. In the new Microsoft Visual Basic for Applications window, click Insert > Module, and copy the following VBA code into the module:

Sub ClearDataValidation()
    Dim Rng As Range
    On Error Resume Next
    xTitleId = "KutoolsforExcel"
    Set Rng = Application.Selection
    Set Rng = Application.InputBox("Select the range to clear data validation", xTitleId, Rng.Address, Type:=8)
    If Not Rng Is Nothing Then
        Rng.Validation.Delete
    End If
End Sub

2. Click the Run button button to execute the macro. A dialog box will prompt you to select the range where you want to clear data validation. After confirming, all information validation rules for the selected cell(s) will be deleted.

Precautions: Make sure to save your workbook before running VBA code, as this action cannot be undone. Best practice is to use this solution when managing multiple ranges or automating repeated tasks. If you get an error, ensure you have enabled macros and have the correct Developer Tools settings.

Summary and troubleshooting suggestions:
When working with restricted values or data validation rules in Excel, choose the removal method that best fits your scenario. Use Excel’s built-in Data Validation for smaller or simple data sets. Choose Kutools for batch processing and enhanced control over multiple ranges. For advanced tasks or automation, VBA is the best approach. Always be cautious before batch-clearing validations, and consider saving a backup of your workbook.
If you encounter issues such as validation rules not clearing, or VBA errors: double-check your selected ranges, worksheet protection settings, and macro permissions. Restart Excel or review the targeted cell addresses, and always save your work before performing bulk actions.


Related articles:


Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

Excel Word Outlook Tabs PowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in