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

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
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,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