Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
st st is offline
external usenet poster
 
Posts: 9
Default Conditional Format question

How can I create a format for the cells which contains a certain substring?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Format question

How can I create a format for the cells which contains a certain
substring?


Select col A (A1 active), then apply the CF using Formula Is:
=ISNUMBER(SEARCH("diesel fuel",A1))
Format to taste ok out

Replace SEARCH with FIND if you need it to be a stricter, case sensitive
search
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,000, Files:362, Subscribers:62
xdemechanik
---


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,646
Default Conditional Format question

Cells being in column A use FormatConditional formatting with this formula:
Select column A and enter formula in CF dialog:
=NOT(ISERROR(SEARCH("putasubstringhere",A1)))

Regards,
Stefi

€žst€ ezt Γ*rta:

How can I create a format for the cells which contains a certain substring?

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,344
Default Conditional Format question

Hi,

1. Highlight the cells you want to format, say A1:A100
2. Choose Format, Conditional Formatting, and from the first drop down pick
Formula is
3. In the second box enter the formula:

=SEARCH("t",A1)

4. Click Format button, Patterns tab, pick a color and click OK twice.

"t" is your substring, just put anything you want between the quotes.


--
Thanks,
Shane Devenshire


"st" wrote:

How can I create a format for the cells which contains a certain substring?

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 format question.. simon steel Excel Worksheet Functions 6 February 12th 08 09:02 PM
Conditional Format Question srain001 Excel Discussion (Misc queries) 2 December 17th 07 02:37 PM
Another Conditional Format Question PT New Users to Excel 3 April 29th 07 02:42 AM
question about conditional format Jack Sons Excel Discussion (Misc queries) 4 October 10th 06 08:12 PM
Conditional Format Question carl Excel Worksheet Functions 3 June 28th 06 03:42 PM


All times are GMT +1. The time now is 10:16 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"