Conditional formatting dynamic

LostinExcelHelp

New Member
Joined
Jun 9, 2023
Messages
16
Office Version
  1. 365
Platform
  1. Windows
I want to do a conditional formatting using cell reference.

in A1, i have a ratio
For cells A2-A5, if the numbers are above the ratio inA1,i want it to be in red.

Same goes for column B: cell B1 has a ratio and B2-B5 should be checked against that.

How can I copy conditional formatting? Just regular copying with contrl+alt+v and format doesn’t seem to be working.

Also even for A1, when I am choosing all the cells A2-A5 together and then setting the conditioning, there seems to be sth off : even if my ratio in A5 is higher than A1, it is not getting highlighted
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I have always find the format painter to behave a little unpredictable, so I never use it.
However, you can apply the rule to all your ranges at once if you use absolute/relative referencing properly.

For example, if you select the range A2:B5, you can use the following Conditional Formatting formula, and it will make column A look at A1 and column B look at B1:
Excel Formula:
=A2>A$1

Note how we only locked down the row number ("$1). That means that every cell in your selected range will compare its value to the value in the first row in its own column.
 
Upvote 0
Solution
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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