Find the Highest and Lowest Salary by Job Title in Excel
Question details
Find the highest and lowest salary for each job title without using VLOOKUP.

- 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.
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.
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.
On a summary sheet, enter each job title you want to report in column A, starting at A2.
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.
In C2, enter =MINIFS(Data!$B$2:$B$1000,Data!$A$2:$A$1000,A2).
Select B2:C2 and drag the fill handle down beside the remaining job titles in column A.

Use FILTER with SMALL and LARGE for dynamic-array results
Use this approach in an Excel version that supports FILTER and UNIQUE.
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. Open the workbook: In WPS Spreadsheets, open the workbook containing the job-title and salary columns.
- 2. Turn on filters: Select the complete data range, including its headers, and choose Data > Filter.
- 3. Choose a job title: Open the filter arrow in the job-title header and select the title you want to examine.
- 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.

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.




