ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.5 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://www.thebricks.com/resources/how-to-create-a-p-l-statement-in-excel |
| Last Crawled | 2026-03-29 05:58:13 (14 days ago) |
| First Indexed | 2025-04-28 22:17:37 (11 months ago) |
| HTTP Status Code | 200 |
| Meta Title | How to Create a P&L Statement in Excel |
| Meta Description | Learn how to create a P&L statement in Excel with step-by-step guidance. Master formulas and best practices to analyze your business’s financial performance effectively. |
| Meta Canonical | null |
| Boilerpipe Text | Creating a Profit and Loss statement from scratch in Excel can feel like a major hurdle, but it is one of the most powerful ways to understand your business's financial performance. This guide will walk you through the entire process, step by step, from organizing your raw data to building a polished and insightful financial report. We'll cover the essential formulas and best practices you need to confidently build a P&,L statement that drives smarter business decisions.
What is a P&,L Statement?
A Profit and Loss (P&,L) statement, also known as an income statement, is a financial report that summarizes your business's revenues, costs, and expenses over a specific period - typically a month, a quarter, or a year. Its primary purpose is to show whether you made a profit or a loss during that time. It tells the story of your company’s financial operations from the top line (revenue) to the bottom line (net income).
Before building one, it’s crucial to understand its key components:
Revenue (or Sales):
The total amount of money your business earned from selling goods or services.
Cost of Goods Sold (COGS):
The direct costs associated with producing the goods or services you sold, including raw materials and direct labor costs.
Gross Profit:
Calculated by subtracting COGS from Revenue. It shows how much profit you make on your products or services before accounting for other operating expenses.
Operating Expenses (OpEx):
The costs required to run your business that are not directly tied to production, including expenses like rent, marketing, salaries of administrative staff, and utilities.
Operating Income:
Calculated by subtracting Operating Expenses from Gross Profit. This metric, often called Earnings Before Interest and Taxes (EBIT), shows the profit generated from core business operations.
Non-Operating Items:
Income or expenses from activities not related to your core business, such as interest earned on savings or interest paid on loans.
Net Income:
The final "bottom line." It is the total profit (or loss) after all revenues have been added and all expenses have been subtracted.
Step 1: Get Your Data Ready
You can’t build a P&,L without clean, organized data. The most common source is a transaction log or an export from your accounting software. The goal is to have a simple, flat table of all your business transactions in one Excel sheet. Trying to build a P&,L from messy data is where most people get stuck.
Create a dedicated sheet in your Excel workbook named "Data" or "Transactions." Structure it with these essential columns:
Date:
The date of each transaction.
Description:
A brief note about the transaction (e.g., "Client XYZ - Project A," or "Monthly Office Rent").
Category:
Assign a high-level category to each transaction. This is the most critical step for an accurate P&,L. Examples include 'Sales Revenue', 'COGS-Materials', 'Marketing Expense', 'Salaries', 'Rent Expense', 'Interest Income'.
Amount:
The value of the transaction. You can use a single column with positive numbers for income and negative numbers for expenses, which often makes formulas simpler.
Being disciplined about categorizing every single transaction will save you countless hours of headaches later on. This tidy dataset will be the engine for your entire P&,L statement.
Step 2: Set Up Your P&,L Template
Now, open a new sheet in your workbook and name it "P&,L Statement." This is where you will build the final report. The standard layout uses rows for your P&,L categories and columns for time periods.
Here’s how to structure it:
In Column A, list out the P&,L categories in the correct order as described earlier: Revenue, COGS, Gross Profit, then your various Operating Expenses, Total Operating Expenses, Operating Income, Non-Operating Items, and finally Net Income.
In row 1, list your time periods. For instance, start with "Jan," "Feb," "Mar" in cells B1, C1, D1, and so on. It's also wise to add a "YTD Total" (Year-to-Date Total) column at the end to sum up the periods.
Step 3: Use Formulas to Populate Your P&,L
With your transaction "Data" sheet and P&,L structure ready, it's time to use formulas to pull the right numbers into your report. We'll primarily use the
SUMIFS
function, which is perfect for summing values based on multiple criteria (like category and date).
Calculating Revenue
Let’s assume your "Data" sheet has transaction amounts in Column D, categories in Column C, and dates in Column A. To calculate the Total Revenue for January in a cell B4 on your P&,L sheet, you would use a formula like this:
=SUMIFS(Data!D:D, Data!C:C, "Sales Revenue", Data!A:A, ">="&,[Start Date of Month], Data!A:A, "<,="&,[End Date of Month])
To make this work in your actual sheet, you'll reference cells that contain the start and end dates for each month. For example, have a helper row above your months specifying the first and last day (e.g., cell B2 = 1/1/2024 and B3 = 1/31/2024).
The updated formula for revenue for January (in cell B4) would look like this:
=SUMIFS(Data!D:D, Data!C:C, $A4, Data!A:A, ">="&,B$2, Data!A:A, "<,="&,B$3)
By using mixed references with the dollar signs ($), you can drag this formula across for other months and down for other categories.
Calculating COGS and Operating Expenses
You can use the exact same
SUMIFS
logic for COGS and each of your individual Operating Expense line items. Simply drag your revenue formula down to the corresponding rows. As long as the category names in Column A of your P&,L sheet perfectly match the category names in your "Data" sheet, Excel will automatically sum the correct transactions.
For example, for Marketing Expense for January (in say, cell B10), the formula would automatically become:
=SUMIFS(Data!D:D, Data!C:C, $A10, Data!A:A, ">="&,B$2, Data!A:A, "<,="&,B$3)
Calculating Summary Lines (Gross Profit, Net Income, etc.)
The remaining lines on your P&,L are simple arithmetic formulas:
Gross Profit =
Revenue - COGS
Total Operating Expenses =
SUM(All of your individual expense lines)
Operating Income =
Gross Profit - Total Operating Expenses
Net Income =
Operating Income + Non-Operating Income - Non-Operating Expenses. Your net income line should be a vibrant color, it's the star of the show!
Step 4: Enhance Your P&,L Statement for Deeper Insights
A basic P&,L is great, but adding a few analytical layers can transform it from a simple report into a strategic tool.
Add "Percentage of Revenue" Analysis
Common-size analysis, which expresses each line item as a percentage of total revenue, helps you understand the "why" behind your numbers. It shows you where your money is going in relative terms. Add a new column next to each monthly total.
For COGS, the formula would be:
=[COGS Amount] / [Revenue Amount]
For example, if January’s revenue is in B4 and COGS is in B5, the formula in a new column would be
=B5/$B$4
. The dollar signs on `$B$4` ensure that when you drag the formula down for other expense categories, it always divides by the total revenue for that month. Format these cells as a percentage.
Visualize Your Data with Charts
Dashboards in Excel can be clunky, but a few simple charts alongside your P&,L can make trends much easier to spot. Select your monthly Net Income data and insert a simple column chart to visualize profitability over time. A pie chart showing the breakdown of your operating expenses is another great option to see where your money is going.
While Excel charts can sometimes look dated without significant formatting, they are still a vast improvement over just a table of numbers for presentations.
Use a Pivot Table for a Dynamic P&,L
For a more advanced and flexible approach, you can create your P&,L using a Pivot Table. Pivot Tables are fantastic for summarizing large datasets dynamically without complex formulas.
Select your entire table in your "Data" sheet.
Go to Insert >, PivotTable.
Drag "Category" to the Rows area.
Drag "Date" to the Columns area (Excel will automatically group by months and years).
Drag "Amount" to the Values area.
This will instantly create a summary that looks very similar to your P&,L structure. You will still need to manually add calculated items for Gross Profit and Net Income, but it’s a much faster way to organize your report, especially if you have many categories.
Final Thoughts
Building a well-structured P&,L statement in Excel is an invaluable skill that gives you complete clarity on your business's financial engine. By properly organizing your data, mastering functions like SUMIFS, and adding analytical layers like variance analysis, you can create a professional-grade report that empowers you to make smarter, data-driven decisions.
At Bricks, we know that while Excel is powerful, crafting these reports can be time-consuming and often requires hours of manual formatting to get right. That’s why we created an AI data analyst that automates this entire process. You can upload your raw transactional data as a simple CSV or Excel file, and our AI instantly prepares a beautiful, interactive dashboard, featuring a complete P&,L statement, key charts, and written insights - all in seconds. It allows you to skip the manual setup and still gain the insights you need to confidently report on your performance. Feel free to try
Bricks
for yourself. |
| Markdown | [](https://www.thebricks.com/old-home)
- Product
[AI Dashboards From CSV & Excel file to dashboard in seconds](https://www.thebricks.com/ai-dashboard)
[AI Reporting Create reports from your data with AI](https://www.thebricks.com/ai-report)
[AI Charts & Graphs Upload your data & get instant visualizations](https://www.thebricks.com/ai-charts)
[AI Spreadsheet Edit, transform & analyze data with AI](https://www.thebricks.com/ai-spreadsheet)
[AI Presentations Upload your data & get complete slide decks](https://www.thebricks.com/ai-presentations)
[Why Bricks?](https://www.thebricks.com/about)
- Use Cases
By Industry
[Financial Services Turn financial data into dashboards fast](https://www.thebricks.com/use-case/financial-services)
[Education Student data to insights without IT help](https://www.thebricks.com/use-case/education)
[Healthcare Patient data to dashboards in seconds](https://www.thebricks.com/use-case/healthcare)
[Government Create agency dashboards from CSVs easily](https://www.thebricks.com/use-case/government)
[Retail Sales & inventory dashboards in seconds](https://www.thebricks.com/use-case/retail)
[Manufacturing & Supply Chain Track inventory & production effortlessly](https://www.thebricks.com/use-case/manufacturing-supply-chain)
[Real Estate Property data to dashboards instantly](https://www.thebricks.com/use-case/real-estate)
[Technology Dashboards and reporting for every team](https://www.thebricks.com/use-case/technology)
[Construction Track project costs & timelines instantly](https://www.thebricks.com/use-case/construction)
By Team
[Sales Pipeline reports that impress instantly](https://www.thebricks.com/use-case/sales)
[Marketing Campaign metrics to reports instantly](https://www.thebricks.com/use-case/marketing)
[HR AI analyzes your workforce data instantly](https://www.thebricks.com/use-case/hr)
[Finance Transform financials into clear insights](https://www.thebricks.com/use-case/finance)
[Customer Support Turn ticket data into insights in seconds](https://www.thebricks.com/use-case/customer-support)
[Operations Operational dashboards without analysts](https://www.thebricks.com/use-case/operations)
[IT Monitor system metrics with AI insights](https://www.thebricks.com/use-case/it)
By Size
[Startups Skip the data team, get insights now](https://www.thebricks.com/use-case/startups)
[Small Business Professional reports without the hassle](https://www.thebricks.com/use-case/small-business)
[Mid-Market Professional dashboards without IT help](https://www.thebricks.com/use-case/mid-market)
[Enterprise Scale your reporting across all teams](https://www.thebricks.com/use-case/enterprise)
- Learn
[DocumentationGet help with features, your account, billing & common issues](https://www.thebricks.com/docs)
[WebinarsJoin live weekly trainings or watch past sessions on-demand](https://www.thebricks.com/webinars)
[BlogLearn how to use AI to create dashboards, reports, and sheets](https://www.thebricks.com/resources)
- [Pricing](https://www.thebricks.com/pricing)
- [About](https://www.thebricks.com/about)
[Login](https://app.thebricks.com/sign-in)[Get Started](https://app.thebricks.com/sign-up)
[Sheets](https://www.thebricks.com/category/sheets)
# How to Create a P\&L Statement in Excel

By [**Spencer Lanoue**](https://www.thebricks.com/author/spencer-lanoue)
November 7, 2025

Contents
Creating a Profit and Loss statement from scratch in Excel can feel like a major hurdle, but it is one of the most powerful ways to understand your business's financial performance. This guide will walk you through the entire process, step by step, from organizing your raw data to building a polished and insightful financial report. We'll cover the essential formulas and best practices you need to confidently build a P&,L statement that drives smarter business decisions.
## What is a P&,L Statement?
A Profit and Loss (P&,L) statement, also known as an income statement, is a financial report that summarizes your business's revenues, costs, and expenses over a specific period - typically a month, a quarter, or a year. Its primary purpose is to show whether you made a profit or a loss during that time. It tells the story of your company’s financial operations from the top line (revenue) to the bottom line (net income).
Before building one, it’s crucial to understand its key components:
- **Revenue (or Sales):** The total amount of money your business earned from selling goods or services.
- **Cost of Goods Sold (COGS):** The direct costs associated with producing the goods or services you sold, including raw materials and direct labor costs.
- **Gross Profit:** Calculated by subtracting COGS from Revenue. It shows how much profit you make on your products or services before accounting for other operating expenses.
- **Operating Expenses (OpEx):** The costs required to run your business that are not directly tied to production, including expenses like rent, marketing, salaries of administrative staff, and utilities.
- **Operating Income:** Calculated by subtracting Operating Expenses from Gross Profit. This metric, often called Earnings Before Interest and Taxes (EBIT), shows the profit generated from core business operations.
- **Non-Operating Items:** Income or expenses from activities not related to your core business, such as interest earned on savings or interest paid on loans.
- **Net Income:** The final "bottom line." It is the total profit (or loss) after all revenues have been added and all expenses have been subtracted.
## Step 1: Get Your Data Ready
You can’t build a P&,L without clean, organized data. The most common source is a transaction log or an export from your accounting software. The goal is to have a simple, flat table of all your business transactions in one Excel sheet. Trying to build a P&,L from messy data is where most people get stuck.
Create a dedicated sheet in your Excel workbook named "Data" or "Transactions." Structure it with these essential columns:
- **Date:** The date of each transaction.
- **Description:** A brief note about the transaction (e.g., "Client XYZ - Project A," or "Monthly Office Rent").
- **Category:** Assign a high-level category to each transaction. This is the most critical step for an accurate P&,L. Examples include 'Sales Revenue', 'COGS-Materials', 'Marketing Expense', 'Salaries', 'Rent Expense', 'Interest Income'.
- **Amount:** The value of the transaction. You can use a single column with positive numbers for income and negative numbers for expenses, which often makes formulas simpler.
Being disciplined about categorizing every single transaction will save you countless hours of headaches later on. This tidy dataset will be the engine for your entire P&,L statement.
## Step 2: Set Up Your P&,L Template
Now, open a new sheet in your workbook and name it "P&,L Statement." This is where you will build the final report. The standard layout uses rows for your P&,L categories and columns for time periods.
Here’s how to structure it:
1. In Column A, list out the P&,L categories in the correct order as described earlier: Revenue, COGS, Gross Profit, then your various Operating Expenses, Total Operating Expenses, Operating Income, Non-Operating Items, and finally Net Income.
2. In row 1, list your time periods. For instance, start with "Jan," "Feb," "Mar" in cells B1, C1, D1, and so on. It's also wise to add a "YTD Total" (Year-to-Date Total) column at the end to sum up the periods.
## Step 3: Use Formulas to Populate Your P&,L
With your transaction "Data" sheet and P&,L structure ready, it's time to use formulas to pull the right numbers into your report. We'll primarily use the `SUMIFS` function, which is perfect for summing values based on multiple criteria (like category and date).
### Calculating Revenue
Let’s assume your "Data" sheet has transaction amounts in Column D, categories in Column C, and dates in Column A. To calculate the Total Revenue for January in a cell B4 on your P&,L sheet, you would use a formula like this:
`=SUMIFS(Data!D:D, Data!C:C, "Sales Revenue", Data!A:A, ">="&,[Start Date of Month], Data!A:A, "<,="&,[End Date of Month])`
To make this work in your actual sheet, you'll reference cells that contain the start and end dates for each month. For example, have a helper row above your months specifying the first and last day (e.g., cell B2 = 1/1/2024 and B3 = 1/31/2024).
The updated formula for revenue for January (in cell B4) would look like this:
`=SUMIFS(Data!D:D, Data!C:C, $A4, Data!A:A, ">="&,B$2, Data!A:A, "<,="&,B$3)`
By using mixed references with the dollar signs (\$), you can drag this formula across for other months and down for other categories.
### Calculating COGS and Operating Expenses
You can use the exact same `SUMIFS` logic for COGS and each of your individual Operating Expense line items. Simply drag your revenue formula down to the corresponding rows. As long as the category names in Column A of your P&,L sheet perfectly match the category names in your "Data" sheet, Excel will automatically sum the correct transactions.
For example, for Marketing Expense for January (in say, cell B10), the formula would automatically become:
`=SUMIFS(Data!D:D, Data!C:C, $A10, Data!A:A, ">="&,B$2, Data!A:A, "<,="&,B$3)`
### Calculating Summary Lines (Gross Profit, Net Income, etc.)
The remaining lines on your P&,L are simple arithmetic formulas:
- **Gross Profit =** Revenue - COGS
- **Total Operating Expenses =** `SUM(All of your individual expense lines)`
- **Operating Income =** Gross Profit - Total Operating Expenses
- **Net Income =** Operating Income + Non-Operating Income - Non-Operating Expenses. Your net income line should be a vibrant color, it's the star of the show\!
## Step 4: Enhance Your P&,L Statement for Deeper Insights
A basic P&,L is great, but adding a few analytical layers can transform it from a simple report into a strategic tool.
### Add "Percentage of Revenue" Analysis
Common-size analysis, which expresses each line item as a percentage of total revenue, helps you understand the "why" behind your numbers. It shows you where your money is going in relative terms. Add a new column next to each monthly total.
For COGS, the formula would be:
`=[COGS Amount] / [Revenue Amount]`
For example, if January’s revenue is in B4 and COGS is in B5, the formula in a new column would be `=B5/$B$4`. The dollar signs on \`\$B\$4\` ensure that when you drag the formula down for other expense categories, it always divides by the total revenue for that month. Format these cells as a percentage.
### Visualize Your Data with Charts
Dashboards in Excel can be clunky, but a few simple charts alongside your P&,L can make trends much easier to spot. Select your monthly Net Income data and insert a simple column chart to visualize profitability over time. A pie chart showing the breakdown of your operating expenses is another great option to see where your money is going.
While Excel charts can sometimes look dated without significant formatting, they are still a vast improvement over just a table of numbers for presentations.
### Use a Pivot Table for a Dynamic P&,L
For a more advanced and flexible approach, you can create your P&,L using a Pivot Table. Pivot Tables are fantastic for summarizing large datasets dynamically without complex formulas.
1. Select your entire table in your "Data" sheet.
2. Go to Insert \>, PivotTable.
3. Drag "Category" to the Rows area.
4. Drag "Date" to the Columns area (Excel will automatically group by months and years).
5. Drag "Amount" to the Values area.
This will instantly create a summary that looks very similar to your P&,L structure. You will still need to manually add calculated items for Gross Profit and Net Income, but it’s a much faster way to organize your report, especially if you have many categories.
## Final Thoughts
Building a well-structured P&,L statement in Excel is an invaluable skill that gives you complete clarity on your business's financial engine. By properly organizing your data, mastering functions like SUMIFS, and adding analytical layers like variance analysis, you can create a professional-grade report that empowers you to make smarter, data-driven decisions.
At Bricks, we know that while Excel is powerful, crafting these reports can be time-consuming and often requires hours of manual formatting to get right. That’s why we created an AI data analyst that automates this entire process. You can upload your raw transactional data as a simple CSV or Excel file, and our AI instantly prepares a beautiful, interactive dashboard, featuring a complete P&,L statement, key charts, and written insights - all in seconds. It allows you to skip the manual setup and still gain the insights you need to confidently report on your performance. Feel free to try [Bricks](https://app.thebricks.com/sign-up) for yourself.
[Spencer Lanoue](https://www.thebricks.com/author/spencer-lanoue)
[](https://linkedin.com/in/spencerlanoue)[](https://x.com/slanoue)
Spencer’s spent 10+ years building products and growing startups like Buffer, UserTesting, and Bump Health. He lives in spreadsheets—crunching data, building dashboards, and creating visuals to drive decisions. At Bricks, he’s focused on figuring out how to use AI to automate the busy work of spreadsheets, letting AI handle the heavy lifting for you.
[](https://linkedin.com/in/spencerlanoue)[](https://x.com/slanoue)

**Create polished charts, tables & insights** from your data in seconds with AI. No design skills needed. So easy anyone can do it. [**Get started for free →**](https://app.thebricks.com/sign-up)
Create stunning charts, tables & insights from your data with AI
Drop in a spreadsheet or CSV and get polished, presentation-ready visuals in seconds. No expertise required.
[Get started for free →](https://app.thebricks.com/sign-up)
[](https://www.thebricks.com/resources/how-to-create-a-p-l-statement-in-excel)
From spreadsheet to stunning visuals in seconds
Upload a CSV or Excel file and Bricks instantly creates polished charts, tables, and insights you can share with your team. No design work, no formulas, no learning curve.
[Create my first dashboard →](https://app.thebricks.com/sign-up)
[](https://www.thebricks.com/resources/how-to-create-a-p-l-statement-in-excel)

Data visuals that look like you spent hours on them
Just upload your spreadsheet and you'll get a share-ready report in under a minute. Your team will think you hired a designer.
[Try it for free →](https://app.thebricks.com/sign-up)
## Your spreadsheet data visualized beautifully, in seconds
Just upload a CSV or Excel file, and get polished charts, tables, and insights instantly from your data. It's that simple. Take a look at what Bricks can do.
[Create a dashboard in seconds](https://app.thebricks.com/sign-up)
[](https://www.thebricks.com/resources/how-to-create-a-p-l-statement-in-excel)
## Other posts you might like
### How to Do Exponents in Excel
Ever wondered how to use the exponential function, often represented as "E^" or "EXP," in Excel? Whether you're dealing with complex financial projections or diving into scientific data, understanding how to harness this powerful tool can make a huge difference. Excel, with its extensive capabilities, allows you to perform a wide range of mathematical operations, and the exponential function is one of its most handy features.
[Read more about this article](https://www.thebricks.com/resources/how-to-do-e--in-excel)
### How to Add an Apostrophe in Front of a Number in Excel
Learn how to add an apostrophe in front of a number in Excel to keep leading zeros, ensuring your IDs and ZIP codes display correctly with easy, effective methods.
[Read more about this article](https://www.thebricks.com/resources/how-to-add--in-front-of-number-in-excel)
### How to Sum Only Filtered (Visible) Cells in Excel
Learn how to sum only visible, filtered cells in Excel using the SUBTOTAL and AGGREGATE functions. Discover simple methods to get accurate totals quickly.
[Read more about this article](https://www.thebricks.com/resources/how-to-sum-only-filtered--visible--cells-in-excel)
### How to Get Today's Date in Excel
Learn how to get today's date in Excel with simple formulas and shortcuts. Perfect for tracking updates, sales, or invoices—discover easy methods now.
[Read more about this article](https://www.thebricks.com/resources/how-to-get-todays-date-in-excel)
### How to Calculate R² in Excel
Learn how to calculate R^2 in Excel with three simple methods. Discover how this key statistic measures your model's accuracy and improves data analysis.
[Read more about this article](https://www.thebricks.com/resources/how-to-calculate-r-2-in-excel)
### How to Keep a Cell Fixed in an Excel Formula Using \$
Learn how to keep a cell fixed in Excel formulas using \$ to prevent errors when copying. Master cell referencing for accurate, reliable calculations today.
[Read more about this article](https://www.thebricks.com/resources/how-to-keep-a-cell-fixed-in-excel-formula-using-)
[](https://www.thebricks.com/old-home)
### Product
- [AI Dashboards](https://www.thebricks.com/ai-dashboard)
- [AI Reporting](https://www.thebricks.com/ai-report)
- [AI Charts & Graphs](https://www.thebricks.com/ai-charts)
- [AI Spreadsheet](https://www.thebricks.com/ai-spreadsheet)
- [Data to Slides](https://www.thebricks.com/ai-presentations)
### Resources
- [Documentation](https://thebricks.com/docs)
- [Webinars](https://www.thebricks.com/webinars)
- [Community](https://discord.gg/9B9pePxnZr)
- [Templates](https://www.thebricks.com/templates)
- [Tutorials](https://www.youtube.com/playlist?list=PLlKpQrBME6xLZLJCmqdM4i5GQhXscRvTS)
- [Blog](https://www.thebricks.com/resources)
### Use Cases
- [Sales](https://www.thebricks.com/use-case/sales)
- [Marketing](https://www.thebricks.com/use-case/marketing)
- [HR](https://www.thebricks.com/use-case/hr)
- [Finance](https://www.thebricks.com/use-case/finance)
- [Customer Support](https://www.thebricks.com/use-case/customer-support)
- [Operations](https://www.thebricks.com/use-case/operations)
- [Startups](https://www.thebricks.com/use-case/startups)
- [Small Business](https://www.thebricks.com/use-case/small-business)
- [Mid-Market](https://www.thebricks.com/use-case/mid-market)
- [Enterprise](https://www.thebricks.com/use-case/enterprise)
### Industries
- [Financial Services](https://www.thebricks.com/use-case/financial-services)
- [Education](https://www.thebricks.com/use-case/education)
- [Healthcare](https://www.thebricks.com/use-case/healthcare)
- [Government](https://www.thebricks.com/use-case/government)
- [Retail](https://www.thebricks.com/use-case/retail)
- [Manufacturing & Supply Chain](https://www.thebricks.com/use-case/manufacturing-supply-chain)
- [Real Estate](https://www.thebricks.com/use-case/real-estate)
- [Technology](https://www.thebricks.com/use-case/technology)
- [Construction](https://www.thebricks.com/use-case/construction)
### Comparison
- [Bricks vs. Tableau](https://www.thebricks.com/competitors/tableau)
- [Bricks vs. Power BI](https://www.thebricks.com/competitors/power-bi)
- [Bricks vs. Looker](https://www.thebricks.com/competitors/looker)
- [Bricks vs. Excel Dashboards](https://www.thebricks.com/competitors/excel)
- [Bricks vs. Google Sheets Dahboards](https://www.thebricks.com/competitors/google-sheets)
- [Bricks vs. Canva for Data Visualization](https://www.thebricks.com/competitors/canva)
### Company
- [About](https://www.thebricks.com/about)
- [Pricing](https://www.thebricks.com/pricing)
- [Support](https://www.thebricks.com/support)
- [Privacy Policy](https://www.thebricks.com/privacy-policy)
- [Terms of Service](https://www.thebricks.com/terms-of-service)
## Turn your data into stunning charts, tables & insights with AI
Upload a CSV, Excel file, or PDF and Bricks AI instantly creates beautiful, share-ready visuals. No formulas, no design skills, no learning curve.
[Get started for free](https://app.thebricks.com/sign-up)


Create polished charts, tables & insights with AI
Just upload a spreadsheet or CSV, and Bricks AI instantly creates beautiful, share-ready visuals.
[Get started for free](https://app.thebricks.com/sign-up) |
| Readable Markdown | Creating a Profit and Loss statement from scratch in Excel can feel like a major hurdle, but it is one of the most powerful ways to understand your business's financial performance. This guide will walk you through the entire process, step by step, from organizing your raw data to building a polished and insightful financial report. We'll cover the essential formulas and best practices you need to confidently build a P&,L statement that drives smarter business decisions.
## What is a P&,L Statement?
A Profit and Loss (P&,L) statement, also known as an income statement, is a financial report that summarizes your business's revenues, costs, and expenses over a specific period - typically a month, a quarter, or a year. Its primary purpose is to show whether you made a profit or a loss during that time. It tells the story of your company’s financial operations from the top line (revenue) to the bottom line (net income).
Before building one, it’s crucial to understand its key components:
- **Revenue (or Sales):** The total amount of money your business earned from selling goods or services.
- **Cost of Goods Sold (COGS):** The direct costs associated with producing the goods or services you sold, including raw materials and direct labor costs.
- **Gross Profit:** Calculated by subtracting COGS from Revenue. It shows how much profit you make on your products or services before accounting for other operating expenses.
- **Operating Expenses (OpEx):** The costs required to run your business that are not directly tied to production, including expenses like rent, marketing, salaries of administrative staff, and utilities.
- **Operating Income:** Calculated by subtracting Operating Expenses from Gross Profit. This metric, often called Earnings Before Interest and Taxes (EBIT), shows the profit generated from core business operations.
- **Non-Operating Items:** Income or expenses from activities not related to your core business, such as interest earned on savings or interest paid on loans.
- **Net Income:** The final "bottom line." It is the total profit (or loss) after all revenues have been added and all expenses have been subtracted.
## Step 1: Get Your Data Ready
You can’t build a P&,L without clean, organized data. The most common source is a transaction log or an export from your accounting software. The goal is to have a simple, flat table of all your business transactions in one Excel sheet. Trying to build a P&,L from messy data is where most people get stuck.
Create a dedicated sheet in your Excel workbook named "Data" or "Transactions." Structure it with these essential columns:
- **Date:** The date of each transaction.
- **Description:** A brief note about the transaction (e.g., "Client XYZ - Project A," or "Monthly Office Rent").
- **Category:** Assign a high-level category to each transaction. This is the most critical step for an accurate P&,L. Examples include 'Sales Revenue', 'COGS-Materials', 'Marketing Expense', 'Salaries', 'Rent Expense', 'Interest Income'.
- **Amount:** The value of the transaction. You can use a single column with positive numbers for income and negative numbers for expenses, which often makes formulas simpler.
Being disciplined about categorizing every single transaction will save you countless hours of headaches later on. This tidy dataset will be the engine for your entire P&,L statement.
## Step 2: Set Up Your P&,L Template
Now, open a new sheet in your workbook and name it "P&,L Statement." This is where you will build the final report. The standard layout uses rows for your P&,L categories and columns for time periods.
Here’s how to structure it:
1. In Column A, list out the P&,L categories in the correct order as described earlier: Revenue, COGS, Gross Profit, then your various Operating Expenses, Total Operating Expenses, Operating Income, Non-Operating Items, and finally Net Income.
2. In row 1, list your time periods. For instance, start with "Jan," "Feb," "Mar" in cells B1, C1, D1, and so on. It's also wise to add a "YTD Total" (Year-to-Date Total) column at the end to sum up the periods.
## Step 3: Use Formulas to Populate Your P&,L
With your transaction "Data" sheet and P&,L structure ready, it's time to use formulas to pull the right numbers into your report. We'll primarily use the `SUMIFS` function, which is perfect for summing values based on multiple criteria (like category and date).
### Calculating Revenue
Let’s assume your "Data" sheet has transaction amounts in Column D, categories in Column C, and dates in Column A. To calculate the Total Revenue for January in a cell B4 on your P&,L sheet, you would use a formula like this:
`=SUMIFS(Data!D:D, Data!C:C, "Sales Revenue", Data!A:A, ">="&,[Start Date of Month], Data!A:A, "<,="&,[End Date of Month])`
To make this work in your actual sheet, you'll reference cells that contain the start and end dates for each month. For example, have a helper row above your months specifying the first and last day (e.g., cell B2 = 1/1/2024 and B3 = 1/31/2024).
The updated formula for revenue for January (in cell B4) would look like this:
`=SUMIFS(Data!D:D, Data!C:C, $A4, Data!A:A, ">="&,B$2, Data!A:A, "<,="&,B$3)`
By using mixed references with the dollar signs (\$), you can drag this formula across for other months and down for other categories.
### Calculating COGS and Operating Expenses
You can use the exact same `SUMIFS` logic for COGS and each of your individual Operating Expense line items. Simply drag your revenue formula down to the corresponding rows. As long as the category names in Column A of your P&,L sheet perfectly match the category names in your "Data" sheet, Excel will automatically sum the correct transactions.
For example, for Marketing Expense for January (in say, cell B10), the formula would automatically become:
`=SUMIFS(Data!D:D, Data!C:C, $A10, Data!A:A, ">="&,B$2, Data!A:A, "<,="&,B$3)`
### Calculating Summary Lines (Gross Profit, Net Income, etc.)
The remaining lines on your P&,L are simple arithmetic formulas:
- **Gross Profit =** Revenue - COGS
- **Total Operating Expenses =** `SUM(All of your individual expense lines)`
- **Operating Income =** Gross Profit - Total Operating Expenses
- **Net Income =** Operating Income + Non-Operating Income - Non-Operating Expenses. Your net income line should be a vibrant color, it's the star of the show\!
## Step 4: Enhance Your P&,L Statement for Deeper Insights
A basic P&,L is great, but adding a few analytical layers can transform it from a simple report into a strategic tool.
### Add "Percentage of Revenue" Analysis
Common-size analysis, which expresses each line item as a percentage of total revenue, helps you understand the "why" behind your numbers. It shows you where your money is going in relative terms. Add a new column next to each monthly total.
For COGS, the formula would be:
`=[COGS Amount] / [Revenue Amount]`
For example, if January’s revenue is in B4 and COGS is in B5, the formula in a new column would be `=B5/$B$4`. The dollar signs on \`\$B\$4\` ensure that when you drag the formula down for other expense categories, it always divides by the total revenue for that month. Format these cells as a percentage.
### Visualize Your Data with Charts
Dashboards in Excel can be clunky, but a few simple charts alongside your P&,L can make trends much easier to spot. Select your monthly Net Income data and insert a simple column chart to visualize profitability over time. A pie chart showing the breakdown of your operating expenses is another great option to see where your money is going.
While Excel charts can sometimes look dated without significant formatting, they are still a vast improvement over just a table of numbers for presentations.
### Use a Pivot Table for a Dynamic P&,L
For a more advanced and flexible approach, you can create your P&,L using a Pivot Table. Pivot Tables are fantastic for summarizing large datasets dynamically without complex formulas.
1. Select your entire table in your "Data" sheet.
2. Go to Insert \>, PivotTable.
3. Drag "Category" to the Rows area.
4. Drag "Date" to the Columns area (Excel will automatically group by months and years).
5. Drag "Amount" to the Values area.
This will instantly create a summary that looks very similar to your P&,L structure. You will still need to manually add calculated items for Gross Profit and Net Income, but it’s a much faster way to organize your report, especially if you have many categories.
## Final Thoughts
Building a well-structured P&,L statement in Excel is an invaluable skill that gives you complete clarity on your business's financial engine. By properly organizing your data, mastering functions like SUMIFS, and adding analytical layers like variance analysis, you can create a professional-grade report that empowers you to make smarter, data-driven decisions.
At Bricks, we know that while Excel is powerful, crafting these reports can be time-consuming and often requires hours of manual formatting to get right. That’s why we created an AI data analyst that automates this entire process. You can upload your raw transactional data as a simple CSV or Excel file, and our AI instantly prepares a beautiful, interactive dashboard, featuring a complete P&,L statement, key charts, and written insights - all in seconds. It allows you to skip the manual setup and still gain the insights you need to confidently report on your performance. Feel free to try [Bricks](https://app.thebricks.com/sign-up) for yourself. |
| Shard | 26 (laksa) |
| Root Hash | 10406004713661843226 |
| Unparsed URL | com,thebricks!www,/resources/how-to-create-a-p-l-statement-in-excel s443 |