Contextures

Excel Forecast vs Actual Variance

Get this free workbook, then enter budget forecast amounts and actual amounts. View or print the report sheets, where formulas show the year to date totals, and calculate the variance between the forecast and actuals.

Introduction

This example uses a simple budget -- enter forecast amounts for each month, then fill in the actual amounts at month end. There are no macros in the sample file -- the navigation buttons use hyperlinks.go to top

budget variance menu

Workbook Menu Sheet

In this template, there is a menu sheet, with navigation buttons and cells to enter the location name and the fiscal year start date. The buttons have hyperlinks that go to a specific sheet, and cell A1 on that sheet.

The green cells are named --

  • I3: Location
  • I7: StartDate

Note: The Location is not used in any of the formulas -- it is for information only.

budget variance menu

go to top

Enter the Forecast Amounts

On a separate worksheet, named Forecast, you'll enter the budget forecast amounts, for each month and each budget category. You can change the category headings in column A, and insert or delete the rows in the Overhead section.

budget variance forecast

In cell C9, there is a link to the start date on the Menu sheet.

  1. In cell D9, the following formula calculates the date for the next month:
  2. =DATE(YEAR(C9),MONTH(C9)+1,1)

  3. That formula is copied across to cell N9, to create a list of 12 months.

Check the Forecast Totals

There are total formulas in column O and row 25, using the SUM function. For example, the formula in cell C25 is:

=SUM(C14:C23)

If you add or delete rows in the Overhead section, make sure that all the rows are included in the SUM formulas in the Total Overhead row.

In row 27, the Net Income is calculated by subtracting the total overhead from the total revenue. go to top

=SUM(C14:C23)

Enter the Actual Amounts

On another worksheet, named Actual, you'll enter the actual amounts, for each month and each budget category.

This data entry section of the sheet is set up exactly the same as the Forecast sheet, with formulas to calculate the grand total for each category, and for each month.

budget variance actual

The only difference from the Forecast sheet is in cell A4. On this sheet, a formula checks row 11, to see how many months have revenue entries. That count is used to calculate the current month.

In this screen shot above, there are two entries in row 11, so the current month is calculated as February 2013 -- the second month in the fiscal year.

Here is the formula used in cell A4, to calculate the current month:

=IFERROR(INDEX($C$9:$N$9,COUNT($C$11:$N$11)),DATE(YEAR(C9),MONTH(C9),0))

It uses the INDEX function and the COUNT function to find the current date. If the INDEX function returns an error, the formula uses the date from cell C9 instead. go to top

Show Year to Date Results

On another worksheet, the Year to Date (YTD) results are calculated. The structure is the same as the Actual and Forecast sheets, with budget categories and month headings.

budget variance year to date

A formula compares the date heading to the current date in cell A4. Here is the formula from cell C11:

=IF(C$9>$A$4,Forecast!C11,Actual!C11)

  • If the column heading date in C9 is after the Current date in A4, the Forecast amount is shown.
  • If the column heading date in C9 is on or before the Current date in A4, the Actual amount is shown.

Colour Code the Columns

To make it obvious which columns have actual data, and which have forecast data, conditional formatting is used to colour code the columns.

First, all the cells in the table are coloured green. Then conditional formatting is applied to the cells.

The conditional formatting formula is similar to the worksheet formula in cell C11. It compares the date heading to the current date in cell A4, and colours the cells orange for dates that are on or before the current date.

Here is the conditional formatting formula, to colour the Actual amounts, based on the dates:

=C$9<=$A$4

budget variance conditional formatting

For columns with a date heading that is after the current date, the cells remain green.

Calculate the Variance

On another sheet, named Variance, there is table with the same categories and date headings. In this table, a formula calculates the variance between the forecast and actual amounts, if the actual amounts have been entered.

In the Total column, the overall variance is calculated.

Here is the formula in cell C11, to check for an Actual amount, and calculate the variance:

=IF(Actual!C11="",0,Actual!C11/Forecast!C11-1)

budget variance formula

Use Navigation Hyperlinks

The buttons on the Menu sheet, and the budget sheets use hyperlinks. Follow the instructions below, to create hyperlinks for the buttons in the workbook.

To learn more about hyperlinks in Excel, go to the Hyperlinks and HYPERLINK function page.

To add a hyperlink to a button:

  1. Right-click the button, and click Insert Hyperlink

    budget variance navigation code

  2. Click 'Place in This Document', then click the Sheet name that you want to link to.
  3. You can leave the cell reference as A1, or type a different cell reference.

    budget variance navigation code

  4. (optional) To add a Screen Tip that will appear when someone points to the button, click the Screen Tip button, and enter a short name for the link, such as 'Forecast Sheet', then click OK

    budget variance navigation code

  5. Click OK to close the Insert Hyperlink window.
  6. Click the button to go to the linked sheet.

Download the Sample File

To download the Budget Varience workbook, click here: Excel Budget YTD. The zipped file is in xlsx format, and does not contain macros.

More Tutorials

Cost Calculator, Annual

Functions List

30 Functions in 30 Days

COUNT / COUNTIF

HYPERLINK

IF

IFERROR

INDEX / MATCH

SUM / SUMIF

VLOOKUP

go to top

Search Contextures Sites

 

30 Excel Functions in 30 Days

 

excel tools

 

 

Last updated: November 15, 2017 2:10 PM