The pivot table that runs my whole P&L




Stop Retyping the Same Finance Emails Every Month

SPONSORED BY WISPR FLOW NOTETAKER

Some finance emails go out every month almost word for word: the close calendar, the receipt reminder, the budget update request.

Wispr Flow is a voice-to-text tool, so you can say those emails, which is much faster than typing. It cleans filler and fixes mid-sentence corrections, so more of what you say comes out right, including the vendor names in your dictionary.

You can also save monthly messages as snippets. Say "receipt reminder" and Wispr Flow types the whole message into Outlook, Gmail or any other app and across Mac, Windows, iPhone, and Android.

It's free to use with a weekly word limit, and the button below gets you a free month of Wispr Flow Pro with unlimited words.

​

Hey Reader,

I was trying to add one row to a P&L pivot table.

Gross profit.

And Excel threw a really annoying error message at me.

So I deleted the whole pivot table and started again 😅

Here's the thing though… one pivot table can run your whole P&L, your budget vs actuals and your month over month.

Because there are 4 levels of pivot tables, and each one handles something the level before it can't.

And the way around those error messages was sitting in the source data.

In the video I build all of them from scratch.


It starts with a raw general ledger export and ends with a P&L you can filter by department and month, with budget vs actuals and month over month right beside it.

​

Alright, so let me start where pretty much everybody starts.

A general ledger export from your accounting software. Mine had every transaction from 2024 all the way through 2026.

Account goes in the rows, amount goes in the values, and the date goes across the columns.

Excel even groups the dates for you, so you can open up any year, quarter or month.

Then I nest each vendor under its account and make class a filter at the top.

Now I can see every single account, and exactly how much I spent with each vendor inside it.

But here's the part I really want you to get.

Double click any number, and Excel opens a new sheet with every transaction behind it.

Anytime you hear the word drill down, your mind should instantly go to a pivot table.

Before I ask a department head for budget numbers, this is the view I show them. Exactly where their money has been going.

One more trick. Switch the layout to tabular and turn on repeat all item labels.

Now every row carries its own account and vendor, which makes it really easy to upload into another system or a database.

I also tried ungrouping the dates so it showed every single day.

That was a little bit much… Ctrl Z.


Okay, so Level 1 is great for digging. But it doesn't look like anything you'd hand to your CEO.

Level 2 is where it starts to look like a real P&L.

This time every row is an account in a month, tagged with its section, its summary grouping and its department.

Section goes in first, then summary grouping, then account. So revenue and operating expenses open up into groups, and then into individual accounts.

Then a timeline goes up top to pick the months, and a slicer to pick the department.

Now the neat part.

I copy the pivot table, filter the copy to operating expenses, and turn it into a pie chart.

Pick August on the timeline, and both of them update. Same with the department slicer.

And they're two completely separate pivot tables.

That's report connections. Right click the slicer, choose report connections, and tick every pivot table you want it to control.

I walk through the whole setup in the video if you want to see every click.


Alright. This is the level where pivot tables start fighting back.

My Level 2 P&L was missing gross profit, net operating income and net income.

The built in way to add them is a calculated item. You click into the section field and write the formula, income minus cost of goods sold.

That's where I got the annoying message from the top of this email.

So I rebuilt it with just the section field, and this time the calculated items worked.

Then I added the accounts back in… and Excel filled my calculated rows with a pile of zero values.

A value filter set to "does not equal zero" cleans that up.

Then I tried to show the same number twice, to compare periods. Another error.

This is another really big reason why I don't like calculated items.

So here's what I do instead.

I bake gross profit, net operating income and net other income straight into the source data, as rows of their own.

The pivot table reads them like any other line, and you get around those annoying calculated items completely.

That's the trick I mentioned at the top.

From there you can add month over month: show values as, difference from, previous month.

And now we are cooking.

It's still not perfect though. Percent of income only worked at the section level, not for the summary groupings or the accounts.

Oh man, these pivot tables are just so stubborn.

I show every one of these quirks in the video, so you know exactly where they'll bite you.


Okay, so how do you get a pivot table to stop being stubborn?

You move up to Power Pivot.

Instead of one flat table, you connect your actuals, your budget, your transactions and your account mapping with relationships.

Then gross profit, operating income, net income and your margins become DAX measures, which are formulas that live inside Power Pivot instead of in a cell.

