conditional format closest values across three ranges

alirulez

New Member
Joined
Jul 4, 2015
Messages
35
Hi

I have a bit of a challenging conundrum (for me at least!). Id like a conditional formatting rule to highlight the three closes numbers across the three columns, but with only 1 cell highlighted per column.

So if my data was as follows, the closest 3 would be the ones in bold. (1 per column)

[TABLE="width: 500"]
<tbody>[TR]
[TD]211.05
[/TD]
[TD]213.32
[/TD]
[TD]199.08
[/TD]
[/TR]
[TR]
[TD]209.37
[/TD]
[TD]212.35
[/TD]
[TD]198.11
[/TD]
[/TR]
[TR]
[TD]207.69
[/TD]
[TD]211.37
[/TD]
[TD]197.13
[/TD]
[/TR]
[TR]
[TD]205.25
[/TD]
[TD]209.95
[/TD]
[TD]195.71
[/TD]
[/TR]
[TR]
[TD]203.87
[/TD]
[TD]209.15
[/TD]
[TD]194.91
[/TD]
[/TR]
[TR]
[TD]202.25
[/TD]
[TD]208.2
[/TD]
[TD]193.96
[/TD]
[/TR]
[TR]
[TD]198.38
[/TD]
[TD]205.95
[/TD]
[TD]191.71
[/TD]
[/TR]
[TR]
[TD]193.45
[/TD]
[TD]203.08
[/TD]
[TD]188.84
[/TD]
[/TR]
[TR]
[TD]179.21
[/TD]
[TD]194.79
[/TD]
[TD]180.55
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Surely that output is wrong?

211.05 is close to 211.37 by 0.32, ie the difference is 0.32

But 209.37 is closer to 209.15 by 0.22 which is smaller than 0.32 so these two numbers are closer.

If this is not what you want then you need to explain more.
 
Upvote 0
Thanks for your note. I stand corrected.

You are correct, the closest numbers are

209.37, 209.15, 199

If this can be achieved by way of conditional formatting that would be ace.

Thanks
A
 
Upvote 0
Mm, not sure of a way to do that. Thinking, but I may not be able to come up with a solution.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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