Chris Hatzis:
Excel Tips, a CPA Australia podcast.
Neale Blackwood:
Welcome to the Excel Tips podcast. My name is Neil Blackwood, and in this episode we're talking about Excel, AI, Copilot in this case, and also data analysis. So following on from last month where I sort of introduced Copilot in Excel and the interface and the various parts to it, I thought I'd try out some ATO publicly available data.
So I downloaded three years' worth of data from the ATO. There was over 7,000 rows and about 165 columns of data. So I brought it all in. So that's over a million data points, and I thought that would be a good test for Copilot.
Okay, so I had my ATO data and then I had dot rules sheet set up and I had my prompt set up. And so I ran that and I based the article on that time running the AI. Now, when I recorded the video, I had the same data, the same rule sheet, and the same prompt, but I got very different results.
I'd say the first run was better. They were about a month apart, I guess, between actually writing the article and recording the video. You can check out the companion video to see the comparison where I show the original result and then we go through building the second result in the video. The article version probably had fewer issues. It had some very long and complex formulas that Copilot created.
The video version had fewer reports and the formulas were shorter. When you're using AI, that's one thing that does become apparent is it is inconsistent when you run the same prompt over the same data.
So I don't know if one of the options is actually to maybe just run the AI over your data three or four times and then pick the best result and then use that result going forward to actually iterate with the Copilot to improve it because that's what's required. It's not going to give you the perfect result the first time. You need to use some back and forth to actually get exactly what you want.
Some things to look out for when you are building a model using Copilot, keyed in values to formulas. So these values don't change, and one of my rules was don't have keyed in values to formulas, always have an input cell for these values. And in general, it sort of followed that rule, but there were a couple of times that it didn't follow the rule and it tends to be around arbitrary parameters that Copilot sets.
So one of them was for outliers. So there is a statistical measure called a z-score. So it's basically across a normal distribution, so the good old-fashioned bell curve. Normally the outliers are defined as three standard deviations away from the mean, and that's the z-score. So the z-score is how many standard deviations away from the mean, and it keyed in two in one of the examples.
In another example, it actually had it as an input, so you could change it from two to three very easily. Another thing that it tends to key in is if it's giving you a top 10 or a top 15, that tends to be keyed in to the formula rather than an input cell, which would be useful if you did have that figure as a changeable value. Another thing to look out for are hidden sheets. So both times that I ran the prompt, it did create hidden sheets.
In the article version, the hidden sheet actually had a mapping table in there, which it used to allow you to select the various metrics that you wanted to select because the column headings in the ATO data were a bit obscure or they had some extra characters in them. And so it had a mapping table so you could select a metric and then that would map to a certain column within the data. The video version didn't have a mapping table, but it did have a hidden sheet basically just to hold the dropdown lists for the various dropdown cells that it used for inputs.
One thing that did surprise me is that so far in all of the models that I've created with AI, none of them have included pivot tables. That's actually a good thing for checking because you could then run a pivot table over your data to actually check the formula driven reports that the AI does generate.
But it did surprise me that pivot tables weren't used as part of the solution because they are quite easy to set up and also with slices, they are easy to filter. So just an update on some of the new things that are coming through for Copilot. So I mentioned in the previous podcast that Power Query can't be edited by Copilot, and I've seen some posts recently that they have released in the beta version the ability for Copilot to actually edit Power Query queries so that it can make the changes for you without you having to do the copying and pasting.
There's also skills are an area that is getting bigger in AI where you can define certain skills that the AI uses to perform a certain task. These are a separate document that's kept in a separate folder on OneDrive or SharePoint, and that's the skills that the AI uses to produce a certain output.
So Copilot keeps changing quickly. One thing that so far is consistent is that it's inconsistent. So in the short term, if you're looking to automate and you want the automation to be consistent, it's probably better to get the AI to write the VBA macro code or your power queries to import the data. Those technologies are fairly old and they are reliable, and they don't require you to use any AI tokens to actually run them.
So you use the tokens to build the automation and then you can just run them as you would normally. So Copilot can build Excel files remarkably quickly. In most cases, they give you a good first draught, but as I mentioned, it might be worth, instead of trying to grab the first one it does and try to modify that one, maybe run your prompts three or four times and keep each of the versions and then try and figure out which of those versions is a best first draught and then use that one to iterate with Copilot to actually build your models.
Thanks for listening.
Jackie Blondell:
If you're enjoying this podcast, you should check out our in-depth business and finance show INTHEBLACK. Search for INTHEBLACK on your favourite podcast app today.