Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nic4asu
 
Posts: n/a
Default conditional formatting using contains

Can I specify a formula where I highlight the entire row if one cell contains
the word "auto-renew"?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
 
Posts: n/a
Default conditional formatting using contains

Select all the cells (click above and to the left of cell A1), and then
choose Format / CF... use "Formula is" and the formula

=COUNTIF(1:1,"*auto-renew*")0

and set your formatting as desired.

HTH,
Bernie
MS Excel MVP


"nic4asu" wrote in message
...
Can I specify a formula where I highlight the entire row if one cell
contains
the word "auto-renew"?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
B. R.Ramachandran
 
Posts: n/a
Default conditional formatting using contains

Hi,

The Conditional-Formatting formula you have to use depends on where the word
"auto-renew" can occur in the spreadsheet.

Let us imagine that the data are in columns A:E and rows 2:101 (i.e., the
data range is A2:E101). Select the entire data-range (STARTING with A2), and
use one of the following CF formulas depending on the scenario.

If the word "auto-renew" can occur in one or more cells in ONLY ONE column
(say Column A) and you want to highlight the corresponding rows, the formula
is,

=$A2="auto-renew"

If, on the other hand, the word can occur in one or more cells ANYWHERE in
the spread-sheet and you want to highlight the corresponding rows, the
formula is,

=ISNUMBER(MATCH("auto-renew",$A2:$E2,0))

Regards,
B. R. Ramachandran


"nic4asu" wrote:

Can I specify a formula where I highlight the entire row if one cell contains
the word "auto-renew"?

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 Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
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 05:18 AM.

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"