Profit and loss statement in Excel: a monthly P&L for small businesses

How much of your revenue is left once materials, wages, rent and interest are paid? A profit and loss statement answers that month by month. Download a ready-made P&L template here and learn to build it yourself.

In short: one row per account with a line item and an amount for each month. SUMIFS rolls the accounts up into the line items of the P&L, expenses show as negative numbers, and every subtotal is a plain sum. The right-hand side shows the prior year, the change and each line as a percentage of revenue.

You should know: SUMIF and percentages.

Try it now

Seven accounts from March. Roll them up into revenue, cost of sales and gross profit:

Task Roll the accounts up into a P&L: in F2, use SUMIF to add up every account with the line item in E2, and do the same for cost of sales in F3. F4 is gross profit (revenue minus cost of sales) and F5 the gross margin (gross profit divided by revenue).

ABCDEFG
1 Account Line item March P&L March
2 Sales: products Revenue 42000 Revenue
3 Sales: services Revenue 2000 Cost of sales
4 Materials Cost of sales 14700 Gross profit
5 Subcontractors Cost of sales 1500 Gross margin
6 Salaries Payroll 14000
7 Payroll taxes Payroll 2900
8 Rent Rent 2500
9
10

Download the profit and loss template

The workbook has four sheets. The Accounts sheet holds up to 100 accounts with account number, name, line item from a list, twelve months and last year's total. The P&L sheet rolls everything up into revenue, cost of sales, gross profit, operating expenses, operating profit, interest, income tax and net profit for each month, with the full year, prior year, change in amount and percent, and percentage of revenue beside it. A chart shows net profit by month. If an account has no line item, the sheet warns you. Formulas are protected, it prints landscape on Letter paper, and amounts have no currency symbol, so it works in dollars or pounds.

Preview of the profit and loss template in Excel: revenue, cost of sales, gross profit, operating expenses, operating profit, interest, tax and net profit by month, with year, prior year and change on the rightEnlarge preview

Download the finished template

The finished Excel file profit-and-loss-template.xlsx, with sample rows and instructions, is free. All you need is a free account: no subscription, no payment details.

Figures, rates and sample data in the templates are as of 13 November 2026, without guarantee. Check that they still apply to you. The templates are mainly meant to show how to build this in Excel.

Create a free account and download the template Already have an account? Log in

How the statement is laid out

RowLineCalculation
6, 7Revenue (sales, turnover), cost of sales (COGS)SUMIFS from the accounts
8Gross profitRevenue minus cost of sales
9 to 14Other operating income, payroll, rent and utilities, marketing, depreciation, other operating expensesSUMIFS
15Operating profitGross profit plus rows 9 to 14
16 to 18Interest income, interest expense, profit before taxSUMIFS, sum
19, 20Income tax, net profit (net income)SUMIFS, sum

US readers will know the bottom line as net income and cost of sales as COGS; UK readers say turnover for revenue. The labels name both where they differ. Gross profit shows what your products or services earn before overheads, operating profit what the business earns before financing and tax.

Build the P&L yourself

1. The Accounts sheet

One row per account: number in A, name in B, line item in C, January to December from D, last year's total in Q. The line item comes from a drop-down list fed by the Line items sheet, so it is always spelled exactly the same and SUMIFS can find it. Enter all amounts as positive numbers.

2. One line item, one formula

On the P&L sheet, the line item sits in column A and the months in B to M. Revenue for January:

=IF(COUNT(Accounts!$D$6:$D$105)=0,"",SUMIFS(Accounts!$D$6:$D$105,Accounts!$C$6:$C$105,$A6))

Expense lines put a minus in front of SUMIFS. That way every expense is negative on the statement, and gross profit is simply =SUM(B6:B7). The COUNT check keeps months without data empty, so December does not show a zero in January. See the SUMIFS lesson for more.

3. Prior year and change

Column N adds up the twelve months, and column O uses the same formula to fetch last year from column Q of the accounts. The change in percent divides by last year's amount without its sign:

Task In D2, work out the change from last year in percent and fill down to D7: (2026 minus 2025) divided by last year's amount without its sign.

ABCD
1 Line item 2026 2025 Change %
2 Revenue 554000 520000
3 Other income 1200 900
4 Cost of sales -203500 -192500
5 Payroll -211200 -202500
6 Depreciation -14400 -15600
7 Net profit 46170 33340

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

With ABS, a minus always means worse than last year: less revenue or higher costs. The template adds an IF in front so that a prior year of 0 does not produce #DIV/0!. Column R divides each line by revenue, which gives you your gross margin, payroll ratio and net margin at a glance.

4. Check, chart and protection

At the top, COUNTIFS(Accounts!B6:B105,"<>",Accounts!C6:C105,"") counts accounts without a line item. If that is more than zero, amounts are missing and a warning appears. Below the statement, the twelve monthly results stand in a column that feeds a column chart. Finally, sheet protection keeps the formulas safe.

P&L, cash and taxes

A P&L records income when it is earned and costs when they are incurred, which is not always when money moves. To see when cash actually arrives and leaves, use the cash flow forecast. If you only track money in and money out, the expense tracker is the simpler tool. For sole proprietors and partners, income tax is usually paid personally rather than by the business; in that case leave the income tax line empty. This page is not tax or accounting advice, and the template is a management report, not statutory accounts.

Common mistakes

Entering expenses as negative numbers

The statement adds the minus itself. If it is already on the Accounts sheet, the expense turns into income.

A line item spelled differently

"Payroll " with a trailing space does not match the list entry, and the amount quietly drops out. The drop-down list and the warning at the top prevent that.

Dividing by a negative prior year

Without ABS, dividing by last year's negative expense flips the sign, and rising costs would look like good news.

Mixing in loan repayments

Repaying the principal of a loan is not an expense. Only the interest belongs on the P&L; the repayment shows up on the balance sheet and in cash flow.

The formulas in German Excel

EnglishGerman
SUMIFS, SUMIF, SUMSUMMEWENNS, SUMMEWENN, SUMME
COUNTIFS, COUNTZÄHLENWENNS, ANZAHL
IF, OR, ABS, INDEX, DATEWENN, ODER, ABS, INDEX, DATUM

German Excel separates arguments with a semicolon: =SUMMEWENNS(D$6:D$105;C$6:C$105;$A6). The German version of this template follows the German commercial code layout with Rohergebnis and Jahresüberschuss.

Which Excel versions does this work in?

Every function in the template works in all current versions of Excel, including Excel for Mac and Excel for the web. No Microsoft 365 functions are needed. To unprotect a sheet, use Review > Unprotect Sheet; there is no password.

FAQ

Is the profit and loss template free?

Yes. Create a free account to download the Excel file, with no subscription and no payment details.

Where do the figures come from?

From your bookkeeping, for example a trial balance or a monthly report from your accounting software. The account numbers in the sample are just an example; use your own or none at all.

Can I make a year-to-date P&L?

Yes. Fill in the months so far; empty months stay blank, and the year column adds up what is there. Compare it with last year's full year or with the same months last year if you enter those instead.

Can I add line items?

The list is fixed because the statement looks up each row by name. To add one, unprotect the sheet and insert a row, a list entry and a formula following the same pattern.

Does it work with the balance sheet template?

Yes. The net profit of the sample P&L appears as current year profit in the sample balance sheet, which works the same way with accounts and SUMIFS.

Next: balance sheet

The P&L shows the result for a period; the balance sheet shows where you stand on one day: assets, liabilities and equity, with a balance check and ratios.

See the balance sheet template

Write to us

Choose language

Select your preferred language