ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Highlighting closest value in section. (https://www.excelbanter.com/excel-worksheet-functions/454316-highlighting-closest-value-section.html)

[email protected]

Highlighting closest value in section.
 

C D E F G H I
8) 39.4% 36.9% 24.70% 49.00% 49% 24.80% 47.70%

How do I highlight in conditional formatting the closes value in C8:H8 to I8?

Thanks in advance!

Claus Busch

Highlighting closest value in section.
 
Hi,

Am Fri, 24 May 2019 08:48:38 -0700 (PDT) schrieb
:

C D E F G H I
8) 39.4% 36.9% 24.70% 49.00% 49% 24.80% 47.70%

How do I highlight in conditional formatting the closes value in C8:H8 to I8?


select C8:H8 and use following formula in conditonal formatting:
=ABS($I$8-C8)=MIN(ABS($I$8-$C$8:$H$8))


Regards
Claus B.
--
Windows10
Office 2016

[email protected]

Highlighting closest value in section.
 
It doesn't appear to be working properly. I am using Google Sheets, is that the issue? It highlights all the variables rather than the one closest to I8.




Claus Busch

Highlighting closest value in section.
 
Hi,

Am Fri, 24 May 2019 09:11:34 -0700 (PDT) schrieb
:

It doesn't appear to be working properly. I am using Google Sheets, is that the issue? It highlights all the variables rather than the one closest to I8.


in Excel it works fine. Ask the Google support for a solution or you
have to use a helper row.


Regards
Claus B.
--
Windows10
Office 2016

Claus Busch

Highlighting closest value in section.
 
Hi again,

Am Fri, 24 May 2019 09:11:34 -0700 (PDT) schrieb
:

It doesn't appear to be working properly. I am using Google Sheets, is that the issue? It highlights all the variables rather than the one closest to I8.


have a look:
https://1drv.ms/x/s!AqMiGBK2qniTgeMv91yjfQu5D4QRPA


Regards
Claus B.
--
Windows10
Office 2016

[email protected]

Highlighting closest value in section.
 
I'm looking over it. Thank you for your help.

[email protected]

Highlighting closest value in section.
 
Where in your example do you view, edit, and add custom formulas in the conditional formatting?

Claus Busch

Highlighting closest value in section.
 
Hi,

Am Fri, 24 May 2019 09:58:50 -0700 (PDT) schrieb
:

Where in your example do you view, edit, and add custom formulas in the conditional formatting?


you can see the rules only in Excel local. In OneDrive and Excel Online
the rules can't be seen.
The formula for row 8 is the formula I posted.
The formula for row 12 is:
=C13=MIN($C$13:$H$13)


Regards
Claus B.
--
Windows10
Office 2016

[email protected]

Highlighting closest value in section.
 
On Friday, May 24, 2019 at 10:48:42 AM UTC-5, wrote:
C D E F G H I
8) 39.4% 36.9% 24.70% 49.00% 49% 24.80% 47.70%

How do I highlight in conditional formatting the closes value in C8:H8 to I8?

Thanks in advance!


The Helper row and that last formula worked. Thanks you


All times are GMT +1. The time now is 12:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com