Find Minimum and Maximum Values in a Large Excel Table
Question details
Find the minimum and maximum values in each column of 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.
Identify the numeric data range and exclude header rows. The examples below use B2:K2000; replace those references with your actual data range.
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.
Select B2:K2000, ensuring B2 is the active cell. Adjust the selection to match your table.
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)).
Click Format, choose a fill color, and click OK to save the 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 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. Open the workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
- 2. Select the data range: Select B2:K2000, or your equivalent numeric range, with the top-left data cell active.
- 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. 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.

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.




