Conditional Formatting keeps putting absolute references - ARGH help

TomStarz

New Member
Joined
Jun 14, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello, I hope you are having a good day.

I'm trying to apply a simple conditional formatting using a formula condition:
AH8<>H8 (if does not equal) fill with yellow background for AH8 if this is the case
and AH8 has a formula in it =H8.
So basically if value is different in AH8 than what is in H8 for example 80 instead 35, I want that 80 to be highlighted in yellow.

The wizzard for conditional formatting keeps putting $ signs to make them absolute, so cannot drag the formula to AI, AJ, AK etc
so for AI it should check for AI8<>I8 but you still have formula AH8<>H8 and than applies to $AH$8:$AI$8

I have to be honest, this is driving me crazy haha, oh dear. Help - and I though I'm proficient in excel
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to the Board!

I never have had good luck with the Format Painter. I find it is much better to select the whole range you want to apply it to first.

Select the whole range that you want to apply it to (i.e. AH8:AK8) and then write the formula for the FIRST cell in that range, i.e. write your Conditional Formatting formula like this:
Excel Formula:
=AH8<>H8
Excel will automatically adjust it for all the other columns, and because you have not put "$" in there, the columns will "float" automatically as you move across.

Note that if you look at the rule afterwards, it may look a little funny (not what you expect), but should behave the way you want it to.
 
Upvote 1
Solution
Hi @TomStarz
Welcome to the MrExcel forum. Please accept my warmest greetings and sincere hope that all is well.

More information with an image:

1686774041960.png
 
Upvote 1
Welcome to the Board!

I never have had good luck with the Format Painter. I find it is much better to select the whole range you want to apply it to first.

Select the whole range that you want to apply it to (i.e. AH8:AK8) and then write the formula for the FIRST cell in that range, i.e. write your Conditional Formatting formula like this:
Excel Formula:
=AH8<>H8
Excel will automatically adjust it for all the other columns, and because you have not put "$" in there, the columns will "float" automatically as you move across.

Note that if you look at the rule afterwards, it may look a little funny (not what you expect), but should behave the way you want it to.
Thank you!
"Excel will automatically adjust it for all the other columns, and because you have not put "$" in there, the columns will "float" automatically as you move across."
Ha!, didn't assume it will do it automatically. Though I will have to copy is across manually.
Thank you very much for this - this has solved the problem. Many thanks again.

Best wishes,
Tom
 
Upvote 0
Hi @TomStarz
Welcome to the MrExcel forum. Please accept my warmest greetings and sincere hope that all is well.

More information with an image:

View attachment 93610
OMG! thank you for warm welcome and for your effort.
didn't know that "Excel will automatically adjust it for all the other columns, and because you have not put "$" in there, the columns will "float" automatically as you move across."

All good now., thank you again.
Best wishes,
Tom
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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