Function Problems

Find Minimum and Maximum Values in a Large Excel Table

Emma BrownEmma Brown Dec 2, 2026 868 views

Question details

Find the minimum and maximum values in each column of a large Excel table.

Find Minimum and Maximum Values in a Large Excel Table
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user is reviewing column statistics in a table with more than 1,000 rows and 10 columns.
Observed behavior
The user wants to quickly identify extreme values without checking the table manually.
Before you start

Identify the numeric data range and exclude header rows. The examples below use B2:K2000; replace those references with your actual data range.

Solution 1Recommended

Highlight Each Column’s Minimum and Maximum in Excel

Use two conditional formatting rules to identify column extremes with different fill colors.

These formulas compare each cell with the values in its own column. The row references stay fixed while the column reference adjusts across the selected range.

1
Select the data

Select B2:K2000, ensuring B2 is the active cell. Adjust the selection to match your table.

2
Create a minimum rule

Go to Home > Conditional Formatting > New Rule and select Use a formula to determine which cells to format. Enter =AND(ISNUMBER(B2),B2=MIN(B$2:B$2000)).

3
Choose a minimum color

Click Format, choose a fill color, and click OK to save the rule.

4
Create a maximum rule

With the same range selected, create another formula-based rule using =AND(ISNUMBER(B2),B2=MAX(B$2:B$2000)). Choose a different fill color and click OK.

Highlight Each Column’s Minimum and Maximum in Excel
Ties and overlapping rules: All cells tied for a column’s minimum or maximum are highlighted. If a value is both the minimum and maximum, the displayed color depends on the conditional formatting rule order.
WPS Spreadsheets

Highlight Column Extremes in WPS Spreadsheets

Open your workbook in WPS Spreadsheets and use formula-based conditional formatting to mark each column’s minimum and maximum values.

  1. 1. Open the workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Select the data range: Select B2:K2000, or your equivalent numeric range, with the top-left data cell active.
  3. 3. Add the minimum rule: Go to Home > Conditional Formatting > New Rule, choose a formula-based rule, and enter =AND(ISNUMBER(B2),B2=MIN(B$2:B$2000)). Choose a fill color and save the rule.
  4. 4. Add the maximum rule: Create another formula-based rule for the same range using =AND(ISNUMBER(B2),B2=MAX(B$2:B$2000)). Choose a different fill color and save the rule.
Highlight column minimums and maximums with separate colorsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceWork with large tables in a free office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can I highlight the minimum and maximum in just one Excel column?

Yes. Select the data cells in that column and create two formula-based rules under Home > Conditional Formatting > New Rule. Adjust the formulas to use the selected column and its first and last data rows.

What happens if several cells share the minimum value?

Every numeric cell tied for the minimum is highlighted. The same applies to values tied for the maximum.

Why are the row numbers fixed with dollar signs?

In B$2:B$2000, the dollar signs keep the comparison range on rows 2 through 2000 as the rule is applied down the table. The column letter remains relative so each column is compared with its own values.

How do I find one minimum across the entire table instead?

Select the table data and create a formula-based conditional formatting rule such as =AND(ISNUMBER(B2),B2=MIN($B$2:$K$2000)). Use MAX in a second rule to find the overall maximum.