Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
A custom data validation formula must return TRUE to allow the entry and FALSE to reject it. When the formula is misconfigured — wrong reference, unsupported function, or incorrect logic — it either blocks all entries, allows all entries, or shows no error indicator at all while silently accepting bad data.
=COUNTIF($ValidList$A$1:$A$20,A1)>0=COUNTIF(ValidList!$A$1:$A$20,A1)>0Fixed the malformed range reference so COUNTIF correctly reads the named validation list from its sheet, allowing the formula to return TRUE or FALSE.
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Got the same error in multiple cells? Upload your whole sheet and the Auditor will flag every Validation and broken formula at once — free. Pro plans (₹199/$4.99/mo) can apply the verified fixes and download the corrected file in one click.
Validation formulas do not support all functions (e.g., some array functions) and evaluate differently. Also check that the formula is anchored to the first cell of the validated range, not the cell you tested it in.
Define a Named Range pointing to the full column (e.g., ValidItems = Sheet2!$A:$A) and use =COUNTIF(ValidItems,A1)>0 as the validation formula.
Paste-special (values only) can bypass validation in Excel. In the Data tab > Data Validation, check the 'Error Alert' tab is enabled, and educate users to paste with Ctrl+Shift+V or use protected sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: