LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 151
Default Conditional Formatting Question

I have two columns of data in A in B such as:

A B
Data1
Data2 FALSE
Data3
Data4
Data5

In column B there is either a TRUE or FALSE or a blank. There may be more
than 1 instance of TRUE/FALSE in column B. However, if 1 is FALSE, all
instances are FALSE and if 1 is TRUE, all instances are TRUE.

I would like to format Data1 through Data5 in column A to be grey if any
cell in B1:B5 = FALSE. I would also like to do this with relative cell
references in order to use the format painter to repeat the formula for other
data sets.

I have tried:

Formula = AND(COUNTIF(B1:B5,FALSE)0)

This works if the cell references are absolute, but if I change to relative
references, only cells A1:A2 for the example above are formatted grey.

Any suggestions?
 
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 Question Green Biro Excel Discussion (Misc queries) 4 March 9th 09 09:29 PM
Conditional Formatting Question Emece Excel Discussion (Misc queries) 1 January 20th 09 07:48 PM
conditional formatting question Little pete Excel Worksheet Functions 0 January 23rd 07 04:37 PM
Conditional Formatting Question mwevans1234 Excel Worksheet Functions 2 May 24th 06 10:37 PM
conditional formatting question chris Excel Worksheet Functions 2 January 5th 05 03:51 PM


All times are GMT +1. The time now is 07:17 AM.

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"