Learn how to measure purchase cost variance in Excel so you can spot where buying costs are hurting your margins. In this lesson, you’ll see how to compare expected vs. actual costs, break results down by supplier and part category, and build a visual heat map that highlights problem areas fast.
Download the Excel file used in this tutorial:
Start by adding the three supporting columns used throughout the analysis:
Use simple row-level calculations first so the KPI table is easier to build and audit later.
The video specifically breaks these out into helper columns instead of combining everything into one large formula.
This makes the final KPI setup:
To build the matrix rows:
This gives you a clean vertical list of parts for the left side of the matrix.
Next, build the supplier list:
Now you have the matrix structure:
Once the layout is ready, calculate the KPI inside the matrix.
The video builds this in two parts:
Use the SUMIFS function for both parts of the calculation so you can filter by:
Then format the result as a percentage using Ctrl + Shift + 5.
This creates the Purchase Cost Variance % for each supplier-part combination in the matrix.
Before filling the calculation across the matrix, adjust the cell references so they behave correctly when copied:
The video explains this using absolute and relative references so the same formula can work across the full table.
Because of the table behavior shown in the video, the formula is copied across the full selected range instead of dragged cell by cell.
After the matrix is complete, create an Overall column for each supplier.
To do that:
This gives one overall Purchase Cost Variance % by supplier, regardless of part.
Then copy that formula across the supplier totals section.
Next, create an Overall row for each part.
To do that:
This gives one overall Purchase Cost Variance % by part, regardless of supplier.
Then fill that result down the row.
For the final overall metric:
This creates one total Purchase Cost Variance % for the entire dataset.
The video uses this as the top-level summary number for the whole purchasing operation.
Create a separate input cell to act as the threshold for highlighting problem areas.
In the example, the threshold starts at 7%, but the point is to make it editable so users can change it whenever they want.
Then format the cell so it can display more precision if needed, such as:
This becomes the control cell for the heat map.
To highlight high-variance areas:
Now any cell above the target percentage turns red.
As the threshold changes:
This makes it easy to spot which suppliers or parts are creating the biggest purchasing issues.
To make the control cell easier for other users to understand, the video adds a label directly inside the same cell.
Instead of converting it to plain text, it uses:
This allows the cell to stay numeric while displaying a label such as:
Target: 5%
That way, the spreadsheet still works for conditional formatting, but the purpose of the cell is obvious to anyone reviewing the file.
At the end of the process, you have a complete purchase cost variance dashboard that includes:
This layout makes it much easier to review purchasing discipline and quickly identify where actual costs are drifting above standard cost.
Q1. What is Purchase Cost Variance %?
Purchase Cost Variance % measures how much your actual purchasing cost differs from your expected or standard cost. It helps businesses understand whether they are buying inventory at the planned cost or losing margin through pricing inconsistencies.
Q2. Why is Purchase Cost Variance % important for HVAC companies?
For HVAC businesses, small increases in part costs can quietly reduce profit on every job. Tracking this KPI helps owners and managers identify whether suppliers, buyers, or certain categories of parts are driving unnecessary cost increases.
Q3. How can I analyze Purchase Cost Variance % in Excel?
You can organize purchasing data by supplier, part category, quantity, standard cost, and actual cost, then summarize the results in a matrix view. This makes it easier to compare performance across vendors and inventory categories in one dashboard.
Q4. What insights can a heat map provide for this KPI?
A heat map makes it easy to spot the highest cost variances right away. Instead of scanning rows of numbers, you can quickly identify which suppliers or part categories are exceeding your target and need attention.
Q5. Can this dashboard be used to compare suppliers?
Yes. One of the biggest advantages of this KPI is that it helps you evaluate supplier performance side by side. You can see which vendors are staying close to expected costs and which ones are contributing to margin loss.
Q6. What data do I need to track Purchase Cost Variance %?
To build this KPI, you need basic purchasing data such as supplier name, part category, quantity ordered, standard cost, and actual cost. With that information, you can create a clear dashboard to monitor purchasing discipline over time.