#1   Report Post  
RTP
 
Posts: n/a
Default Required Numeric

Is there any way with a formula to make sure a cell is numeric and to post an
error message if it is NOT numeric???
  #2   Report Post  
Bob Umlas
 
Posts: n/a
Default

=IF(ISERROR(1*F12),"F12 is not numeric","")


"RTP" wrote in message
...
Is there any way with a formula to make sure a cell is numeric and to post

an
error message if it is NOT numeric???



  #3   Report Post  
Ted Metro
 
Posts: n/a
Default

Click on your cell and then go to the 'Data' tab at the top menu and click on
Validation. You can then select 'decimal' for what's allowed and allow
anything between -99999999999 and 99999999999. If someone enters letters
instead of numbers it will provide an error message, which you can specify
under the 'Error Alert' tab on that validation area.

TM

"RTP" wrote:

Is there any way with a formula to make sure a cell is numeric and to post an
error message if it is NOT numeric???

  #4   Report Post  
Art
 
Posts: n/a
Default

Try IsNumber(). It returns a true or false. You can put this inside an if
to produce other messages, for example: =if(isnumber(A2),"","OOPS").

Alternatively you can use a conditional format within the cell you're
testing to change the format (like background color) if it's non numeric.

To do this, go to conditional format, select "formula is", and type:
= NOT(ISNUMBER(A2))
And then select your format

Art


  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
=IF(ISNUMBER(A1),"OK","Not ok")

--
Regards
Frank Kabel
Frankfurt, Germany

"RTP" schrieb im Newsbeitrag
...
Is there any way with a formula to make sure a cell is numeric and to

post an
error message if it is NOT numeric???




  #6   Report Post  
Bernard Liengme
 
Posts: n/a
Default

Use Format | Conditional Formatting
Set Formula to =NOT(ISNUMBER(A1)) ---- change reference to suit need
And make font and/or pattern to colour (red?)

best wishes

--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in email address


"RTP" wrote in message
...
Is there any way with a formula to make sure a cell is numeric and to post
an
error message if it is NOT numeric???



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"