how to Format Cells so they only except numbers

Rob Nash

New Member
Joined
Nov 14, 2002
Messages
4
How do i make a cell only except numbers, i.e. you carn't type text in , it will only allow numeric values to be entered.
Cheers
Jason
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
On 2002-11-17 08:30, Rob Nash wrote:
How do i make a cell only except numbers, i.e. you carn't type text in , it will only allow numeric values to be entered.
Cheers
Jason

Let A2:A20 be the range of interest.

(1.) Select A2:A20.
(2.) Activate Data|Validation.
(3.) Choose Custom for Allow.
(4.) Enter the following in the Formula box:

=ISNUMBER(A2)

(5.) Click OK.

Note. The above setup can be defused by Copy & Paste.
 
Upvote 0
Rob,
You can also use Data, Validation and than goto "decimal" in the drop down box "allow". You can extend this with an error allert when text is inputed. You do this by going to the eror alert in the menu.
 
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,212
Members
449,214
Latest member
mr_ordinaryboy

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