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

Data Analysis

  • How To Filter Data in Excel
  • How to calculate average last N values in a table in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Chart Axes in Excel
  • How to create dynamic reference table name in Excel

References

  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel ROW Function
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation allow weekday only
  • Data validation must not exist in list
  • Excel Data validation number multiple 100
  • Excel Data validation with conditional list
  • Excel Data validation date in next 30 days

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.

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.

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:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

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

  • Return blank if in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function
  • How to use IFS function in Excel
  • TRUE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Add months to date in Excel
  • How to get Weekdays, Working days between Two Dates in Excel
  • ISOWEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • WEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate Next working/business day in Excel

Grouping

  • Group arbitrary text values in Excel
  • If cell contains one of many things in Excel
  • Calculate conditional mode with criteria in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel

General

  • How to calculate percentage of total in Excel
  • List sheet names with formula in Excel
  • List worksheet index numbers in Excel
  • Basic error trapping example in Excel
  • Freeze and Unfreeze Panes in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning