Prevent alpha character from being entered into a numeric field

B

Brazil

How can I protect a cell so that an alpha character cannot be entered into a
numeric field?
 
G

Gary Brown

Assuming your cursor is in Cell A1:
Use Data Validation.
From the top menu, select...
Data > Validation > Settings > Allow
Select Custom
For 'Formula', put...
=ISNUMBER(A1) = TRUE
 
R

Reitanos

Select Data/Data Validation and select either whole number or decimal
from the list to restrict the cell to that type of content. You get to
set a min and max and can set up an input message (that appears when
the cell is selected - like a comment that responds to selection not
mouse position) and an error message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top