Community Inspiration
Inspired by this community topic asking for a modification to the Yearly Budget sheet I tried out the new Claude for Sheets Google Workspace Add-on and modified the Simple P&L to do what the community member was asking: include budget vs actual on a year to date time frame.
The build conversation
I started in a Google Sheet with a dataset that was using my personal data and used this prompt to start this project:
Can you re-work this simple P&L to include a picker option in Q4 that has “Actuals only” and “Budget vs Actuals” as 2 options and then have the output starting in B7 and onward reflect the user’s selection in Q4. When it’s actuals only use the existing template’s output, when Budget vs actuals add columns necessary to show the user’s budget, actuals, and difference for each of the periods based on what’s selected in the time setting picker in E2:F2
Iterating from there with Claude we worked out a few UX issues. It pretty easily added the budget, actual, and diff columns for each period month, but then that left us with a couple blank columns in the “total” section to the left when the Budget vs Actual option was selected.
So I asked:
it looks like there aren’t any budget/actual diff options in the overall summary section B:C - can you add that too ?
The initial version it came up with added the budget and diff columns for the overall totals, but it didn’t include anything in those columns when Actuals only were selected, which leaves me wanting more.
The only thing I don’t love is that when it’s set to actuals there are those 2 blank columns D and E. Any ideas on options to address that? I know it’s probably because of the frozen columns?
It proposed a few options and we went with the first option that Claude proposed.
Use D:E for something useful in Actuals only mode (my pick). For example, show Avg / Period in D and % of Income in E. Nothing goes blank, the layout stays put, and these two numbers are handy on a P&L anyway.
There was a bit more iteration because how it was calculating things didn’t quite makes sense for the use case. I really liked the comparison over prior period idea it was proposing, but found an issue with it that would be confusing.
one thing about the comparison column for actuals is that the data in C and D is for the total (year to date in this case) but the comparison is just for a single month. Can we make the comparison for the entire period compared to the prior period. So if it’s year to date, we’d compare the same number of months from the last period, right? Recognizing all the data may not be there, but assuming it was.
It got to work and we landed on pretty much the final solution. Since it was using my personal data, I didn’t want to share screenshots or the sheet so I created a sample data sheet for a fictional photography business. I knew I wanted to do a screen recording for a video so I was going to have to redo everything. So I asked Claude to help me with the prompt based on what we’d done.
can you summarize what we did here into a prompt that I could paste into a new chat in a different sheet and achieve the same result? I’m trying to record this as a video demo to show off your skills in this new add-on but this was in a sheet with some personal data so I need to re-record in a different data set and want the prompt to be really precise so we don’t have so much back and forth in the next cut. Make sense?
It shared a neatly organized prompt and even gave me some tips for when I do the screen recording, acknowledging that its build process may be a little slow.
I had it double check against my sample dataset for any issues and it spotted some gaps or inconsistencies. I asked it to clean up the data, adding more dummy transactions, budget values in the Categories sheet, and it did a great job mimicking patterns!
Can you add some more realistic transactions to the dataset for the months where it looks light or unrealistic and add enough transaction data to make the new version of the simple P&L work well to show off all the features we built including adding budgets in the categories sheet for 2025 that are missing?
I did a test run in a brand new spreadsheet and we made some modifications to the prompt based on that test run, including moving the picker to a new location (it was too far right and didn’t match the existing design), and making sure that prompt included details about the structure of the template itself, which would speed up the build a little bit.
The results
You can see it here in a demo dataset: Testing Claude's Template Modification Skills - Google Sheets
Feel free to copy the Simple P&L w Budgets tab into your own spreadsheet.
I wrote up a post about how I did this + the video is on YouTube here: Putting The Claude For Google Sheets Add-on To The Test - Tiller
You can read a summarized transcript of the conversation here.
Using Claude for Sheets to update the P&L template from Tiller
Accuracy
I didn’t validate the date meticulously, just spot checked a few of the values against a pivot table and the Monthly Budget sheet. So if you decide to pull in this version, do so with caution, and always double check the values you’re getting.
If you find errors feel free to let me know or use an AI tool to help you fix them ![]()




