Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gilles Desjardins
 
Posts: n/a
Default Conditional formatting based on text

Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based on finding a
specific word?
If in row 5 the word engineer shows up I would like to turn the whole row
green. No matter where in row 5 the word shows up. I've tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only for a word in A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles


  #2   Report Post  
CLR
 
Posts: n/a
Default

Try putting your "condition" inside an IF statement in a helper
cell.......... making the true condition=1 and the false condition=0

Then apply your conditional formatting based on that helper cell being 1 or
0

Vaya con Dios,
Chuck, CABGx3



"Gilles Desjardins" wrote in message
...
Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based on finding a
specific word?
If in row 5 the word engineer shows up I would like to turn the whole row
green. No matter where in row 5 the word shows up. I've tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only for a word in A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles




  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Select row 5
Conditional Formatting
Formula is: =OR(5:5="engineer")

Biff

-----Original Message-----
Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based

on finding a
specific word?
If in row 5 the word engineer shows up I would like to

turn the whole row
green. No matter where in row 5 the word shows up. I've

tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only

for a word in A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles


.

  #4   Report Post  
Ken Wright
 
Posts: n/a
Default

If you wanted the whole sheet like that then select the whole sheet and use

=COUNTIF(1:1,"*engineer*")0

else select row 5 and use

=COUNTIF(5:5,"*engineer*")0

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Gilles Desjardins" wrote in message
...
Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based on finding a
specific word?
If in row 5 the word engineer shows up I would like to turn the whole row
green. No matter where in row 5 the word shows up. I've tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only for a word in A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles




  #5   Report Post  
Gilles Desjardins
 
Posts: n/a
Default

Thank you all for your suggestions. Biff's suggestions is the one that hits
the nail on the head.

Gilles
"Gilles Desjardins" wrote in message
...
Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based on finding a
specific word?
If in row 5 the word engineer shows up I would like to turn the whole row
green. No matter where in row 5 the word shows up. I've tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only for a word in A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles





  #6   Report Post  
Ken Wright
 
Posts: n/a
Default

So there is no chance that the word engineer will be part of a sentence, or
have any other characters in the cell with it, it will ALWAYS be the ONLY
entry in the cell yes?

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Gilles Desjardins" wrote in message
...
Thank you all for your suggestions. Biff's suggestions is the one that

hits
the nail on the head.

Gilles
"Gilles Desjardins" wrote in message
...
Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based on finding a
specific word?
If in row 5 the word engineer shows up I would like to turn the whole

row
green. No matter where in row 5 the word shows up. I've tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only for a word in

A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles





  #7   Report Post  
CLR
 
Posts: n/a
Default

Now THAT is really cool Ken...............well done!

Vaya con Dios,
Chuck, CABGx3


"Ken Wright" wrote in message
...
If you wanted the whole sheet like that then select the whole sheet and

use

=COUNTIF(1:1,"*engineer*")0

else select row 5 and use

=COUNTIF(5:5,"*engineer*")0

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

--------------------------------------------------------------------------

--
It's easier to beg forgiveness than ask permission :-)
--------------------------------------------------------------------------

--

"Gilles Desjardins" wrote in message
...
Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based on finding a
specific word?
If in row 5 the word engineer shows up I would like to turn the whole

row
green. No matter where in row 5 the word shows up. I've tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only for a word in

A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles






  #8   Report Post  
Gilles Desjardins
 
Posts: n/a
Default

To tell you the truth I don't know if that situation will arise. Your
solution is definitely more flexible.
Thanks again.

Gilles

"Ken Wright" wrote in message
...
So there is no chance that the word engineer will be part of a sentence,
or
have any other characters in the cell with it, it will ALWAYS be the ONLY
entry in the cell yes?

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Gilles Desjardins" wrote in message
...
Thank you all for your suggestions. Biff's suggestions is the one that

hits
the nail on the head.

Gilles
"Gilles Desjardins" wrote in message
...
Hi everyone, I've been struggling with this next request.

Is it possible to color a row with a specific color based on finding a
specific word?
If in row 5 the word engineer shows up I would like to turn the whole

row
green. No matter where in row 5 the word shows up. I've tried
=IF(5:5="engineer",MOD(ROW(),2)=1,) and this works only for a word in

A5.
I can't seem to use A5:IV5
Any help would be appreciated. Gilles







  #9   Report Post  
Ken Wright
 
Posts: n/a
Default

No problem - just wanted you to be aware of the implications of one way over
another :-)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------
<snip


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 based on month name David Excel Discussion (Misc queries) 4 February 9th 05 09:19 AM
Conditional Formatting of Text... Birmangirl Excel Discussion (Misc queries) 3 January 19th 05 02:45 PM
Conditional formatting based on if statement. kevin Excel Worksheet Functions 2 January 12th 05 03:07 AM
How to do a conditional formatting based on an adjacent cell Confused Excel Discussion (Misc queries) 2 January 10th 05 09:55 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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