×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Excel 2016 (2010) Conditional Formating Question

 Forum Search FAQs Links MVPs

## Excel 2016 (2010) Conditional Formating Question

(OP)
I have a attached an Excel file with two columns.

Each column has a single formatting rule (shown in a graphic), where I hope what is wanted is obvious from the graphic.

I do not see the results I am expecting.

Could somebody help and explain what is going on.

TIA

### RE: Excel 2016 (2010) Conditional Formating Question

It looks like you want to highlight the maximum value in the range.
Try "Format only top or bottom ranked values", and use 1 for the ranking.

### RE: Excel 2016 (2010) Conditional Formating Question

First select the data range in column B.

Open the CF Wizard and enter this formula & formatting spec...

=MAX(B$5:B$26)=B5

Skip,

Just traded in my OLD subtlety...
for a NUance!

### RE: Excel 2016 (2010) Conditional Formating Question

(OP)
Taking the responses in turn.

IRstuff
If it is not obvious then I will spell it out for you.
I want to shade the background of the column cell containing the maximum value.
Other people have certainly got the idea.

Reference http://www.techonthenet.com/excel/formulas/large.p...
The Microsoft Excel LARGE function returns the nth largest value from a set of values.
I use the function a lot and it has always given me the correct and expected result.

The text in the rule window states "Format values when this formula is true".
I see "=LARGE(B5:B26,1)" as a formula, so when it is true for the cell over the selected range of "Applies to" B5:B26, why is the cell not shaded?
Typical Microsoft unclear screen text information?

What is your understanding of the text? Something different I guess.

IFRs
You are suggesting another possible method?
I was more interested why the two methods I show do not work.
Your suggestion does work for the 1st highest value only which is what I used as my example.
Using LARGE() I have the option of the 2nd highest value, which was my final goal but was not indicated.

SkipVought
You are also suggesting another possible method?
Your suggestion does work. The dollar signs are critical and a comparison must be made.
Using "LARGE(B$5:B$26,1)" is the equivalent of "MAX(B$5:B$26)".

I think I can now see the reason why "=LARGE(B5:B26,1)" does not work as the rule child window text would suggest. It is not a comparison leading to true or false result.

I have attached a new Excel file so that you may see the results.
You have all helped me to pretty much understand what is going on.
Thank you all.

### RE: Excel 2016 (2010) Conditional Formating Question

It was not obvious to me that you were looking for the second highest values in the range. But using =LARGE(B$5:B$26,2)=B5 will accomplish that. And the range formula must be made to fix the rows as you pointed out.

Skip,

Just traded in my OLD subtlety...
for a NUance!

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

#### Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!