Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default conditional value in a cell

I need to put Yes in cell M2 if cell J2 has "DSMB" anywhere in its' text.

Here is an example of text that may be in cell J2:
"Priority DSMB/Discontinuation Query: End of ... page 55 shows primary
reason for discontinued as "Client Decision". Please provide the
comment/specification explaining the rationale that the client provided as to
"why" they chose to discontinue services:________________________________"
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default conditional value in a cell

Hi

Use this formula in M2:

=IF(ISERROR(SEARCH("DSMB",J2,1)),"No","Yes")

Regards,
Per

"Vic" skrev i meddelelsen
...
I need to put Yes in cell M2 if cell J2 has "DSMB" anywhere in its' text.

Here is an example of text that may be in cell J2:
"Priority DSMB/Discontinuation Query: End of ... page 55 shows primary
reason for discontinued as "Client Decision". Please provide the
comment/specification explaining the rationale that the client provided as
to
"why" they chose to discontinue services:________________________________"


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default conditional value in a cell

Try this in M2

=IF(SEARCH("DSMB",J2),"Yes","")

Mike

"Vic" wrote:

I need to put Yes in cell M2 if cell J2 has "DSMB" anywhere in its' text.

Here is an example of text that may be in cell J2:
"Priority DSMB/Discontinuation Query: End of ... page 55 shows primary
reason for discontinued as "Client Decision". Please provide the
comment/specification explaining the rationale that the client provided as to
"why" they chose to discontinue services:________________________________"

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
Conditional Formatting - For 1 cell based on contents of any cell DJH Excel Discussion (Misc queries) 3 September 12th 08 10:12 PM
Conditional formatting Based on cell A text with conditions in Cell B Raicomm Excel Discussion (Misc queries) 0 January 21st 08 04:46 PM
Conditional Formatting question (if cell = 0, wrap cell in quotes) Mo2 New Users to Excel 6 May 11th 07 11:06 PM
conditional cell format based on cell in same row, previous column tamiluchi Excel Worksheet Functions 7 May 3rd 06 04:11 PM
Conditional cell background formatting, based on cell content nosivad Excel Discussion (Misc queries) 5 February 11th 06 11:12 PM


All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"