The Complete Excel Course with AI Integration

Excel formulas for compensation analysts

A merit cycle stands on formulas: compa-ratios, increases that stop at the band maximum, eligibility rules, payout tiers and spend rolled up by department and grade. The Complete Excel Course with AI Integration teaches each of them on industry-standard projects, and this page picks out its formula lessons in the order a review needs them: references and percentages, IF, IFS, AND and OR, SUMIFS and COUNTIFS, data checks, then a budget model with variance.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Calculate compa-ratio and range position for a whole employee list with division, brackets and percentage formats, the shared cell locked with F4 so the column fills down true.
  • Cost every employee's merit increase from one rate cell, and cap the new salary at the band maximum with IF, returning any excess as a lump sum.
  • Test eligibility in one formula with IF, AND and OR: performance rating, hire date against the cut-off and employment status, all at once.
  • Write bonus or merit payout tiers with nested IF and IFS, highest tier first, so each employee lands in the band of the plan they earned.
  • Total merit spend, payroll and bonus pools by department, grade or rating with SUMIF and SUMIFS, and count heads with COUNTIF and COUNTIFS.
  • Check a pay export before it is used: COUNT against COUNTA for salaries held as text, COUNTA with UNIQUE for the grades in use, IFERROR for the gaps.
  • Count the days from a hire date or to a cut-off with date arithmetic, TODAY and MONTH, the basis of pro-rated awards and review-month flags.
  • Set merit spend against each department's budget with SUMIFS, variance and percent variance, and a status label on every row.

Projects

What you will build.

The course has 14 industry-standard projects. These three matter most here.

  • Project 01

    Personal Budget Tracker

    Your first workbook: where the money goes each month.

    The arithmetic every pay file stands on, practised on one sheet: totals with SUM and MAX, a rate locked with F4 and applied down a column, and each line shown as a share of income, the moves behind a compa-ratio column and a costed increase.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built for departmental spending, its model has the shape of a merit budget check: SUMIFS sets planned and actual figures on one row per key from a list that spills by itself, then variance, percent variance and a status label mark each department over or under its plan.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

  • Project 03

    Sales Goal Tracker

    Bonus logic rehearsed on sales against quota: Achieved, Near Target and Underperformed bands, an eligibility flag that needs two conditions at once, and SUMIFS and COUNTIFS totals by region and rating, ready to point at ratings, grades and departments.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 21 of them, 1 h 51 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 8 Basic maths in Excel

Start at Lesson 8 if you enter data comfortably but have never locked a reference or written an IF: the ratios of pay work begin there. Writing SUM and percentages already? Join at Lesson 28, where eligibility and tier logic starts. Fluent in IF and SUMIFS? Go to Lesson 34 for the data checks, then Lesson 117 for the budget model. New to Excel itself? Begin at Lesson 1.

21 of 186 lessons · 1 h 51 min

01 Microsoft Excel fundamentals: building a foundation from scratch 5 of 13 lessons · 19 min The arithmetic behind compa-ratio and range position: the four operations with brackets to set the order, SUM and AutoSum with MAX, references locked with F4 or mixed so a formula fills down true, percentages of a locked total, and the #DIV/0!, #NAME? and #VALUE! errors with IFERROR. The lessons work on a personal budget; a salary list takes the same formulas.
  1. 8 Start here Basic maths in Excel Add, subtract, multiply and divide with formulas 3 min
  2. 9 SUM and AutoSum in Excel Total income, expenses and savings with MAX 6 min
  3. 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
  4. 11 Calculating percentages in Excel Each expense as a percentage of income 2 min
  5. 12 Common Excel errors and how to fix them DIV0, NAME, VALUE errors and IFERROR 4 min
02 Project: personal budget tracker 1 of 5 lessons · 4 min AVERAGE beside SUM on the budget tracker's totals: the average that becomes mean pay for a grade or a department once the rows are salaries.
  1. 14 SUM and AVERAGE in Excel Personal budget tracker totals and average expense 4 min
