Forum Discussion
CSPENNINE
Jan 27, 2021Copper Contributor
Data Validation Formula to limit cell input range based on value in another cell
Hi, This should be simple, but I cannot seem to find the same question asked before, and all solutions I have tried have failed. If I have cell A1 and it contains any text (other than "LIM...
- Jan 27, 2021
Select cell B1.
On the Data tab of the ribbon, click Data Validation.
Select Custom from the Allow dropdown.
Enter the following in the Formula box:
=OR(A1<>"LIMIT",AND(B1>=0,B1<=10))
If you wish, enter appropriate messages in the Input Message and Error Alert tabs.
Click OK.
CSPENNINE
Jan 27, 2021Copper Contributor