Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Greshter
 
Posts: n/a
Default Highlighting text using conditional formatting

Hi All

I'm trying to highlight certain text in a list - namely all text that
end with river, stream or creek. I've been trying to use conditional
formatting but for some reason I can't seem to get it to go (I would
have thought * wildcard would have done the trick but no such luck).
Ideally you would have a different colour for rivers, creeks and
streams. The list is like this

Grey River
Brash Creek
Fred Stream
Hell Stream
Roger River
Turd Creek

and so on (about 3000 entries)

Any ideas about how you can do this?

Feedback appreciated.

Thanks
Mike

  #2   Report Post  
ScottO
 
Posts: n/a
Default

Try this...
Select the text that you want to apply the Conditional Format to.
Open up the CF dialog box.
Change "Cell Value Is" to "Formula Is"
In the formula box put =FIND("River",A1) , where A1 is the first cell in the
range to be formatted
Apply the format you want
Repeat for conditions 2 & 3.
Rgds,
ScottO

"Greshter" wrote in message
ups.com...
| Hi All
|
| I'm trying to highlight certain text in a list - namely all text that
| end with river, stream or creek. I've been trying to use conditional
| formatting but for some reason I can't seem to get it to go (I would
| have thought * wildcard would have done the trick but no such luck).
| Ideally you would have a different colour for rivers, creeks and
| streams. The list is like this
|
| Grey River
| Brash Creek
| Fred Stream
| Hell Stream
| Roger River
| Turd Creek
|
| and so on (about 3000 entries)
|
| Any ideas about how you can do this?
|
| Feedback appreciated.
|
| Thanks
| Mike
|


  #3   Report Post  
cvolkert
 
Posts: n/a
Default


I think you should be able to achieve this by using the 'Formula is'
functionality of conditional formatting along with the 'Right'
function.

Try this - Select Formula is and in the box next to it type
=right(A1,5)="river" and select the corresponding format

Proceed to do the same for Creek in the second condition and then tweak
to =right(A1,6)="stream" and set your third format.

Note that A1 in the formulas above should be the first cell in your
range. It sounds like you are familiar with conditional formatting to
fill in the blanks - if not let me know.

Chad


--
cvolkert
------------------------------------------------------------------------
cvolkert's Profile: http://www.excelforum.com/member.php...o&userid=24380
View this thread: http://www.excelforum.com/showthread...hreadid=387031

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 on named text field Sharon P Excel Discussion (Misc queries) 1 June 21st 05 10:30 PM
How do I apply conditional formatting to a text box barneshere Excel Worksheet Functions 1 May 27th 05 06:26 PM
Conditional Formatting based on Text within Text George Lynch Excel Discussion (Misc queries) 3 May 5th 05 07:58 PM
Conditional formatting of text LeAnne New Users to Excel 7 March 4th 05 02:34 PM
Conditional Formatting of Text... Birmangirl Excel Discussion (Misc queries) 3 January 19th 05 02:45 PM


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