ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional formatting (https://www.excelbanter.com/excel-worksheet-functions/236009-conditional-formatting.html)

Justo170

Conditional formatting
 
How to highlight one cell based on a range of cells?
For example, I want to highlight cell B3 when any cell D3:Z3 = B3+5000

A B C
D E
1 Van Number Last Oil Change Last Rotation 2
Weekending May 8 15
3 F1 31025 31025 30152 30540
4 F73 199583 199583 199447


Luke M

Conditional formatting
 
formula is:

=ISNUMBER(MATCH(B3+5000,D3:Z3,0))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Justo170" wrote:

How to highlight one cell based on a range of cells?
For example, I want to highlight cell B3 when any cell D3:Z3 = B3+5000

A B C
D E
1 Van Number Last Oil Change Last Rotation 2
Weekending May 8 15
3 F1 31025 31025 30152 30540
4 F73 199583 199583 199447


Justo170

Conditional formatting
 
How about highlighting if it is = B3+5000?

"Luke M" wrote:

formula is:

=ISNUMBER(MATCH(B3+5000,D3:Z3,0))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Justo170" wrote:

How to highlight one cell based on a range of cells?
For example, I want to highlight cell B3 when any cell D3:Z3 = B3+5000

A B C
D E
1 Van Number Last Oil Change Last Rotation 2
Weekending May 8 15
3 F1 31025 31025 30152 30540
4 F73 199583 199583 199447


Luke M

Conditional formatting
 
=MAX(--(B3+5000<=D3:Z3))

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Justo170" wrote:

How about highlighting if it is = B3+5000?

"Luke M" wrote:

formula is:

=ISNUMBER(MATCH(B3+5000,D3:Z3,0))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Justo170" wrote:

How to highlight one cell based on a range of cells?
For example, I want to highlight cell B3 when any cell D3:Z3 = B3+5000

A B C
D E
1 Van Number Last Oil Change Last Rotation 2
Weekending May 8 15
3 F1 31025 31025 30152 30540
4 F73 199583 199583 199447


Justo170

Conditional formatting
 
Thank you!

"Luke M" wrote:

=MAX(--(B3+5000<=D3:Z3))

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Justo170" wrote:

How about highlighting if it is = B3+5000?

"Luke M" wrote:

formula is:

=ISNUMBER(MATCH(B3+5000,D3:Z3,0))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Justo170" wrote:

How to highlight one cell based on a range of cells?
For example, I want to highlight cell B3 when any cell D3:Z3 = B3+5000

A B C
D E
1 Van Number Last Oil Change Last Rotation 2
Weekending May 8 15
3 F1 31025 31025 30152 30540
4 F73 199583 199583 199447



All times are GMT +1. The time now is 10:49 PM.

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