View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default Conditional formula if content is text

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)