How to Set Up Dynamic Conditional Formatting for Monthly Budgets in Excel
Question details
The user needs to compare actual monthly values against their corresponding monthly budget targets using a single conditional formatting rule.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking monthly actuals versus budgeted amounts across multiple columns without creating individual formatting rules for each month.
- Observed behavior
- The goal is to apply a dynamic conditional formatting rule using relative cell references, allowing the rule to adjust automatically across the row for each respective month.
Ensure your spreadsheet is organized with actual values and budget targets aligned in adjacent rows, and identify the top-left starting cell of your data range before applying the rule.
Apply Conditional Formatting Using Relative Cell References
Use relative references (without dollar signs) in a single conditional formatting rule to compare actual values to budget targets dynamically across multiple columns.
By default, Excel often uses absolute references (with dollar signs, like $B$2) when selecting cells for conditional formatting. By removing these dollar signs, you create a relative reference. This allows a single conditional formatting rule to automatically shift its comparison cell as it moves across your monthly data columns.
Highlight the row containing your actual values (for example, starting from B3). Ensure that the very first cell containing an actual value (B3) is the active cell in your selection. You can optionally set the default font color of this row to green to represent values within the budget.
Navigate to the Home tab on the Excel ribbon, click on 'Conditional Formatting', and select 'New Rule' from the dropdown menu.
In the New Formatting Rule dialog box, choose 'Format only cells that contain'. Leave the first dropdown as 'Cell Value', and change the second dropdown to 'greater than'.
In the value box, enter the cell reference for the budget target located above your active cell (e.g., =B2). It is crucial that you do not include any dollar signs. Click the 'Format' button, set the font color to red (to indicate exceeding the budget), and click 'OK' to apply.

Track Your Monthly Budgets Easily in WPS Spreadsheet
WPS Spreadsheet fully supports advanced conditional formatting, allowing you to quickly visualize your financial data. Use relative references to highlight budget overruns seamlessly across all your monthly records without repetitive setups.
- 1. Open your data: Launch WPS Spreadsheet and open the file containing your monthly budget and actual values.
- 2. Select the actuals row: Highlight the row of your actual monthly values, ensuring the first month's cell is the active cell.
- 3. Access conditional formatting: Go to the 'Home' tab, click 'Conditional Formatting', and select 'New Rule'.
- 4. Configure the rule: Select 'Format only cells that contain', set the condition to 'greater than', and type your budget cell reference without dollar signs (e.g., =B2).
- 5. Apply highlight colors: Click 'Format' to select a warning color like red, then click 'OK' to apply the dynamic rule across your entire timeline.

Frequently Asked Questions
Why is my conditional formatting applying the first column's budget to all subsequent months?
This happens if you use absolute references (which contain dollar signs, like $B$2). The dollar signs lock the reference to that specific cell. Remove the dollar signs (e.g., change it to B2) so the rule becomes relative and updates for each column.
Can I format the entire column based on the budget target instead of just a single cell?
Yes. To format a whole column based on a target cell, use the 'Use a formula to determine which cells to format' option. Enter a formula like =B$3>B$2, keeping the row reference absolute (with a dollar sign) but the column reference relative, and apply it to your entire data range.
How do I highlight actuals that are exactly equal to the budget?
You can add a second conditional formatting rule to the same data range. Follow the same steps, but choose 'equal to' instead of 'greater than' in the rule settings, and assign a different color, such as yellow or blue.




