Conditional Format

mssbass

Active Member
Joined
Nov 14, 2002
Messages
253
Platform
  1. Windows
I have 3 rows with formulas that result in either a positive or negative percentage
I want to highlight the cell in each column for the number that is closest to zero in light green
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Let's say that the three values you are comparing are A1:A3.
Then, select A1:A3, and apply this Conditional Formatting formula:
Code:
=abs(a1)=min(abs(a$1:a$3))
and choose your light green formatting option.
 
Upvote 0
For some reason, I cannot get this to work. I even tried opening a clean separate worksheet and cannot get the formatting to apply.
 
Upvote 0
What are your formulas, are you sure they are returning values and not text?
This is a good point.

If you are using something like the "TEXT" function in the formula to return the percent sign, this will cause the result to be Text and not Numeric, and it won't work.
You don't want to use the TEXT function. You can simply use custom formatting to return the percent sign.

If that does not solve it, please post your formulas, and and example that is not working.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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