And one pivot table covers all of it. Budget vs actuals, month over month, department slicers, timelines, and a drill through to the transactions behind any number.

DAX handles a lot of what Level 3 fights you on.

So a lot less deleting the whole thing and starting again.

Now, I'll be honest with you. I personally am the biggest fan of a really well structured spreadsheet with the proper formulas.

But if your P&L is going to live in a pivot table, Level 4 is the one to aim for.

I build the Level 4 report in the video if you want to see it come together.

Now look, a pivot table can only build your P&L if every account from your accounting software is tagged to the right line, like revenue, cost of goods sold or operating expenses.

And every month, the new numbers need that same tagging before the pivot table can use them.

That setup is a big reason I built Model Wiz.

It connects to your accounting software, builds your financial model in Excel, and rolls it forward each month.

If you'd like to see how it works, you can book a demo here.

Josh
Your CFO Guy

Quick note: While I love sharing my finance & accounting knowledge, remember I'm Your CFO Guy, not Your Personal CFO. Everything I share comes from my experience, but each business is unique. My content is educational, not professional advice - always consult with your own qualified advisors for decisions about your specific situation.


Did you enjoy this email?

​

When you’re ready, here are a few ways in which I can help you:

Templates For Every Use Case​

Transform your financial data into stunning, professional dashboards that impress stakeholders and simplify decision-making.

Access 80+ ready-to-use templates for accounting, FP&A, and Excel, designed by CFOs to help you present complex financial information with clarity and impact.

Build a future-proof career in Finance & Accounting with The Board Room

Join a community of finance & accounting professionals solving real problems together.

Get access to monthly mastermind sessions where we tackle everything from Excel mastery to FP&A secrets - all pulled directly from my experience as a fractional CFO.

Perfect for accountants and finance pros who want to level up their career and learn from peers who've been there.

Excel: From Basics to Mastery

Transform from Excel novice to a confident power user with this comprehensive course. Learn every feature across Excel's tabs while building practical skills that will save you hours and advance your career.

Watch Me Build Pro Financial Dashboards

I'll show you exactly how I build the dashboards I use with my 40+ startup clients.

Follow along as I guide you through every click and formula, turning your financial data into stunning executive-ready reports.


Josh (Your CFO Guy)
​
Fractional CFO for Startups | Founder & CEO at Mighty Digits

This email is part of my weekly newsletter, Excel for CFOs.
If you no longer want to receive emails on this topic, or if you want to subscribe to other Finance & Accounting topics, you can do so over
here.


Looking to change the frequency of emails, or unsubscribe?

​​Click here to manage your preferences​

​​Unsubscribe me from everything​

Your CFO Guy

NEW YORK, United States of America

​

Daily Finance & Accounting Tips

Sign up now to join a community of 80,000+ people who receive my curated selection of the most exciting and thought-provoking content straight to your inbox every week!

Read more from Daily Finance & Accounting Tips

Try ChatGPT for Accounting on Your Next Month-End Close ChatGPT for Accounting prepares invoice entries, bank reconciliations, and a first draft of your monthly report. It flags anything unclear for you to review. Download ChatGPT for desktop, install the Accounting plugin, and try an accounting task on your next close. OpenAI was nice enough to sponsor this email. #OpenAIPartner #ad Try an accounting task Hey Reader, OpenAI recently released ChatGPT for Accounting. They say it means less...

Who Takes Notes When the Meeting Isn’t on a Call? SPONSORED BY WISPR FLOW NOTETAKER When a meeting happens in person, someone usually ends up typing notes on a laptop instead of listening. Wispr Flow Notetaker is now on iPhone, so you tap once, leave your phone on the table, and stay in the conversation. After the meeting, you get a notification when your transcript is ready, along with a summary you can send. The same note also shows up in the Notetaker app for Mac and Windows, which takes...

Dictate Your Emails Without Raising Your Voice SPONSORED BY WISPR FLOW NOTETAKER Voice to text sounds great until you're whispering at your desk next to a colleague on a call. Wispr Flow is a voice to text tool with its own speech model, called Canto. On hard audio (music, traffic, wind, nearby voices, whispering), Canto had the lowest error rate among real time models tested. And on 10 hours of real Wispr Flow dictations from 2,300+ speakers, it had the lowest word error rate of every model...