Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default IF statement to check for numerical value


Hello everyone :-)

I want to make a IF statement that looks at a cell and checks to see if that
cell is numerical value. What criteria can I use to check if it is a
numerical value? This has to be done within a IF statement.


For example

A B
1 B Null Value


So in the B1 cell, I want to have a statement like this....IF(A1 "does not
equal a numerical value", "Null Value", "")


A thousand thanks in advance :-)

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default IF statement to check for numerical value

Maybe the ISNUMBER function

=IF(ISNUMBER(B1),"Number","Not a number")

Mike

"Toan" wrote:


Hello everyone :-)

I want to make a IF statement that looks at a cell and checks to see if that
cell is numerical value. What criteria can I use to check if it is a
numerical value? This has to be done within a IF statement.


For example

A B
1 B Null Value


So in the B1 cell, I want to have a statement like this....IF(A1 "does not
equal a numerical value", "Null Value", "")


A thousand thanks in advance :-)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF statement to check for numerical value

One way:

=IF(COUNT(A1),"Yes","No")

--
Biff
Microsoft Excel MVP


"Toan" wrote in message
...

Hello everyone :-)

I want to make a IF statement that looks at a cell and checks to see if
that
cell is numerical value. What criteria can I use to check if it is a
numerical value? This has to be done within a IF statement.


For example

A B
1 B Null Value


So in the B1 cell, I want to have a statement like this....IF(A1 "does not
equal a numerical value", "Null Value", "")


A thousand thanks in advance :-)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default IF statement to check for numerical value

Thanks Mike.

That did the trick for me.

"Mike H" wrote:

Maybe the ISNUMBER function

=IF(ISNUMBER(B1),"Number","Not a number")

Mike

"Toan" wrote:


Hello everyone :-)

I want to make a IF statement that looks at a cell and checks to see if that
cell is numerical value. What criteria can I use to check if it is a
numerical value? This has to be done within a IF statement.


For example

A B
1 B Null Value


So in the B1 cell, I want to have a statement like this....IF(A1 "does not
equal a numerical value", "Null Value", "")


A thousand thanks in advance :-)

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using IF statement with Spell check Craig Excel Discussion (Misc queries) 3 June 17th 09 04:39 PM
IF Statement to Check for Blanks Daren Excel Worksheet Functions 5 October 15th 08 11:08 PM
Using contents of a check box for an in statement Erin Excel Discussion (Misc queries) 3 June 21st 07 05:23 PM
How do I use a "check(ed) box" as a criteria in an "=if" statement Bill Bromback Excel Worksheet Functions 1 August 19th 05 05:28 PM
I want to check for a text value, not numerical Xanadude Excel Worksheet Functions 2 April 20th 05 06:27 AM


All times are GMT +1. The time now is 02:18 PM.

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

About Us

"It's about Microsoft Excel"