04 Essential formulas and functions (IF, SUMIF and more) 13 lessons · 1 h 17 min The formulas of a merit or bonus file, on the Sales Goal Tracker: TRUE and FALSE tests, IF, nested IF and IFS for tiers, AND and OR for eligibility, SUM, COUNT and COUNTA for checks, SUMIF, COUNTIF, SUMIFS and COUNTIFS for totals and heads, the Insert Function dialog, date arithmetic with TODAY, NOW and MONTH, and a Ninja Challenge. The data is sales against quota; the logic is a pay plan's.
  1. 28 Logical functions in Excel TRUE and FALSE comparisons for beginners 5 min
  2. 29 The IF function in Excel Pass or fail results with a single condition 3 min
  3. 30 IF function practice in Excel Categorise sales data with IF formulas 6 min
  4. 31 Nested IF and IFS in Excel Customer value tiers with nested IF 6 min
  5. 32 Nested IF and IFS in Excel Sales performance labels with the IFS function 5 min
  6. 33 AND and OR with IF in Excel Flag high-value deals with multiple conditions 8 min
  7. 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
  8. 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
  9. 36 SUMIF and COUNTIF in Excel Conditional sum and count with one criterion 8 min
  10. 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
  11. 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
  12. 39 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
  13. 40 Excel Ninja Challenge COUNTIF, SUMIF, IF, COUNTIFS, SUMIFS and IFS practice 8 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 2 of 10 lessons · 11 min Formulas as a model, the shape of a merit budget check: a sorted list of keys spilled from two tables with SORT, UNIQUE and VSTACK, LET and TEXTSPLIT to split each key, SUMIFS to bring planned and actual figures onto one row, then variance, percent variance with IFERROR and a nested IF status note. The model runs on departmental spending, and the formulas care only about the columns.
  1. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
  2. 118 Budget variance in Excel Calculate variance and percent variance 4 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

Excel formulas for compensation analysts: what does a merit cycle need, and can one course cover it all?

Four kinds of formula, and The Complete Excel Course with AI Integration from Coding Liquids teaches every one on industry-standard projects, designed after talking with people from many different industries. Arithmetic that fills down without drifting: division, brackets, percentages and locked references, the base of each compa-ratio and range position (Lesson 8 to Lesson 11). Logic for eligibility and payout tiers: IF, nested IF, IFS, AND and OR (Lesson 29 to Lesson 33). Conditional totals and counts for merit spend and headcount by grade or department: SUMIF, COUNTIF, SUMIFS and COUNTIFS (Lesson 36, Lesson 37). And the checks that keep a pay file honest: COUNT against COUNTA, IFERROR and what each error value means. This page gathers those lessons, 21 lessons and 1 hour 51 minutes in all, closing on a budget model that sets merit spend beside plan. The lessons work on sales and budget data, and a salary list takes the same formulas; XLOOKUP, which brings each grade's band onto the row, has lessons of its own.

Why does a compa-ratio column come out right on the first row and wrong further down?

A reference moved when the formula was filled down, and The Complete Excel Course with AI Integration fixes that habit at the root. Lesson 10 shows the fault on a budget: a rate multiplied against every amount is right in the first row and wrong below it, until F4 locks the rate cell. Press F4 again and the lock cycles to the row alone, then the column alone, the mixed references a cost grid needs when one formula runs down the employees and across several merit scenarios. Lesson 11 then divides each amount by one locked total, the same move as dividing every salary by a single structure's midpoint. Range position needs brackets as well, so the subtraction happens before the division (Lesson 8). And where each grade has a midpoint of its own, XLOOKUP brings the right one onto each row and nothing needs locking at all (Lesson 69).

Can a formula apply a merit increase and stop the new salary at the band maximum?

Yes: one IF compares the new salary with the maximum and keeps whichever the policy allows, and The Complete Excel Course with AI Integration teaches each piece of it. Lesson 8 covers the arithmetic, salary times the merit percentage added back to the salary. Lesson 29 writes IF with its test, its answer when true and its answer when false, and Lesson 30 puts IF inside an Excel table, where one formula fills the whole column and stays consistent as rows are added. Together they cap the new salary at the maximum whenever the increase would pass it, and a second IF returns the part above the maximum, which many plans pay as a lump sum instead. A third column can flag anyone already above the maximum before the cycle starts, the red-circle cases a review looks at first. The lessons label sales Achieved or Missed against quota; your rows hold salaries, and the logic carries over unchanged.

Rating, hire date and employment status all decide eligibility: can one formula test them together?

