跳到主要內容

如何在Google表格中突出顯示或有條件地格式化最大值或最小值?

通常,您可以使用Microsoft Excel中的條件格式快速突出顯示最大值或最小值。 但是,您可能在Google工作表中找不到類似的功能。 在這裡,我將介紹如何在Google表格中突出顯示最大值或最小值?

在Google表格中使用條件格式突出顯示最大值或最小值

在Google表格中使用條件格式突出顯示前n個或後n個值


在Google表格中使用條件格式突出顯示最大值或最小值

要突出顯示Google表格中列表中的最大值或最小值,請執行以下操作:

1。 點擊 格式 > 條件格式,請參見屏幕截圖:

2。 在 條件格式規則 窗格中的 單色 選項卡,請執行以下操作:

(1.)點擊 按鈕下 適用於範圍 部分以選擇要突出顯示最大值或最小值的數據列;

(2.)然後選擇 自定義公式是 來自 如果格式化單元格 下拉列表,然後輸入以下公式: = $ B:$ B = max(B:B) 在文本框中突出顯示B列中的最大值;

備註:要突出顯示最小值,請輸入以下公式: = $ B:$ B = min(B:B).

(3.)然後選擇一種格式樣式以突出顯示 格式化風格 根據需要。

3。 並立即突出顯示最大值或最小值,然後單擊 完成 按鈕關閉窗格。


在Google表格中使用條件格式突出顯示前n個或後n個值

如果您需要突出顯示頂部/底部的3或5或n值,則以下步驟可能會有所幫助。

1。 通過單擊轉到條件格式規則窗格 格式 > 條件格式.

2。 在 條件格式規則 窗格,請執行以下選項:

(1.)點擊 按鈕下 適用於範圍 部分以選擇要突出顯示前/後n個值的數據列;

(2.)然後選擇 自定義公式是 來自 設置單元格格式 如果是下拉列表,然後輸入以下公式: = $ B2> =大($ B $ 2:$ B,3) 在文本框中突出顯示B列中的前三個值;

備註:要突出顯示底部的三個值,請輸入以下公式: = $ B2 <=小($ B $ 2:$ B,3).

(3.)然後選擇一種格式以突出顯示 格式化風格 根據需要。

3。 頂部或底部的3個值會立即突出顯示,然後單擊 完成 按鈕以根據需要關閉窗格。

最佳辦公生產力工具

熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

kte選項卡201905


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
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