A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Data Validation error
Joe Simmons
0
Reputation points
How to Edit All Formulas in a Column and not get the Data validation error?
Microsoft 365 and Office | Excel | Other | Windows
Microsoft 365 and Office | Excel | Other | Windows
1 answer
Sort by: Most helpful
-
AI answer
2026-03-14T15:45:35.5466667+00:00 Data validation errors usually appear when editing formulas because the new result no longer meets the validation rule, or because validation is configured to block changes.
To edit all formulas in a column and avoid constant validation errors, use these approaches:
- Temporarily turn off or relax validation, then restore it
- Select the validated cells in the column.
- On the Data tab, select Data Validation.
- On the Error Alert tab, either:
- Clear Show error alert after invalid data is entered, or
- Change Style from Stop to Warning or Information so edits are allowed.
- Edit or fill the formulas in the column.
- When finished, turn the error alert back on or restore Stop style so invalid data is blocked again.
- Make sure formulas do not produce errors
Data validation is ignored if the cell’s formula returns an error such as
#REF!or#DIV/0!. Before or after bulk editing formulas:- Correct any formula errors in validated cells (for example, fix broken references or divide-by-zero issues).
- Ensure referenced cells are correct so formulas calculate valid results.
- Avoid breaking validation by copy/fill
When copying or filling formulas, users can bypass validation messages. If the goal is to keep validation effective for manual entry but still allow formula edits:
- Keep validation in place.
- Use copy/fill to update formulas, then run checks (e.g., filters or conditional formatting) to find any results that violate the validation logic.
- If validation settings must change for the whole column
If the validation rule itself needs to be adjusted to match the new formulas:
- Select one validated cell.
- Data > Data Validation > adjust the rule on the Settings tab.
- Check Apply these changes to all other cells with the same settings so the entire column updates at once.
If validation still blocks edits, confirm the sheet/workbook is not protected or shared, as that prevents changing validation settings.
References:
AI-generated content may be incorrect. Read our transparency notes for more information. - Temporarily turn off or relax validation, then restore it