Function Problems

Find the Highest and Lowest Salary by Job Title in Excel

Chanuka GeekiyanageChanuka Geekiyanage Dec 2, 2026 868 views

Question details

Find the highest and lowest salary for each job title without using VLOOKUP.

Find the Highest and Lowest Salary by Job Title in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains job titles and salaries, and the user wants to summarize the salary range for each title.
Observed behavior
Each job title should have its matching maximum and minimum salary displayed in a summary table.
Before you start

Check that job titles are consistent and salaries are stored as numbers. The examples assume job titles are in Data!A2:A1000, salaries are in Data!B2:B1000, and the title to look up is in A2 on your summary sheet.

Solution 1Recommended

Use MAXIFS and MINIFS to summarize salaries by job title

Use conditional aggregation to return the highest and lowest salary for each title without VLOOKUP.

1
List the job titles

On a summary sheet, enter each job title you want to report in column A, starting at A2.

2
Calculate the highest salary

In B2, enter =MAXIFS(Data!$B$2:$B$1000,Data!$A$2:$A$1000,A2). Adjust the sheet name and ranges if your data is elsewhere.

3
Calculate the lowest salary

In C2, enter =MINIFS(Data!$B$2:$B$1000,Data!$A$2:$A$1000,A2).

4
Fill down the formulas

Select B2:C2 and drag the fill handle down beside the remaining job titles in column A.

Use MAXIFS and MINIFS to summarize salaries by job title
Check titles with no matches: MAXIFS and MINIFS can return 0 when no records match. Use =COUNTIF(Data!$A$2:$A$1000,A2) to check whether the job title exists, and verify that matching salaries are numeric.
Find salary ranges in WPS Spreadsheets

Find Salary Ranges by Job Title in WPS Spreadsheets

Open your workbook in WPS Spreadsheets and filter and sort the salary records to identify the highest and lowest values for each job title.

  1. 1. Open the workbook: In WPS Spreadsheets, open the workbook containing the job-title and salary columns.
  2. 2. Turn on filters: Select the complete data range, including its headers, and choose Data > Filter.
  3. 3. Choose a job title: Open the filter arrow in the job-title header and select the title you want to examine.
  4. 4. Sort and record the range: Open the salary-column filter arrow and sort from smallest to largest. Record the first and last visible numeric salaries, then repeat the job-title filter for each remaining title.
Find salary extremes for a job title without VLOOKUPOpen and edit Microsoft Excel XLSX filesFilter and sort records in a familiar spreadsheet interfaceUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Do I need VLOOKUP to find the salary range for a job title?

No. Use MAXIFS and MINIFS with the job-title column as the criterion range and the salary column as the range to summarize.

Why does my MAXIFS or MINIFS formula return zero?

Zero can mean no rows match the job title, or it may be a real salary value. Check the title with COUNTIF and make sure matching salaries are stored as numbers.

Which Excel versions support the FILTER formula?

FILTER is available in Microsoft 365 and newer Excel versions that support dynamic arrays. If your version does not support it, use MAXIFS and MINIFS if available.

Do duplicate salaries affect the highest or lowest result?

No. Repeated salary values do not change the maximum or minimum. UNIQUE removes duplicates in the dynamic-array example, but it is not necessary to find the extremes.