Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cameron Stewart
 
Posts: n/a
Default Function / formula to be used if cell contains a letter.

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
  #2   Report Post  
BenjieLop
 
Posts: n/a
Default


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.

Cameron Stewart Wrote:
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



--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=273464

  #3   Report Post  
Cameron Stewart
 
Posts: n/a
Default

Thnx a lot - its easy once you know how . . ..


BenjieLop wrote in message ...
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.

Cameron Stewart Wrote:
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

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
Formula HELP Jay Excel Worksheet Functions 3 October 14th 05 05:13 AM
Display answer only in another cell of one containing a formula Mally Excel Discussion (Misc queries) 5 January 21st 05 02:07 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 08:18 AM
Cell contents vs. Formula contents Sarah Excel Discussion (Misc queries) 3 December 15th 04 07:02 PM
copy a cell value not its function KC Mao Excel Discussion (Misc queries) 2 December 4th 04 05:30 AM


All times are GMT +1. The time now is 11:50 AM.

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"