This profit and loss template in Google Sheets builds a monthly P&L straight from your bank and card transactions. The example is Harbor Lane Coffee Roasters, a fictional coffee roastery and cafe in Portland, Oregon, with 216 transactions from January to October 2026.

⬇️ Join Free on Skool & Download the Practice File
Free membership · takes 1 minute · the file is in Classroom → Free Downloads from YouTube
Google Sheets · practice tabs and solution tabs · sign in and click Make a copy
Watch the Video Tutorial
Video Overview
The video shows the finished P&L, the red check for a missing transaction and the month snapshot first. Then it builds everything from the practice file: two helper columns, one SUMIFS formula for the whole table, totals and margins, the check row, and a snapshot with a dropdown, cards and a chart.
What Is in the Practice File?
A Transactions tab, a Categories tab with 13 categories in three sections (Revenue, Cost of Goods Sold, Operating Expenses), a P&L layout, a Snapshot tab and finished solution tabs.

Step 1: Section and Month Helper Columns
=XLOOKUP(D9,Categories!$B$4:$B$16,Categories!$C$4:$C$16,"UNCATEGORIZED")
=TEXT(B9,"mmm yyyy")
Fill both down to row 224. Add a conditional formatting rule that turns UNCATEGORIZED red.


Step 2: Monthly P&L with SUMIFS
=SUMIFS(Transactions!$E$9:$E$224,Transactions!$D$9:$D$224,$B11,Transactions!$G$9:$G$224,C$9)
$B11 locks the line name column and C$9 locks the month header row, so one formula fills every line and month. Google documents the function in its SUMIFS help page.


Totals, Margins and Percent of Revenue
=SUM(C11:C13)
=C14-C20
=IF(C14=0,"",C21/C14)
=C21-C32
=IF(C14=0,"",C34/C14)
=IF(C11="","",SUM(C11:L11))
=IF(M11="","",M11/$M$14)
Year to date revenue is about $458,000, the gross margin is 69.6% and payroll is 42% of revenue. January and February show losses in red brackets because of the annual insurance premium paid in February.

Step 3: The P&L Check
=COUNTIF(Transactions!$F$9:$F$224,"UNCATEGORIZED")
=SUMIFS(Transactions!$E$9:$E$224,Transactions!$F$9:$F$224,"UNCATEGORIZED")
=IF(C37=0,"ALL TRANSACTIONS ARE IN THE P&L",C37&IF(C37=1," TRANSACTION"," TRANSACTIONS")&" MISSING - FIX THE CATEGORY")

One $1,150 repair was typed as Equipment Repair instead of Equipment Repairs. Fix the category and the check turns green. September net income drops to $3,549.

Bonus: Month Snapshot
Add a dropdown of months with Data validation, then pull each card with XLOOKUP.
=XLOOKUP($C$8,'P&L'!$C$9:$L$9,'P&L'!$C$14:$L$14)
=IF(H11>=0,"PROFITABLE MONTH","LOSS MONTH")
=TRANSPOSE('P&L'!$C$9:$L$9)
Use rows 21, 32, 34 and 35 for the other cards, TRANSPOSE rows 14 and 34 for the trend table, then insert a column chart.


Typed P&L or Formula-Driven P&L?
| Task | Typed by hand | This sheet |
|---|---|---|
| Monthly totals | Added up by hand | SUMIFS from transactions |
| Missed items | Hard to notice | Check row shows count and amount |
| One month view | Scroll a long report | Pick from a dropdown |
Download the Free Practice File
⬇️ Join Free on Skool & Download the Practice File
Free membership · takes 1 minute · the file is in Classroom → Free Downloads from YouTube
Google Sheets · practice tabs and solution tabs · sign in and click Make a copy
Want It Ready Made?
See the ready-to-use Profit and Loss Templates in Google Sheets from Next Gen Templates. To learn these functions properly, join the Google Sheets Course Beginner to Advanced. Code NTN-GS20 gives 20% off, valid till December 31, 2026.
Related Tutorials
- Sales Report with Google Sheets Pivot Tables
- Business Expense Tracker in Google Sheets
- Google Sheets Formulas for Work
Frequently Asked Questions
How do I make a profit and loss statement in Google Sheets?
List your transactions with date, category and amount, map each category to a section, then use SUMIFS by category and month to fill the P&L lines.
Why use text month headers?
The Month helper column is text made with TEXT, so the headers must be text too. A typed month can turn into a date and stop matching.
What does UNCATEGORIZED mean?
The category on that transaction is not in the chart of accounts, usually because of a typing mistake.
Why add a P&L check?
SUMIFS ignores a category it cannot match without showing any error, so the check row counts the missing transactions and their amount.
How do losses show in red brackets?
Use a custom number format such as $#,##0;[Red]($#,##0).
Can I use my own categories?
Yes. Add them to the Categories tab with their section and add the matching line to the P&L tab.
By PK. Harbor Lane Coffee Roasters and all names and numbers are fictional example data for learning. This is not accounting advice.
Conclusion
With two helper columns, one SUMIFS formula and a check row, your profit and loss template in Google Sheets shows every month and tells you when something is missing.
More Google Sheets tutorials
- Google Sheets Pivot Table Tutorial: Build a Sales Report Step by Step
- Payroll Template in Google Sheets: Step by Step Tutorial
- Grant Tracker in Google Sheets: Step by Step Tutorial
- Sales CRM in Google Sheets: Lead Tracker, Pipeline Stages & Follow-Up Alerts (Free Template)
- Sales Tracker in Google Sheets: Daily Log, Monthly Report & Rep Targets (Free Template)
- Employee Skills Matrix in Google Sheets: Heatmap, Skill Gaps & Training Plan



