How to Create an Income and Expense Report in Excel with AI

Cody Schneider

Tracking your money doesn't have to be a chore, and an income and expense report is your best tool for seeing exactly where your cash is going. Building one in Excel is a classic move, but now you can use AI to make the process faster, smarter, and way less tedious. This guide will walk you through setting up a report from scratch in Excel and show you how to let AI do the heavy lifting.

Why Income and Expense Reports Are Useful

Before diving into a spreadsheet, it’s worth a quick reminder why this report is indispensable for your business, freelance activity, or personal finance. Properly tracking your money - where it comes from and where it goes - allows you to manage various aspects that people or organizations tend to overlook. Here's a brief breakdown of the benefits of staying on top of your income versus expenses game.

  • Full Financial Picture: You gain a powerful bird's eye view of your finances with no unpleasant surprises.

  • Better Decisions: Understanding where "extra" cash is allocated at the end of the month allows you to reconsider spending habits and detect unnecessary recurring payments to services you may have forgotten.

  • Tax Time Relief: Categorizing tax-deductible expenses throughout the year can save you significant money during tax season and spare you the headache of sorting through a year's worth of receipts.

Set Up Your Excel Sheet for Success

AI is smart, but it's not a mind reader. It works best with clean, well-organized data. A bit of prep work now will save you a massive headache later. The goal is to create a simple, flat table where you log every single transaction.

Start with a new Excel worksheet and name the tab something clear, like "Transactions" or "Data Entry." Then, create these column headers:

  • Date: The date the transaction occurred. Use a consistent format like MM/DD/YYYY.

  • Description: A brief note about what the transaction was (e.g., "Client Payment," "Office Supplies," "Monthly Software Subscription").

  • Category: Assign a category to each transaction (e.g., "Client Revenue," "Utilities," "Marketing," "Salaries"). Be consistent!

  • Income: If the transaction involves money coming in, enter the amount here.

  • Expense: If the transaction involves money going out, enter the amount here.

Your table should look something like this:

Date

Description

Category

Income

Expense

01/05/2024

Project A Final Payment

Client Revenue

€5,000

01/07/2024

Adobe Creative Cloud

Software

€59.99

01/10/2024

WeWork Office Space

Rent

€450.00

01/15/2024

New Client Retainer

Client Revenue

€2,500

01/22/2024

Freelance Writer Payout

Contractors

€750.00

Pro Tip: Format your data as a table by selecting a cell within your data and pressing Ctrl + T (or Cmd + T on Mac). This makes formulas and charts automatically expand as you add new rows, which is a lifesaver.

Creating the Report: The "Old School" Excel Way

Before bringing in the AI, let's quickly build a basic report using traditional Excel formulas. This gives you a foundation and helps you understand what the AI will automate.

On a new worksheet named "Summary," you'll build your report.

Step 1: Get a Unique List of Categories

You need to list all your income and expense categories. You could type them out manually, but it's better to pull them dynamically from your data. Use the UNIQUE formula:

=UNIQUE(Transactions!C2:C1000)

Just adjust C2:C1000 to cover all potential rows in your "Transactions" sheet. This formula will instantly create a list of all your categories without any duplicates.

Step 2: Sum Income and Expenses for Each Category

Now, let's pull the numbers. The SUMIF formula is perfect for this. In the cell next to your first category, you'll use it to tally all the income associated with that category name.

If your categories list starts in cell A2 of your "Summary" sheet, the formula for your Income column would be:

=SUMIF(Transactions!C:C, A2, Transactions!D:D)

And for the Expense column:

=SUMIF(Transactions!C:C, A2, Transactions!E:E)

Drag these formulas down to apply them to all your categories.

Step 3: Calculate Your Totals

At the bottom of your report, use the SUM formula to get totals for your income and expense columns. Then, subtract your total expenses from your total income to find your Net Income or Loss. It’s that simple!

=SUM(B2:B20) - SUM(C2:C20)

Bringing AI into the Mix with Excel's Built-In Tools

This is where things get fun and a whole lot faster. Modern versions of Excel (especially with a Microsoft 365 subscription) are loaded with AI features that streamline this whole process.

Analyze Data (Formerly "Ideas")

This is one of the easiest AI wins in Excel. Go to your "Transactions" tab, click anywhere inside your data table, and on the "Home" tab, click the Analyze Data button on the far right.

