how to leverage chatgpt in advisory work

learn the language of commands and prompts. and check the math.

by sandi leyva

the generative ai model chatgpt, developed by openai, has been out for over a year. yet, roughly half of the accounting professionals taking my chatgpt webinars haven’t found the time to try it out yet. in this article, i want to give you a sneak peek into just one of the many tasks chatgpt can perform for you to shorten your day potentially.

check out our courses on chatgpt,
offered as a deep discount bundle or separately.
webinar schedule:
more chaptgpt here

let’s say you have a client with some advisory questions. they want to know the answers to the following four questions based on sales data for a particular period:

  1. who is my largest client?
  2. which product sold the most?
  3. which month did the best?
  4. was there a day of the week that performed better than others?

how long would this take you to complete in excel (especially question 4?)  in chatgpt, it takes less than ten minutes, and here is a partial peek at the results:

chatgpt output:

to summarize:

your largest client is “kookies by kathy.”

the product that sold the most in quantity is “d.”

the month with the highest sales is january.

the best-performing day of the week in terms of sales is saturday.

is there anything else you’d like to explore or other questions regarding the dataset??

when i asked, this was one of four graphs it generated for me.

it also generated an excel file of the graphs in separate sheets with the native data so i could edit them. please note that i am working with test data; entering real customer names into the very public chatgpt app is never appropriate.

here’s what i did in detail using the model called chatgpt 4.0 with analysis, a paid version (a whopping $20/month), available at openai.com.

first, you need a file of sales data that includes customer, product, quantity, product price, date, and optionally, order or invoice number. surprise! chatgpt 4.0 and the beta model chatgpt, with plug-ins, can read, edit, and create many files, including microsoft formatted files, pdfs, numerous graphic types, and more. (chatgpt 3.5, the free version, cannot read files.)

since i am working with test data, i asked chatgpt to generate a file of sales orders for me based on the given parameters. if you want to work with live client data in the very public tool chatgpt, you’ll need to anonymize the data to protect your clients. that means using customer numbers instead of names, stripping out phone numbers, emails, and addresses, substituting product codes instead of descriptions, etc. if your company has acquired a private enterprise model of chatgpt, you may not have this constraint; ask your ai officer for your usage policy.

second, you must write the command or prompt you’ll give chatgpt to execute the task.

here’s mine:

provide an analysis of this file of sales orders. some questions i would be intrigued by include: who is my largest client; which product sold the most; which month did the best? was there a day of the week that performed better than others?

you can see that you don’t have to tell chatgpt how to compute these, you don’t have to map the data columns, and you don’t have to define a bunch of stuff. this prompt worked for me in the august through october 2023 time frame.

another prompt did better in december:

can you read and parse this file?

the follow-up prompt was the same:

some questions i would be intrigued by include: who is my largest client; which product sold the most; which month did the best? was there a day of the week that performed better than others? let’s think step by step.

one of many things that makes chatgpt interesting is that it is non-deterministic. it is a fancy word because it generates a different answer every time, even if you feed it the identical prompt. a very important thing to remember about chatgpt is that its results are based on patterns, not logic. therefore, unless it writes a computer program to perform this analysis which will infuse the logic we need into its answer, it will get the math wrong.

as chatgpt processes the prompt, it will show its work, including the code for all computer programs it writes to generate the output.

in december, it gave me one graphic file of all four graphs and here is a screen print of the partial output.

the time-consuming part of this application for live client data would be merging the anonymized data into something presentable to the client. as the expert, you will also need to check chatgpt’s work because there are times, especially with math, when the program generates the wrong answer, called hallucinations.

only you can determine whether chatgpt will save you time with this application. but the most important piece of knowledge i’d like you to take away from this article is that chatgpt can do this task in the first place, along with millions of other tasks relevant to tax and accounting work. and it does it in an easy-to-learn user interface with a conversational chat.