Excel Guides

How to Show Restricted Grant Spending Beside Budget Variance in Excel

A nonprofit program budgeted $8,000 for the month and spent $10,000. Its finance team approved some restricted grant funding for costs within that overage. Keep the original $2,000 unfavorable expense variance visible, then show the amount of that overage still unfunded on a separate line. First, check that the allocation records support the amount you report.

This is an internal management report. Use the same program, period and currency throughout. The synthetic example assumes that each supplied allocation has already been approved for these additional costs and that the original budget excluded the additional funding. Your finance team determines eligibility, the treatment of funding already included in the budget, and any entries in the accounting system.

Put expenses and allocations on the same worksheet

Paste the synthetic expenses at A1. Use one row per posted expense. Columns C through E will hold the checks. Start with unique, nonblank expense IDs and confirmed numeric, positive expense amounts. Keep IDs as consistent text without wildcard characters such as * and ?. Review credits or reversals separately before using this layout.

Expense IDActual expense
E-016200
E-022200
E-031600

Paste the supplied allocations at F1. These rows are prepared for the same program and reporting period. Column H identifies the fund, which your finance team should already have validated.

Allocation IDExpense IDFund IDAmount
A-01E-01F-A900
A-02E-02F-B600
A-03E-03F-A1100
A-04E-03F-B700
A-05E-03F-A100
A-05E-03F-A100
A-06E-99F-B250

Check the allocation rows and the expense totals

In J1, enter Allocation check. Enter this formula in J2 and fill through J8. Both copies of a repeated allocation ID go to review. A row also goes to review if a key is blank, its expense ID fails to match exactly one expense row, or its amount fails the numeric and positive checks.

=IF(OR(F2="",G2="",H2=""),"Missing key",IF(COUNTIF($F$2:$F$8,F2)<>1,"Duplicate allocation ID",IF(COUNTIF($A$2:$A$4,G2)<>1,"Expense ID missing or repeated",IF(NOT(ISNUMBER(I2)),"Invalid amount",IF(I2<=0,"Invalid amount","OK")))))

Add the headers Matched allocation total, Expense check, and Funding included in C1:E1. Enter the respective formulas in C2, D2 and E2, then fill through row 4.

=SUMIFS($I$2:$I$8,$G$2:$G$8,A2,$J$2:$J$8,"OK")
=IF(OR(A2="",COUNTIF($A$2:$A$4,A2)<>1),"Expense ID review",IF(C2>B2,"Overallocated","OK"))
=IF(D2="OK",C2,0)

The two rows with allocation ID A-05 are at F6:I7. The $250 allocation at I8 points to E-99, which has no expense row. The otherwise valid rows at I4:I5 claim $1,800 against the $1,600 expense in B4. Hold that entire group out of the report until it has been reviewed. The remaining two expense rows contribute $900 and $600.

These checks flag repeated IDs and allocations that exceed an expense. Different IDs can still represent the same underlying claim below that ceiling. When the source system supplies a claim or invoice-line reference, review repeated references too. Keep the exception rows with the report so the provisional funding total can be reconciled after corrections.

Show the original variance and the unfunded remainder

Enter the labels in L2:L6 and put the input or formula in the corresponding M cell. In this layout, a positive expense variance is unfavorable.

CellMeasureInput or formulaExpected
M2Original expense budget8000$8,000
M3Actual expense=SUM(B2:B4)$10,000
M4Original expense variance=M3-M2$2,000 unfavorable
M5Additional funding included=SUM(E2:E4)$1,500
M6Remaining unfunded overage=M4-M5$500

The $500 is provisional while the flagged rows remain unresolved. Use the last subtraction for a positive expense overage under the assumptions above. A negative result would need a different label, such as funding above the overage. It is not automatically a balance you can spend.

Repeat the check at the next close

If your accounting software already shows budget versus actual and spending by fund, start with those reports. In Power Query, load the exports, flag repeated allocation IDs, then group the valid rows by expense ID before merging into the expense export. In Excel, convert the input ranges to Tables or expand all formula ranges together when adding rows.

For a second pass in Jolene.pro, upload an Excel copy of the worksheet and ask for the two totals separately, with the expense and allocation source rows that explain each flagged amount. Compare the answer with C2:E4 and M2:M6 before using it in the report. The figures above were checked independently. A live Jolene.pro result was not verified.

For a larger synthetic set of expense, grant and allocation records, see the Restricted Grant Spending Dataset in Workbook Studies.

Further reading: the Nonprofit Association of Oregon financial management checklist covers budget comparisons and reporting by funding source. Microsoft documents how to sum records using multiple criteria.

Leave a comment