Function / formula to be used if cell contains a letter.

  • Thread starter Thread starter Cameron Stewart
  • Start date Start date
C

Cameron Stewart

I have a colum of values that includes data such as this:

1.9825
1.8770a
1.4617
1.02x20
1.4061
1.4163c
1.8002
2.4261
2.9756
3.6d679
1.6860

I want an if statement that says - if cell value contains ANY LETTER then . . . .

(NB - the letter may be in any position in the number sequence.)


Any Help?

Cameron
 
This formula (entered in Cell B1)

=if(istext(A1),99999,88888)

means that if the entry in cell A1 contains a letter, THEN the numbe
99999 will appear in cell B1 ELSE, (if it does not contain any letter
the number 88888 will appear.

For your own application, you can replace 99999 and 88888 to suit you
needs.

I hope this will help you.
 
Thnx a lot - its easy once you know how . . ..


BenjieLop said:
This formula (entered in Cell B1)

=if(istext(A1),99999,88888)

means that if the entry in cell A1 contains a letter, THEN the number
99999 will appear in cell B1 ELSE, (if it does not contain any letter)
the number 88888 will appear.

For your own application, you can replace 99999 and 88888 to suit your
needs.

I hope this will help you.
 
Back
Top