Unlock Power of ChatGPT for Excel: Creating Spreadsheets with Sample Data

Kenneth Lo, PMP
Unlocking ChatGPT
Published in
2 min readApr 11



Are you tired of spending hours creating Excel spreadsheets? Look no further than ChatGPT, the AI language model that can help you create custom spreadsheets with pre-made sample data and XLOOKUP (a modern replacement for VLOOKUP).

In this blog post, we’ll continue to build upon the launch of our fictitious mobile pet salon and show you how to unlock the power of ChatGPT for Excel and revolutionize your data entry mastery. Let’s dive in!

Step 1: Customers are Kings

Looking to collect your customers’ contact information but don’t want to keep it all in your head? Fear not! Let’s build a Contacts table to keep it all organized — and you won’t even need a Rolodex!

Make a Contacts table to store customer information. Columns are 
CustomerID (5 digits long), FirstName, LastName, Email. Add 8 samples.
Ensure email addresses contain different domains.

Step 2: Tongue-Twisting Products

Are you having a hard time remembering all those ridiculous pet grooming product names? Let’s create a Products table to track all those fancy, tongue-twisting names. Don’t worry, we won’t judge if you still can’t pronounce them.

Make a Products table to store pet grooming products. Columns are SKU 
(4 digits long), ProductName, UnitPrice. Add 5 samples. Let's have some
fun naming these products.

Step 3: Always be Closing

Say goodbye to the hassle of fax orders and handwritten notes. Get ready for an easier, more organized way to keep track of all your transactions.

Make an Orders table to store purchase details. Columns are OrderID 
(3 digits long), SKU, CustomerID, Quantity, Add 10 samples. Only use SKU
and CustomerID values already shown above.

Step 4: Help Me Help You

Let’s take a step back and admire the big picture. Well link the different information together to calculate gross revenue for each order. It’s time to unleash your inner spreadsheet wizard!

Make a Sales spreadsheet, only show these columns: FirstName, LastName, 
Email, ProductName, Quantity, UnitPrice, GrossRevenue. Sort by highest

[BONUS]: XLOOKUP on the Throne

The XLOOKUP function in Excel is a newer and more advanced version of the VLOOKUP function, with several key advantages. It allows you to perform lookups in either direction, search for partial matches, and perform exact matches without sorting the lookup table. Overall, XLOOKUP is more versatile and easier to use than VLOOKUP.

Help me build formulas to create the spreadsheet above using XLOOKUP 
instead of VLOOKUP.


Originally published at https://kennethlo.ai