Skip to main content

How to highlight or conditional formatting the max or min value in Google sheet?

Normally, you can quickly highlight the largest or smallest value by using Conditional Formatting in Microsoft Excel. But, you may not find a similar feature in Google sheet. Here, I will introduce how to highlight the max or min value in Google sheet?

Highlight the largest or smallest value with Conditional Formatting in Google sheet

Highlight the top n or bottom n values with Conditional Formatting in Google sheet


Highlight the largest or smallest value with Conditional Formatting in Google sheet

To highlight the max or min value from a list in Google sheet, please do as follows:

1. Click Format > Conditional formatting, see screenshot:

2. In the Conditional format rules pane, under the Single color tab, do the following operations:

(1.) Click button under the Apply to range section to select the data column that you want to highlight the max or min value from;

(2.) Then choose Custom formula is from the Format cells if drop down list, and then enter this formula: =$B:$B=max(B:B) into the text box to highlight the largest value from column B;

Note: To highlight the smallest value, please enter this formula: =$B:$B=min(B:B).

(3.) And then choose one formatting style to highlight the cell from the Formatting style section as you need.

3. And the largest or smallest value has been highlighted at once, then click Done button to close the pane.


Highlight the top n or bottom n values with Conditional Formatting in Google sheet

If you need to highlight the top / bottom 3 or 5 or n values, the following steps may help you.

1. Go to the Conditional format rules pane by clicking Format > Conditional formatting.

2. In the Conditional format rules pane, do the following options:

(1.) Click button under the Apply to range section to select the data column that you want to highlight the top / bottom n values from;

(2.) Then choose Custom formula is from the Format cells if drop down list, and then enter this formula: =$B2>=large($B$2:$B,3) into the text box to highlight the top three values from column B;

Note: To highlight the bottom three values, please enter this formula: =$B2<=small($B$2:$B,3).

(3.) And then choose one formatting to highlight the cells from the Formatting style section as you need.

3. And the top or bottom 3 values have been highlighted immediately, then click Done button to close the pane as you need.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (26)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
А как сделать выделение цветом если значения(цены) в разных столбцах?
This comment was minimized by the moderator on the site
Hello, Anatol
Maybe there is no direct may for solving this task.
If your data in multiple columns, to highlight the largest value from them, you should apply the formula into the Conditional Formatting one by one column.
This comment was minimized by the moderator on the site
День добрый. Как сделать то же самое, только вот в столбцах разных находятся данные?[img]https://drive.google.com/file/d/1oJFhnnqjCaFrVSYORr_RZzKdSimrc4RZ/view?usp=share_link[/img]
Наименование Цена Наименование Цена Наименование Цена
218 - 6 подшипник СПЗ-4 1840 218 АС17 FBC (ГОСТ) 1180 218А [6218] 1100
3003140 Н (23040 MBW33) подшипник CRAFT BEARINGS 27000 3003140 Н FBC (ГОСТ) 15100
180317 подшипник CRAFT BEARINGS 3200 180317 АС17 NTL (ГОСТ) 1130 317А [6317] 1800
318 - 6 подшипник СПЗ-4 3750 318 АС17 FBC (ГОСТ) 1750 318А [6318] 2200
32317 КМ подшипник CRAFT BEARINGS 5000 32317 ЛМ FBC (ГОСТ) 3300 32317Л [NU317] 4700
32318 КМ подшипник СПЗ-4 5650 32318 КМ FBC (ГОСТ) 2970 32318КМ [NU318] 3500
This comment was minimized by the moderator on the site
Bonjour

merci pour votre explication, j'essaye de mettre en évidence le chiffre le plus petit d'une ligne et non pas d'une colonne et je ne trouve pas comment faire pourriez vous m'aider

merci par avance
This comment was minimized by the moderator on the site
Hello, rudy,
To highlight the smallest value from a row, please apply the below formula, please change the cell references to oyur need.
=A2=MIN($A2:$H2)

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Ich tue mich mega schwer, eine Formel zu finden, die mir die 3 höchsten Werte in einer Spalte farblich markiert.

Kann mir jemand weiterhelfen?
This comment was minimized by the moderator on the site
Hello, Adrian
To highligh the to 3 values from a list, the second method in this article can do you a favor:
https://www.extendoffice.com/documents/excel/4712-google-sheets-highlight-max-value.html#a2
Please read it, hope it can help you!
If you have any other problem, please comment here.
This comment was minimized by the moderator on the site
Don't Work (see Picture attached)

https://i.ibb.co/yp9X3fq/Sorare.jpg

Why? :(
This comment was minimized by the moderator on the site
Hello, Adrian
Sorry, I'm looking in the wrong, your language is German,😓.
Mybe you can translate the large function in the formula into german, and you can replace the comma with semicolon.
=$B2>=large($B$2:$B,3)
This comment was minimized by the moderator on the site
Your text to link

OK. Now the formula fits more than before. But why do Google highlight that stupid numbers. It's not what the formula should do.

Could you check it please?

Thanks!
This comment was minimized by the moderator on the site
Hello,
First, please change the data range to P3:P992, because your data range starts from the third row.
If this doesn't work either, please translate the large function in the formula into german.
Thank you!
This comment was minimized by the moderator on the site
It says "invalid formula"
This comment was minimized by the moderator on the site
Hello, Adrian,
In your screenshot, your language is French. This problem may be caused by the different language .
Perhaps, you can try to translate the large function in the formula into French.

Please try, thank you!
This comment was minimized by the moderator on the site
minimum formula isn't working on google sheet
This comment was minimized by the moderator on the site
I am using the =$B2<=small($B$2:$B,3) formatting for a spreadsheet to highlight the (5) smallest values in a column and it works great. However not all of the cells will have a value and the CF formula wants to highlight the blank cells. How do I ignore the blank cells? I tried adding another rule for "is empty" but it didn't work?
This comment was minimized by the moderator on the site
I figured it out, but if there is an easier way please share.

This is what I came up with =IF(C17<>"",C17<=small($C$17:$C$26,5),"")
This comment was minimized by the moderator on the site
Hello Tom,

Thanks for your share. Your formula works perfectly when I want to ignore the blank cells while highlighting the Nth smallest values.

And the reason why the blank cells can be highlighted is that a blank cell is treated as value zero (0). When 0 is among the top/bottom Nth values, the blank cells will be highlighted.

So there also can be a case when we want to hightlight the 5 largest values in a column and 0 can be among the top 5 values, so the blank cells can also be highlighted. Please use the formula like =IF(A1<>"",A1>=LARGE($A$1:$A$24,5),""). Then the blank cells will be ignored. Please see the attached screenshots.

Thanks again for your kindness. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Hey, wie muss ich die oben angegebene Formel "= $B:$B = min(B:B)" anpassen, damit nicht die ganze Spalte nach dem kleinsten Wert durchsucht wird, sondern nur ein angegebener Bereich, in obigem Beispiel also B2:B21? Meine Versuche, die Zeilenangaben, mit oder ohne "$", einzubinden haben alle nicht richtig funktioniert.
This comment was minimized by the moderator on the site
This is the formulat if you want to apply to select range instead of entire column:
=if($e$18:$e$27="",FALSE,e18:e27=max($e$18:$e$27))
This comment was minimized by the moderator on the site
It works well, Thanks!!
This comment was minimized by the moderator on the site
Why doesn't this work if you only need the top 2 values? Example would from a full row from C18 to I18. Need a little help. Thanks!
This comment was minimized by the moderator on the site
Why It's now working on my cells
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations