PC Review


Reply
 
 
lightbulb
Guest
Posts: n/a
 
      5th Jan 2010
How do I set up a formula so that if a cell contains certain txt, then the
cell I'm in will display certain text?

For Example, I'm entering the formula in C5, if B5 contains the word
"Assembly" anywhere in it, then I want C5 to say Assembly, otherwise I want
it to copy B5.

Any help?

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      5th Jan 2010
=if(countif(b5,"*"&"assembly"&"*")>0,"Assembly",b5)
or
=if(isnumber(search("assembly",b5)),"Assembly",b5)

=search() ignores upper/lower case.

Use =Find() if case is important.

(=countif() ignores case, too.)

lightbulb wrote:
>
> How do I set up a formula so that if a cell contains certain txt, then the
> cell I'm in will display certain text?
>
> For Example, I'm entering the formula in C5, if B5 contains the word
> "Assembly" anywhere in it, then I want C5 to say Assembly, otherwise I want
> it to copy B5.
>
> Any help?


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to place the cell contents separated by a comma byinserting a new line and then copying the contents anshu minocha Microsoft Excel Programming 1 29th Jan 2010 11:51 PM
Is there a way to place the cell contents separated by a comma byinserting a new line and then copying the contents anshu minocha Microsoft Excel Programming 0 26th Jan 2010 07:29 PM
concatenate contents of cells whose contents resemble cell referem cathyh Microsoft Excel Worksheet Functions 3 23rd May 2009 12:16 PM
http read contents on source server-write contents to different se =?Utf-8?B?dGhlV2l6YXJkMQ==?= Microsoft Dot NET Framework 0 27th Feb 2007 08:30 PM
File Properties->Contents (tab)->Document Contents->fonts used (delete a font) Marina Microsoft Powerpoint 1 22nd Oct 2003 05:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 PM.