Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Conditional formatting to highlight the lowest valid value

Cell A1 contains a "critical value". I want to format the range B1:B5 so that
one cell is highlighted - the cell with the value closest to, but not greater
than, A1.

E.g. if B1:B5 looks like this:

ColB
3
9 <--- This should be highlighted when A1 = 14
16 <--- This should be highlighted when A1 = 16
58 <--- This should be highlighted when A1 = 30
100

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Conditional formatting to highlight the lowest valid value

Nevermind this post; I figured it out. I could swear I had tried this formula
and it didn't work... I must have mistyped.

=ROW()=MATCH($A$1,$B$1:$B$5)

"PaladinWhite" wrote:

Cell A1 contains a "critical value". I want to format the range B1:B5 so that
one cell is highlighted - the cell with the value closest to, but not greater
than, A1.

E.g. if B1:B5 looks like this:

ColB
3
9 <--- This should be highlighted when A1 = 14
16 <--- This should be highlighted when A1 = 16
58 <--- This should be highlighted when A1 = 30
100

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlight the entire row or particular cell using conditional formatting vsr_kmb New Users to Excel 1 August 20th 06 11:05 AM
Conditional formatting for lowest number in a string Phil Lewis Excel Worksheet Functions 5 March 23rd 06 09:44 PM
How do I highlight a cell using conditional formatting and dates shane561 Excel Worksheet Functions 6 December 27th 05 03:56 AM
Conditional Formatting lowest # if it only appears once dlvgolf Excel Worksheet Functions 6 July 1st 05 12:52 PM
Need conditional formatting formula to highlight top ten values i. lightninbug Excel Worksheet Functions 11 January 20th 05 05:33 PM


All times are GMT +1. The time now is 08:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"