A pane will open up on the side of your screen. Excel’s AI automatically scans your data and suggests various insights, charts, and even PivotTables that summarize your data exactly how you want them. It might automatically create a view showing "Sum of Expense by Category," which is most of the report you want to build but done with a single click. You can click on any of these suggestions to insert them directly into your workbook.

Even better, you can ask questions directly in plain English in the provided box at the top of the Analyze Data sidebar section. Type something like:

  • "What's the total expense for the 'Software' category?"

  • "Show me total income per category as a pie chart."

  • "Which date had the highest spending?"

And a correct and adequate answer will be generated, no formula-writing needed from your end - this feels quite magical indeed.

Using Microsoft Copilot for Next-Level AI Reports

For users enjoying the Microsoft 365 subscription, you have an incredible AI tool called Copilot that is fully integrated inside your Excel sheets. It acts as your personal data analyst and will do complex tasks in seconds based only on a description of what you want it to perform. Imagine having ChatGPT directly inside Excel.

This works very similarly to any large language model (LLM) with a prompt-based interface. You just write textual commands telling Copilot specifically what you would like it to do, and it will execute from building tables and charts to even writing complex formulas and VBA macro code to automate processes.

  • "Based on the data in the ‘Transactions’ sheet, create a summary table that shows the total income and total expense for each category."

  • "Generate a bar chart comparing monthly income with monthly expenses over the past six months."

  • "Add a new column that calculates the difference between the Income and Expense columns for each category and label it 'Net'."

  • "Highlight any expenses above €50 in red."

What makes Copilot so powerful is that it understands context. It reads and remembers your file structure and the kind of data you're working with, so your prompts can be conversational instead of technical.

Using a Conversational AI Assistant like ChatGPT for Formula and Code Generation

What if you don't have access to Copilot? No problem. You can still get almost the same level of assistance from ChatGPT, Claude, or Gemini by copying and pasting samples of your sheet's structure and asking, for example, to generate cell formulas for you to use or what would be the best chart to display that kind of information.

Generating the Formulas You Need

You can describe your data table structure and your goal with a text prompt, and ChatGPT can provide the exact formula to copy/paste into your Excel sheet with a small example:

Sample Prompt: “I have an Excel workbook with a sheet named 'Transactions' that has columns for 'Date', 'Description', ‘Category’, 'Income', and ‘Expense'. On the 'Summary' sheet, I want to list all unique categories in column A. Then in the column beside them (B), I need a formula to add up all the income for that category from my 'Transactions' sheet. What formula can I use?”

ChatGPT will likely give you back a SUMIF or SUMIFS formula exactly tailored to your needs. It can be particularly useful for generating more complex formulas that are more time-consuming and harder to write, or even for debugging ones that are not working properly.

Make Your Report Shine with Data Visualizations: Charts!

Numbers in a table are good, but charts are much better for an instant understanding of where your money is going. If you have Copilot access, you can just ask it to create a chart by writing a prompt like:

"Create a pie chart showing the breakdown of expenses by category."

You can also use Excel’s built-in AI-powered "Recommended Charts" feature, which can be found in the "Insert" tab. This tool is already a great start by suggesting the best type of chart that would most effectively represent the data you’ve selected, and then you can customize further with a variety of design and color options.

Final Thoughts

Building an income and expense report in Excel is a fundamental business skill, and AI has completely changed the game. What used to involve manual data entry and tricky formulas can now be done with a few clicks or a simple sentence. Tools like Excel’s own Analyze Data feature, Copilot, or even ChatGPT can handle the heavy lifting, saving you time and empowering you to get answers from your financial data a lot faster and more intuitively.

As you'll quickly realize, the hardest part is not the Excel manipulations by themselves, but consistently gathering and cleaning all of your transaction data that is often scattered across multiple platforms like QuickBooks, your banking accounts, Stripe, PayPal, and more. And that’s where tools like Graphed can really make a big difference. At Graphed, we solve this problem by connecting directly to all of your data sources to automatically create live and refreshed dashboards in which you can then ask questions in plain English, just like Copilot but in a slightly different, more concentrated way. Instead of spending time wrangling with CSV exports and manual updates, our AI platform allows for creating and analyzing any type of report in seconds so that you can dedicate all your time to what matters most: growing your business with properly informed decisions.