Case 4: Pay bands, compa-ratio and a pay review
Is a salary fair for the role? Pay bands set a minimum, midpoint and maximum for each grade. You compare seven salaries with their bands, work out compa-ratios and then run a pay review in which a merit matrix sets each increase.
In short: midpoint with VLOOKUP(grade,PayBands,3,FALSE) over a named range, compa-ratio = salary ÷ midpoint, position with two nested IFs. The increase comes from the matrix with INDEX and two MATCHes: exact for the rating, approximate for the compa-ratio.
The situation
A software company with grades G1 to G5 is preparing its annual pay review. The reward analyst has until the end of the week to show where the product team's salaries sit in their bands, who is below or above, and what the increases under the agreed merit matrix will cost. Leadership has approved a budget of 3.5% of current payroll.
Terms
| Term | Meaning | In the example |
|---|---|---|
| Pay band | Range for a grade from minimum to maximum, with a midpoint as the target for someone fully competent in the role | G3: 46,000 to 58,000, midpoint 52,000 |
| Compa-ratio | Salary divided by midpoint; 1.00 means exactly at midpoint | 50,200 ÷ 52,000 = 0.965 |
| Merit matrix | Table that sets the increase from performance and compa-ratio: strong performers low in the band get more | Rating 1, compa-ratio below 0.9: 6% |
The bands, grades and matrix are made-up figures. How an employer sets them is its own decision or part of a collective agreement. Amounts carry no currency symbol, so the workbook reads the same in dollars or pounds.
The workbooks sheet by sheet
- Salaries: name, grade and annual salary for seven employees.
- Bands: minimum, midpoint and maximum per grade, not sorted. The range A2:D6 has the name
PayBands. - Increase, Matrix, Budget (task 2): rating and compa-ratio per person, the matrix with ratings in rows and lower compa-ratio limits in columns, and the budget as a percentage.
Task 1: position in band
The name PayBands stands for Bands!A2:D6. Use it in every formula, as in the lesson on named ranges.
Task The workbook has the name PayBands for Bands!A2:D6 (grade, minimum, midpoint, maximum). Use it instead of cell references. D2: the midpoint for the grade. E2: compa-ratio = salary divided by midpoint (not rounded). F2: "below band" if the salary is under the minimum, "above band" if it is over the maximum, otherwise "in band". Everything down to row 8. B10: the number of "below band" rows. B11: the average compa-ratio.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Name | Grade | Annual salary | Midpoint | Compa-ratio | Position | |
| 2 | Emma Wilson | G2 | 43500 | ||||
| 3 | David Harris | G3 | 59500 | ||||
| 4 | Fatima Begum | G3 | 50200 | ||||
| 5 | Jack Robinson | G1 | 35000 | ||||
| 6 | Olivia Green | G4 | 61000 | ||||
| 7 | Nathan Hall | G5 | 70500 | ||||
| 8 | Lucy Wood | G2 | 46800 | ||||
| 9 | |||||||
| 10 | Below band | ||||||
| 11 | Average compa-ratio | ||||||
| 12 | |||||||
| 13 |
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Grade | Minimum | Midpoint | Maximum | |
| 2 | G3 | 46000 | 52000 | 58000 | |
| 3 | G1 | 36000 | 40000 | 44000 | |
| 4 | G5 | 64000 | 74000 | 84000 | |
| 5 | G2 | 40000 | 45000 | 50000 | |
| 6 | G4 | 54000 | 62000 | 70000 | |
| 7 | |||||
| 8 |
Step 1: midpoint and compa-ratio
=VLOOKUP(B2,PayBands,3,FALSE) returns the midpoint from the third column. FALSE is a must, because the grades on the Bands sheet are not sorted; without an exact match VLOOKUP quietly returns the wrong row. The compa-ratio is then simply =C2/D2. A name behaves like an absolute reference when you fill down, so no $ signs are needed.
Step 2: below, in or above band
=IF(C2<VLOOKUP(B2,PayBands,2,FALSE),"below band",IF(C2>VLOOKUP(B2,PayBands,4,FALSE),"above band","in band")). A salary exactly at the minimum or maximum is still in band. B10 counts the "below band" rows with COUNTIF, and B11 averages the compa-ratios.
Task 2: the pay review with a merit matrix
The matrix has two axes. The rating (1 exceeds, 2 meets, 3 partly meets) is looked up exactly. The compa-ratio falls into one of three zones: from 0, from 0.9 and from 1.1. Zones are what approximate match is for: MATCH(D2,Matrix!$B$1:$D$1,1) finds the largest limit that is not above the value. The limits must be sorted in ascending order for that to work.
Task Pay review with a merit matrix: the increase depends on the rating (1 = exceeds, 2 = meets, 3 = partly meets) and the compa-ratio. On Matrix the ratings are in A2:A4 and the lower compa-ratio limits in B1:D1 (from 0, from 0.9, from 1.1). E2: the increase from the matrix. F2: the new salary, rounded to whole units. G2: the extra cost. Everything down to row 8. B10: total extra cost. B11: "within budget" if B10 is at most the percentage in Budget!B1 of the current payroll, otherwise "over budget".
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Name | Rating | Salary | Compa-ratio | Increase | New salary | Extra cost | |
| 2 | Emma Wilson | 2 | 43500 | 0.97 | ||||
| 3 | David Harris | 1 | 59500 | 1.14 | ||||
| 4 | Fatima Begum | 2 | 50200 | 0.97 | ||||
| 5 | Jack Robinson | 3 | 35000 | 0.88 | ||||
| 6 | Olivia Green | 1 | 61000 | 0.98 | ||||
| 7 | Nathan Hall | 2 | 70500 | 0.95 | ||||
| 8 | Lucy Wood | 2 | 46800 | 1.04 | ||||
| 9 | ||||||||
| 10 | Total extra cost | |||||||
| 11 | Budget | |||||||
| 12 | ||||||||
| 13 |
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Rating / compa-ratio from | 0 | 0.9 | 1.1 | |
| 2 | 1 | 0.06 | 0.045 | 0.03 | |
| 3 | 2 | 0.04 | 0.03 | 0.015 | |
| 4 | 3 | 0.02 | 0.01 | 0 | |
| 5 | |||||
| 6 |
| A | B | C | |
|---|---|---|---|
| 1 | Budget as % of payroll | 0.035 | |
| 2 | |||
| 3 |
This exercise is part of Premium.
Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.
See Premium Already Premium? Log in
The first exercise in this lesson is free.
INDEX puts both together: =INDEX(Matrix!$B$2:$D$4,MATCH(B2,Matrix!$A$2:$A$4,0),MATCH(D2,Matrix!$B$1:$D$1,1)). The new salary is rounded to whole units and the extra cost is the difference. The budget check compares the total extra cost with 3.5% of current payroll. More on both kinds of match in the lesson on INDEX and MATCH.
Common mistakes
VLOOKUP without FALSE
With unsorted grades, approximate match lands on some row or other. The result looks plausible and is wrong.
Band table not locked
Without the name and without $, Bands!A2:D6 slides down as you fill, and the last row searches A8:D12. The name prevents that.
Exact match for the compa-ratio zone
MATCH(D2,…,0) does not find 0.97 in the row 0 | 0.9 | 1.1 and returns #N/A. Zones need approximate match with 1.
Budget based on new pay
3.5% of the new payroll is a different amount from 3.5% of the current one. The budget refers to the total before the review.
How to check your result
- Task 1: midpoints 45,000, 52,000, 52,000, 40,000, 62,000, 74,000 and 45,000. Jack Robinson is below band, David Harris above it, so B10 is 1. Average compa-ratio about 0.99.
- Task 2: increases 3%, 3%, 3%, 2%, 4.5%, 3% and 3%. Total extra cost 11,560, budget 12,827.50, so "within budget".
- Check: the sum of new salaries minus the sum of current salaries must equal B10.
The functions in German Excel
| English | German |
|---|---|
| VLOOKUP, FALSE | SVERWEIS, FALSCH |
| INDEX, MATCH | INDEX, VERGLEICH |
| IF, COUNTIF | WENN, ZÄHLENWENN |
| AVERAGE, ROUND, SUM | MITTELWERT, RUNDEN, SUMME |
German Excel separates arguments with a semicolon. Names are not translated; PayBands works in both languages.
Excel versions
VLOOKUP, INDEX, MATCH and named ranges work in every version of Excel. With XLOOKUP (Excel 2021 and later and Microsoft 365) the midpoint can also be =XLOOKUP(B2,INDEX(PayBands,0,1),INDEX(PayBands,0,3)); for the matrix, INDEX with MATCH stays the clearest solution.
Back to the course overview.