Template · Accounting

Trial balance to income statement and balance sheet

Map a trial balance to an income statement and balance sheet, with checks that the books balance.

Create an account

Downloads are included in the $19.85 yearly membership. Sign in

XLSXCSVODSXMLNumbers
Income statement and balance sheet from the trial balance
Example data — replace the blue input cells with your own.
NET REVENUENET INCOMETOTAL ASSETSBALANCE CHECK
1,663,850.0050,120.001,089,990.00Balanced
Income statement, year to date
Sales revenue1,686,300.00SALES
Less: sales returns and allowances(22,450.00)SRET
Net revenue1,663,850.00
Cost of goods sold1,108,220.00COGS
Freight in61,380.00FRTIN
Total cost of sales1,169,600.00
Gross profit494,250.00
Operating expenses
Salaries, wages and payroll taxes216,270.00SAL

Showing the first 16 of 71 rows and 4 of 4 columns. Cells with formulas show the formula on hover.

What does this template do?

This workbook turns a year-to-date trial balance into an income statement and a balance sheet. Each trial balance row has a debit or a credit and a statement line code. The Map tab defines each line, the statement it belongs to, its section and the sign that shows it as a positive figure. The Statements tab adds up the net balances for each line with SUMIF on the code and multiplies by the sign.

The income statement runs from net revenue through gross profit, operating income and income before tax to net income. The balance sheet includes the current-year net income in equity, so total assets should equal total liabilities and equity. Checks confirm that debits equal credits, that every trial balance row has a valid line code, and that the balance sheet balances.

The example is a fictional distributor, Example Distribution Co., with 36 accounts for the year to September 30, 2026. Its figures are invented. The trial balance accepts up to 150 accounts, and the Map tab has spare rows for new line codes.

What’s inside

  • Net balance per account, mapped to statement lines by code with SUMIF
  • Income statement from net revenue to net income, with gross profit and operating income
  • Balance sheet with current-year net income in equity
  • Checks for debits equal to credits, valid line codes and a balanced balance sheet
  • Editable line map with the sign and sort order for each line

Which tabs does the workbook have?

TabWhat it holds
StatementsIncome statement, balance sheet, KPI tiles and checks.
Trial balanceOne row per account with debit, credit, net, line code and the statement it maps to.
MapStatement lines with code, name, statement, section, sign and sort order.
NotesPurpose, steps, formulas used, assumptions and limits.

What formulas does this template use?

This template holds 512 formulas in 1,025 cells across 4 tabs, so 50% of its cells calculate. They use 8 distinct functions; the longest formula is 104 characters and 333 of them read from another tab.

FunctionUsesWhat it does
IF754one result when a test is true, another when false
VLOOKUP331looks a value up in a column
IFERROR300swaps an error for a fallback value
SUMIF31adds values meeting one condition
SUM7adds numbers
ABS3absolute value
COUNTIF2counts cells meeting one condition
ROUND2rounds to a number of digits

Counted from the workbook itself. Only functions that Excel, LibreOffice Calc, Google Sheets and Apple Numbers evaluate the same way are used, so the formulas survive every download format.

How do you use it?

  1. Enter each account's number, name, debit and credit on the Trial balance tab.
  2. Assign each account a line code from the Map tab.
  3. Confirm the trial balance check reads OK and every row has a valid line name.
  4. Read the income statement and the balance sheet on the Statements tab.
  5. Confirm the balance check reads Balanced.

What is it good for?

  • Preparing annual statements from a trial balance for a small business
  • Checking a trial balance before a lender or investor review
  • Building a monthly profit and loss from a ledger export
  • Tracing which accounts make up each statement line

Questions about this sheet

Why are some balance sheet lines negative?

Contra accounts such as the allowance for doubtful accounts and accumulated depreciation are shown as negative amounts that reduce their parent line.

What happens if an account has no valid line code?

The trial balance check flags the row, and the row is left out of the statements. The balance check then fails until the code is fixed.

Does the workbook need a closing entry?

No. The opening retained earnings are kept as a separate line, and the current-year income is added to equity on the balance sheet.

Can I add a new statement line?

Yes. Add the line to the Map tab with its sign, then add a matching row on the Statements tab.