Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Excel Formula to colourfill cells when condition met

I daily populate a sheet sent to me with answers (time & dates) of 1,2 or 3
star items, the 3 star items I manually fill with a certain colour. Is there
any way of filling a row that contains a cell with 3 stars automatically with
a designated colour. In this example colour filling the whole row because one
of the cells contains ***


15-May bx3008 aaaaaaaaaaaa *** bbbbbbbbbbbbbbbb ccccccc


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default Excel Formula to colourfill cells when condition met

Select all the data - I will assume each row foes fro A to G and that the
data starts on row 1
In the conditional formatting dialog use this formula
=COUNTIF($A1$:G1,"*~*~*~")
The ~ are needed to tell Excel not to treat * as a wildcard
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Ferdy" wrote in message
...
I daily populate a sheet sent to me with answers (time & dates) of 1,2 or
3
star items, the 3 star items I manually fill with a certain colour. Is
there
any way of filling a row that contains a cell with 3 stars automatically
with
a designated colour. In this example colour filling the whole row because
one
of the cells contains ***


15-May bx3008 aaaaaaaaaaaa *** bbbbbbbbbbbbbbbb ccccccc


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 420
Default Excel Formula to colourfill cells when condition met

I think Bernard meant:

=COUNTIF($A1$:G1,"~*~*~*")

(slightly different order. ~* will represent that asterisk character.)

On 05/15/2010 08:05, Bernard Liengme wrote:
Select all the data - I will assume each row foes fro A to G and that
the data starts on row 1
In the conditional formatting dialog use this formula
=COUNTIF($A1$:G1,"*~*~*~")
The ~ are needed to tell Excel not to treat * as a wildcard
best wishes

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
Excel 2002: Can I condition format block of cells ? Mr. Low Excel Discussion (Misc queries) 10 December 20th 08 04:09 AM
Excel 2002: How to condition format rows with empty cells ? Mr. Low Excel Discussion (Misc queries) 6 September 19th 07 06:51 AM
How to only incld cells that meet set condition in an Excel calc? ScottFisher2004 Excel Worksheet Functions 1 March 22nd 07 07:18 PM
How to colourfill a cell with more than 3 conditions? Roopa Excel Discussion (Misc queries) 5 March 9th 07 05:30 AM
how do i colourfill validated cells ? Bushy Excel Discussion (Misc queries) 3 July 4th 05 09:12 AM


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