Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • 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.

Students Click Here

Excel 2016 (2010) Conditional Formating Question

Excel 2016 (2010) Conditional Formating Question

Excel 2016 (2010) Conditional Formating Question

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.


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...



glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: Excel 2016 (2010) Conditional Formating Question

Taking the responses in turn.

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.

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.

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.


glassesJust traded in my OLD subtlety...
for a NUance!tongue

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.

Reply To This Thread

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

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


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:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close