This guide walks you through building a profit and loss (P&L) statement in Excel from scratch. You’ll set up a clean, formula-driven template that automatically calculates gross profit, operating income, and net income from your revenue and expense entries. No advanced Excel skills are needed—just basic data entry and a few simple formulas.
What You’ll Need
- Microsoft Excel (2016 or later, including Microsoft 365)
- Your income and expense figures for the period (monthly, quarterly, or yearly)
- A basic understanding of what counts as revenue vs. expenses
Step-by-Step
- Open a new workbook in Excel. You’ll use one sheet for the P&L statement.
- Set up the header: In cell A1, type “Profit and Loss Statement”. In A2, type “Period:” and in B2 enter the date range, e.g., “Jan 1 – Dec 31, 2025”.
- Create the Revenue section: In row 4, type “Revenue” in column A (bold it). In row 5, type “Sales” in A5, “Services” in A6, and “Other Income” in A7. In column B, leave space for amounts—these are the cells where you’ll type your numbers.
- Add a Total Revenue row: In A8, type “Total Revenue”. In B8, enter the formula
=SUM(B5:B7). This sums all revenue items. - Create the Cost of Goods Sold (COGS) section: In row 10, type “Cost of Goods Sold” (bold). List items like “Materials” in A11, “Labor” in A12, and “Shipping” in A13. In row 14, type “Total COGS” and in B14 enter
=SUM(B11:B13). - Calculate Gross Profit: In A15, type “Gross Profit”. In B15, enter
=B8-B14. This subtracts COGS from total revenue. - Add Operating Expenses: In row 17, type “Operating Expenses” (bold). List common items like “Rent” (A18), “Utilities” (A19), “Salaries” (A20), “Marketing” (A21), and “Insurance” (A22). In A23, type “Total Operating Expenses” and in B23 enter
=SUM(B18:B22). - Calculate Operating Income: In A24, type “Operating Income”. In B24, enter
=B15-B23. This shows profit from core operations. - Include Other Income and Expenses: In row 26, type “Other Income/Expenses” (bold). For example, “Interest Income” in A27, “Interest Expense” in A28. In A29, type “Net Other” and in B29 enter
=B27-B28(or just type the net amount directly). - Calculate Net Income: In A30, type “Net Income”. In B30, enter
=B24+B29. This is your bottom line. - Format the statement: Highlight all rows from 4 to 30. Use bold for section headers (Revenue, COGS, Operating Expenses, Other). Add a top border above Total Revenue, Gross Profit, Operating Income, and Net Income to make them stand out. Use currency format for all amount cells: select B5:B30, right-click → Format Cells → Currency → $ with 2 decimals.
- Add a “Notes” section: In A32, type “Notes”. Leave rows 33-40 blank for any explanations.
- Test the formulas: Enter sample numbers in B5, B6, B7, etc. Verify that Total Revenue, Gross Profit, Operating Income, and Net Income update correctly.
- Save your template: Go to File → Save As, choose Excel Template (*.xltx) if you want to reuse it, or just save as .xlsx.
Common Mistakes
- Mixing up revenue and expenses: Double-check that you put income items in the Revenue section and costs in the right expense section. A misplaced item will skew all totals.
- Forgetting to update formulas: If you add a new revenue line, make sure the SUM range includes it. For example, if you add a row 8 for “Online Sales”, update Total Revenue formula to
=SUM(B5:B8). - Using absolute values in formulas: Avoid typing numbers directly into formulas like
=B8-B14—always reference cells so the statement updates automatically. - Ignoring negative numbers: If an expense is entered as a negative, it will reduce expenses and inflate profit. Keep all amounts positive; use subtraction in formulas.
- Not separating one-time items: Large one-off expenses (like equipment purchase) can distort operating income. Consider listing them under “Other” instead of operating expenses.
Tips
- Use consistent periods: Compare monthly P&L statements side by side to spot trends. Keep the same date range format.
- Add a percentage column: In column C, you can show each line as a percentage of total revenue. For example, in C5, enter
=B5/$B$8and format as percentage. This helps you see cost ratios at a glance. - Protect formulas: After finalizing, you can lock cells with formulas so you don’t accidentally overwrite them. Select B8, B14, B15, B23, B24, B29, B30, go to Format Cells → Protection → Locked, then protect the sheet (Review → Protect Sheet).
- Use data validation: For categories like “Revenue” or “Expense”, you can add a drop-down to avoid typos. Select the cell, go to Data → Data Validation → List and enter your options.
- Keep a backup: Save a copy of your blank template separately so you don’t have to rebuild it each time.
Troubleshooting
- Formulas show #VALUE!: This usually means a cell contains text instead of a number. Check that all amount cells have numeric values (no commas, currency symbols, or spaces). Use the SUM function with ranges that only include numbers.
- Totals don’t update: If you change a number but the total stays the same, your Excel calculation may be set to manual. Go to Formulas → Calculation Options → Automatic.
- Gross profit is negative: This is possible if COGS exceeds revenue. Double-check your COGS entries—maybe you accidentally included a large expense that belongs elsewhere.
- Net income is blank: If you have no “Other” items, the formula
=B24+B29will show 0 if B29 is empty. To avoid blank, use=B24+IF(B29="",0,B29)or just leave B29 as 0. - Row numbers shift: If you insert a row, formulas that reference specific cells may break. To make them more robust, use SUM with entire columns, e.g.,
=SUM(B5:B100), but then you must ensure no stray numbers are in that range.
Frequently Asked Questions
Q: Can I use this template for a personal budget?
A: Yes, but you’d replace business revenue with income and COGS with essential expenses. The structure works for any income/expense tracking.
Q: How often should I update my P&L?
A: Monthly is common for businesses to spot trends. Some update quarterly or annually. The key is consistency—use the same period length each time.
Q: What if I have multiple revenue streams?
A: Simply add more rows under Revenue. Just update the SUM range in Total Revenue.
Q: Can I compare two periods side by side?
A: Yes. Create a second column (e.g., C) for the previous period. Add formulas like =B5-C5 for variance. Or use a separate sheet for each period and a summary sheet.
Q: Do I need to include taxes in the P&L?
A: Income tax is often listed after operating income, before net income. Add a row “Income Tax” and subtract it. However, for internal use, many omit it and focus on pre-tax profit.
Q: Can I automate data entry from my accounting software?
A: Yes, most accounting software can export CSV files. You can import that data into Excel and map columns to your P&L template. This requires some setup but saves time.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Unfortunately App Has Stopped: Step-by-Step
- Restart a Frozen Samsung Galaxy A12
- HomePod Stereo Pair with AirPlay 2 from iPhone
- Fix 0x8e5e0247 Error on Windows
- Pixel & Pixel XL No Sound: Solved?
- How to Edit Playlists on iPhone