Data Validation

EBoudreau

Board Regular
Joined
Aug 21, 2015
Messages
153
I am trying to get some data validation to work based on if a certain value is entered to not allow it and notify user.
I see all the options are to compare to “allowed values” but I would like to prompt user and not allow just the letter C to be entered in some ranges of cells.
How would one go about getting that setup?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Click the first cell in the range (in this case A2) then in Data Validation in the allow section choose custom then in the formula box type
Excel Formula:
=A2<>"C"
.
Then select the cell, copy, select the rest of the range and Paste Special - Validation

Book2
A
2D
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Sheet1
Cells with Data Validation
CellAllowCriteria
A2:A18Custom=A2<>"C"
 
Upvote 0
Solution

Forum statistics

Threads
1,216,963
Messages
6,133,764
Members
449,829
Latest member
dcedano

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top