Conditional format question

krisso

Active Member
Joined
Sep 16, 2005
Messages
291
Is it possible to do a conditional format formula that when a percentage in column 1 is greater than the percentage in column 2 that it puts a border line as a divider at the bottom of the section that is above the percentage in column 2 as below?

139.86% 100.00%
131.26% 100.00%
122.96% 100.00%
110.44% 100.00%
107.91% 100.00%
103.77% 100.00%
100.18% 100.00%
===============
96.28% 100.00%
93.63% 100.00%
69.49% 100.00%
69.18% 100.00%
49.34% 100.00%
34.36% 100.00%

Thanks
Chris
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Assuming that your data in column A is always sorted in descending order, let's say that your data is in the range A2:B14. Then select the range A2:B14 and enter this Conditional Formatting formula:
Code:
=AND($A2>$B2,$A3<$B3)
and choose your desired border option.
 
Upvote 0

Forum statistics

Threads
1,215,833
Messages
6,127,162
Members
449,368
Latest member
JayHo

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