Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default If cell contains any of the following letters, then..


Hi there,

I need an if formulae in a2 that says if cell a1 contains the word
"procedure" then put "x", if not put a "y".

ie an x would be the result if cell a1 stated:
"this is the procedure", or
"procedure is this", or
"this is the only procedure required"

Any ideas...?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default If cell contains any of the following letters, then..

=IF(ISNUMBER(SEARCH("procedure",A1)),"x","y")


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Darin Kramer" wrote in message
...

Hi there,

I need an if formulae in a2 that says if cell a1 contains the word
"procedure" then put "x", if not put a "y".

ie an x would be the result if cell a1 stated:
"this is the procedure", or
"procedure is this", or
"this is the only procedure required"

Any ideas...?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default If cell contains any of the following letters, then..



Brilliant!

*** Sent via Developersdex http://www.developersdex.com ***
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
Custom Formating Letters to Numbers while Displaying Letters Luke Androsiglio Excel Worksheet Functions 2 March 31st 10 06:29 PM
Count only Letters in cells that contain both letters and numbers TommyB Excel Worksheet Functions 2 August 8th 09 12:29 AM
Remove dashes between letters and between letters and digits [email protected] Excel Worksheet Functions 7 March 5th 08 06:08 PM
how to change small letters to capital letters HOW TO CHANGE Excel Discussion (Misc queries) 4 May 30th 07 01:12 AM
How do change a column of data in capitol letters to small letters Barb P. Excel Discussion (Misc queries) 6 November 15th 06 06:17 PM


All times are GMT +1. The time now is 04:30 PM.

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"