ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   automated cell coloring (https://www.excelbanter.com/excel-programming/298853-automated-cell-coloring.html)

JT[_3_]

automated cell coloring
 
i have an excel document made of up 5 columns and a lot of rows.

how can i check to see if a specific word exists in a row, and if the word
is found, then shade the 5 columns that make up the row a color of my
choice??

thansk for the help



Frank Kabel

automated cell coloring
 
Hi
try the following:
- select cells A1:F40
- goto 'Format - Conditional Format'
- enter the following formula:
=ISNUMBER(MATCH("your_word",$A1:$F1,0))
- choose your format

--
Regards
Frank Kabel
Frankfurt, Germany


JT wrote:
i have an excel document made of up 5 columns and a lot of rows.

how can i check to see if a specific word exists in a row, and if the
word is found, then shade the 5 columns that make up the row a color
of my choice??

thansk for the help



Bob Phillips[_6_]

automated cell coloring
 
If the word is the only thing in the cell, you can just use simple
conditional formatting with a conditional test of equal to the word.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"JT" wrote in message
...
i have an excel document made of up 5 columns and a lot of rows.

how can i check to see if a specific word exists in a row, and if the word
is found, then shade the 5 columns that make up the row a color of my
choice??

thansk for the help






All times are GMT +1. The time now is 03:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com