Yes, with IF wrapped round AND, and The Complete Excel Course with AI Integration builds that exact shape in Lesson 33. Its Bonus Eligibility column returns Eligible only when a sale beats its quota and the customer's rating is Excellent, and a second flag pairs a threshold with a region test written with <>, the sign for not equal to. For a merit cycle the tests become a rating at or above the bar, a hire date on or before the cut-off and a status other than Terminated, all inside one AND, so each must hold. OR handles the exceptions where any one condition is enough, as the lesson's Risk Alert does. Dates compare like numbers because Excel stores them as numbers (Lesson 39). Writing the function's name into the column header, as Lesson 31 recommends, keeps each rule easy to audit when the plan document changes.

How do I write payout tiers for a bonus plan, from threshold to stretch?

With IFS or a nested IF that tests the highest tier first, and The Complete Excel Course with AI Integration teaches both on sales results. Lesson 31 grades every deal against its quota: Achieved above it, Near Target from 90 per cent of it, Underperformed below, the same three bands as a plan with a target and a threshold. Lesson 32 writes a longer ladder with IFS, which checks its conditions in order and returns the first that holds, with TRUE as the final test to catch everything left. Return payout percentages instead of labels, multiply by each person's target bonus (Lesson 8), and the column becomes the payout itself. Order is the trap: Excel stops at the first true test, so a low threshold written first would pay everyone at the bottom tier. The lessons use deal sizes; achievement percentages follow the identical rule.

My merit spend by department does not add up to the grand total: what goes wrong in SUMIF?

Usually ranges that do not line up, and The Complete Excel Course with AI Integration lets you watch the fault happen before fixing it. In Lesson 36 a SUMIF for one product first returns an error, then a total that looks too small, and gives the right figure only when the criteria range and the sum range cover the same full columns: the logic was right all along and the answer quietly wrong. That is the merit roll-up that silently misses a block of employees. Lesson 37 moves to SUMIFS, which takes the column to add first and then each condition in pairs, so department and grade, or department and rating, sit in one formula with no helper column; COUNTIFS stacks conditions the same way for heads. The lesson reads a zero as an answer too, no activity in that slice. Set the departments' totals against a plain SUM of the column (Lesson 9) and any gap shows at once.

Which formulas give the lowest, highest and average salary in each grade?

FILTER inside MAX, MIN or AVERAGE, and The Complete Excel Course with AI Integration teaches every piece. Lesson 34 wraps SUM round FILTER to total only one region's rows; put MAX or MIN from the AutoSum list (Lesson 9), or AVERAGE (Lesson 14), where SUM stands and the same shape returns the top, bottom and mean salary of a single grade. FILTER needs a modern Excel. The second route is the Insert Function dialog: Lesson 38 searches it for average and finds AVERAGE, AVERAGEIF and AVERAGEIFS, and its Function Arguments window lays out each argument in the order SUMIFS taught you; MINIFS and MAXIFS have no lessons of their own and follow that same pattern. With those figures beside each grade's band, wide spreads and outliers stop being a guess. For every grade at once, Value Field Settings changes a PivotTable's value from Sum to Minimum (Lesson 60), with Average and Max in the same list.

Salaries in our HR system export will not add up: can formulas find the ones held as text, and the people with no rating?

Yes, with counts that The Complete Excel Course with AI Integration teaches as a check to run before any figure goes out. COUNT counts only cells holding numbers, while COUNTA counts every filled cell (Lesson 34, Lesson 35): run both down the salary column and the gap between them is the number of salaries held as text, the reason a total comes out short, while COUNT set against the headcount exposes the blanks. The lesson makes exactly this point about a column that must be numeric. COUNTA down the rating column, set against the headcount, gives the number still waiting for a rating before calibration. COUNTA wrapped round UNIQUE counts the distinct grades or job codes in the file, a quick test that no stray code has crept in. And a #VALUE! error tells the same story from the other side: a cell that looks like a number and is not one (Lesson 12).

Are these the advanced Excel skills compensation professionals are expected to have?

They are the core of them, and The Complete Excel Course with AI Integration carries you well past it. This path climbs from locked references to a model built with SORT, UNIQUE, VSTACK, LET, TEXTSPLIT and SUMIFS (Lesson 117), where the list of keys spills and grows by itself when a new month, department or category arrives, and one double-click on the fill handle completes the columns beside it. Beyond this page the course moves on to XLOOKUP with a two-way lookup for merit grids (Lesson 69), INDEX and MATCH, FILTER and SORT, PivotTables, Power Query, VBA macros and Power Automate, with Power Pivot and Power Automate on Excel for Windows, then Copilot, ChatGPT and Claude. Each stage is an industry-standard project with a finished workbook to compare against, so every skill on your CV is one you have built, and completing the course earns a Certificate of Completion an employer can verify.

