Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Conditional Formating...

Does anyone know how to use wildcards with Conditional Formating?

I need to highlight all ROWS in a spreadsheet CONTAINING the word
"Total".

Normaly I would use conditional formating with the following
formula ....

Formula is =$A1="Total" but this will only pick up exact matches.

Thanks,
Steve

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Conditional Formating...

formula is:
=countif(a1,"*total*")0

is one way.

formula is:
=search("total",a1)
or
=find("total",a1)

(find is case sensitive--search is not.)

smonczka wrote:

Does anyone know how to use wildcards with Conditional Formating?

I need to highlight all ROWS in a spreadsheet CONTAINING the word
"Total".

Normaly I would use conditional formating with the following
formula ....

Formula is =$A1="Total" but this will only pick up exact matches.

Thanks,
Steve


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Conditional Formating...

Dave, thank you very much. That worked perfectly.

Steve

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Conditional Formating...

=countif($A1,"*total*")=1

--
Regards,
Tom Ogilvy

"smonczka" wrote:

Does anyone know how to use wildcards with Conditional Formating?

I need to highlight all ROWS in a spreadsheet CONTAINING the word
"Total".

Normaly I would use conditional formating with the following
formula ....

Formula is =$A1="Total" but this will only pick up exact matches.

Thanks,
Steve


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Conditional Formating...

Tom and Peter, thanks both of you. I ended up using
=countif($A1,"*total*")0 as the conditional formula. For all those
who might be having the same problem the $A1 highlights the entire row
where and cell in column A contains the word total.

But what I dont understand is the addition of 0 or =1 to the formula,
what does that do?

Thanks again guys.
Steve




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditional Formating...

Actually, you shouldn't need the 0 or =0. Any non zero number will be seen
as True and zero as false. so
=COUNTIF($A1,"*total*")

should work fine. However, it seems more expanatory to include 0 or =1,
but I guess not for you.

--
Regards,
Tom Ogilvy






"smonczka" wrote in message
oups.com...
Tom and Peter, thanks both of you. I ended up using
=countif($A1,"*total*")0 as the conditional formula. For all those
who might be having the same problem the $A1 highlights the entire row
where and cell in column A contains the word total.

But what I dont understand is the addition of 0 or =1 to the formula,
what does that do?

Thanks again guys.
Steve




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 formating Mandy Excel Discussion (Misc queries) 2 March 26th 09 07:49 PM
conditional formating using mod gtslabs Excel Discussion (Misc queries) 1 March 19th 09 06:55 PM
Conditional FOrmating Maggie[_4_] Excel Worksheet Functions 2 November 29th 07 01:59 PM
Conditional Formating Zee Excel Discussion (Misc queries) 5 August 10th 06 02:56 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM


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