Conditional Formatting absolute reference issue

Tmini

New Member
Joined
Mar 22, 2014
Messages
44
Office Version
  1. 365
Platform
  1. Windows
Hi
I have an issue where I want to colour a range of cells based on a few variables. It works well if I only use the formula for one row but as soon as I try to enable it for multiple rows it won't work. Nothing highlights unless all of the cells in colmun A contains the variable I am looking for, and only the first row is highlighted and not all of them like they should be. If only a couple cells contain the variable then it won't highlight anything. I know I am doing something wrong I am just unsure what it is. The formula I am using is as follows
Code:
=AND($B4:$B6=0,$A4:$A6 <> "")
and it applies to $A$4:$H$6. Can someone help with what I am doing wrong for it to not highlight the cells I want highlighted based on the rules I have applied
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Thanks heaps for that Tetra that worked a treat. Why is it mine didn't work?
 
Upvote 0
You are welcome.

Your CF rule didn't work because it translated into:

=AND($B4=0,$B5=0,$B6=0,$A4<>"",$A5<>"",$A6<>"") for range A4:H4
=AND($B5=0,$B6=0,$B7=0,$A5<>"",$A6<>"",$A7<>"") for range A5:H5
and so on.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top