Can formulas pro-rate a bonus for a mid-year hire, or flag who joined after the cut-off?

Yes, because Excel holds dates as numbers, and The Complete Excel Course with AI Integration teaches the date arithmetic in Lesson 39. Subtracting one date from another gives a count of days, as the lesson's TODAY formula does for the days since a sale, once the result is formatted as a number rather than a date. Days from the hire date to the plan year's end, divided by the days in the year (Lesson 8), is a pro-rating factor, and an IF comparing the hire date with the cut-off decides who joins the plan at all (Lesson 29). MONTH pulls the month out of a date and IF can test it, which the lesson uses to flag one month's sales; the same pattern marks every employee whose review month has arrived. For effective dates at a month end, EOMONTH follows in Lesson 74. DATEDIF is not among the lessons, and day counts carry the work it would do here.

How do I keep #DIV/0! and #N/A out of a pay file that managers will read?

Wrap the formula in IFERROR and say what the gap means, and The Complete Excel Course with AI Integration teaches IFERROR as managing an error, never hiding one. Lesson 12 produces #DIV/0! on purpose, then wraps the division in IFERROR with a message in quotation marks: the calculation stays and only what a reader sees changes. That is the compa-ratio of an employee whose grade has no midpoint yet. The same lesson explains #NAME?, a function Excel does not recognise, and #VALUE!, text where a number belongs. For lookups, Lesson 70 wraps VLOOKUP in IFERROR with NOT MATCHED, so a job code missing from the band table reads as words instead of #N/A, and XLOOKUP's own if-not-found answer does the same job (Lesson 69). In the budget model, IFERROR returns 0 when a budget is zero (Lesson 118). A manager can act on a message; a bare error code only starts an email thread.

Can formulas show which departments have spent past their merit budget?

Yes, and FinanceGuard in The Complete Excel Course with AI Integration builds the formulas for that kind of comparison, on departmental spending against budget. Lesson 117 sets planned and actual figures side by side with SUMIFS, one row per key of month, department and category, drawn from a list of keys that spills by itself. Lesson 118 adds variance and percent variance, with IFERROR for a zero budget, and a nested IF that labels each row over or under budget and marks the gaps beyond 5 per cent as high. Load the merit budget as the plan and the increases approved so far as the actuals, and each department shows its position while the cycle is still open. The lesson's own point applies directly: the percentage judges a gap against its own budget, so one amount can be trivial for a large department and serious for a small one.

Copilot drafted our bonus formula: how would I know it applies the thresholds in the right order?

By reading it the way The Complete Excel Course with AI Integration teaches you to read IFS, then testing it on cases whose answers you already know. Lesson 95 has Copilot and ChatGPT write formula columns, among them a flag with a margin threshold, and its rule is to read each formula's logic and threshold before inserting it, then check rows by hand. Knowing that IFS and nested IF stop at the first true test (Lesson 31, Lesson 32) tells you at a glance whether the top tier is tested first. Then feed it known cases: one person just under the threshold, one exactly on target, one above stretch, each payout worked out by hand. Lesson 99 adds a short checklist for any AI result, and Claude in Excel, in Lesson 104, writes a formula into a chosen cell and repairs a column that has gone wrong. The draft can come from AI; the sign-off on a payout file stays yours.

How soon could these formulas be at work in our next review cycle?

About 1 hour 51 minutes of lessons, and the first payoff comes much sooner. The Complete Excel Course with AI Integration has the arithmetic, locked references and percentages behind compa-ratio and range position done by Lesson 11, a short stretch at the very start, so a ratio column on your own list can follow straight away. The eligibility logic, payout tiers and conditional totals of a merit or bonus file run from Lesson 28 to Lesson 40, ending in a Ninja Challenge you attempt before watching the solution, and the budget model closes the path. Each project comes with a starter and a finished workbook to check against, everything here runs in Excel on Windows or Mac, and the course page has free lessons to watch before you decide. Lifetime access keeps the lessons open for every cycle after this one.

Excel with AI

See the whole course.

The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.