View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
JLGWhiz JLGWhiz is offline
external usenet poster
 
Posts: 3,986
Default Conditional formula if content is text

Sort of opens a whole new world, doesn't it? Microsoft needs to come up with
an easier way to return data types from a worksheet cell. I am sure that I
am not the only one who struggles with this occasionally.

"Gord Dibben" wrote:

Before using isnumeric see this thread.

You could be surprised.

http://tinyurl.com/9to4ka


Gord Dibben MS Excel MVP


On Sat, 20 Dec 2008 17:13:00 -0800, JLGWhiz
wrote:

If IsNumeric(ActiveCell) Then
'Do Task "B"
Else
'Do Task "A"
End If

"a m spock" wrote:

How do i write an IF statement which does Task A if contents of a certain
cell are a TEXT and Task B if it is a numerical value. e.g. If(A1=any
text,1,0) or If(a1=specific text,1,0)