Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create dynamic reference table name in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Error Bars in Excel
  • Subtotal function in Excel

References

  • Extract all partial matches in Excel
  • Approximate match with multiple criteria in Excel
  • How to get last row in numeric data in Excel
  • How to get address of last cell in range in Excel
  • Merge tables with VLOOKUP in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation allow weekday only
  • Excel Data validation with conditional list
  • Excel Data validation date in specific year
  • How To Create Drop-down List in Excel

Highlight data by quartile in Excel

by

This tutorial shows how to Highlight data by quartile in Excel using the example below;

Formula

=A1>=QUARTILE(data,quart)

Explanation

To highlight cells by quartile, you can apply conditional formatting with a formula that uses the QUARTILE function.

In the example shown, we are using 4 different conditional formatting rules. Each rule highlights a quartile in the range B4:F11 using the QUARTILE function. The formulas look like this:

=B4>QUARTILE(B4:F11,3)
=B4>=QUARTILE(B4:F11,2)
=B4>=QUARTILE(B4:F11,1)
=B4>=QUARTILE(B4:F11,0)

Note that we are highlighting quartiles in a specific order, starting with quartile 4 and ending with quartile 1.

Worked Example:   Highlight top values in Excel

It’s important that the formula be entered relative to the upper left most cell in the data, in this case cell B4.

How this formula works

The QUARTILE function is automatic, and will calculate the 1st quartile with an input of 1, the 2nd quartile with an input of 2, and the 3rd quartile with an input of 3. With an input of 0, quartile returns the minimum value in the data.

Worked Example:   Highlight values greater than in Excel

The trick in this case is to arrange the conditional formatting rules so that they run in the same direction. The first rule highlights values greater than the 3rd quartile. The second rule highlights values greater than the 2nd quartile, the 3rd rule highlights data greater than the 1st quartile, and the last rule highlights data greater than the minimum value.

Post navigation

Previous Post:

Highlight column differences in Excel

Next Post:

Highlight dates between in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel XOR Function
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • Nested IF function example in Excel

Date Time

  • How to calculate months between dates in Excel
  • Get first day of month in Excel
  • Calculate days remaining in Excel
  • Convert Excel time to decimal minutes
  • How to calculate quarter from date in Excel

Grouping

  • If cell contains one of many things in Excel
  • How to randomly assign people to groups in Excel
  • Map text to numbers in Excel
  • Group numbers at uneven intervals in Excel
  • Group times into 3 hour buckets in Excel

General

  • Check if range contains a value not in another range in Excel
  • Count cells that do not contain errors in Excel
  • Excel Default Templates
  • Creating and Opening an existing file in Excel
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning