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)

211.05
213.32
199.08
209.37
212.35
198.11
207.69
211.37
197.13
205.25
209.95
195.71
203.87
209.15
194.91
202.25
208.2
193.96
198.38
205.95
191.71
193.45
203.08
188.84
179.21
194.79
180.55

<tbody>
</tbody>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,215,051
Messages
6,122,871
Members
449,097
Latest member
dbomb1414

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