This guide will discuss **how to use ChatGPT to build formulas in Excel**.

##### Table of Contents

Excel is a popular tool to use for different situations and purposes. Because it has built-in functions and tools, we can easily perform complex calculations, organize data, and analyze data.

However, we can have difficulty performing tasks in Excel when we are still determining the formulas we should use. Creating a formula to do the specific task we need can sometimes be a daunting thing to do.

Luckily, ChatGPT is available for us to use. And it can easily give us an Excel formula that we would need for any situation. So ChatGPT will help us create a formula based on what we need to do in our Excel worksheet.

Let’s take a sample scenario wherein we need to use ChatGPT to build formulas in Excel.

Suppose you want to use the IF function with three conditions. And this is the first time you are encountering this situation. But, you must figure out how to build the formula to input three conditions in the IF function.

So you went ahead and asked ChatGPT to build a formula using the IF function with three conditions. Afterward, ChatGPT will answer your question and return your needed formula. And now, you simply copy the formula and paste it into your worksheet.

Great! Now we can move on and dive into a real example of using ChatGPT to build formulas in Excel.

**A Real Example of Using ChatGPT to Build Formulas in Excel**

Let’s say we have a data set containing the list of employees and the departments they belong to. So we have two columns in our data set. First, we have the name of the employees. Second, we have their respective departments. And our initial data set would look like this:

So we want to create a sort of search engine beside our data set that would return the specific department an employee belongs to. For instance, we would input an employee in one cell and return the department they belong to in another cell.

However, we do not have any knowledge of how to create a formula that would allow us to search for a value in our data set and return a matching value. Hence, we can utilize ChatGPT to make our task easier.

So ChatGPT is an amazing answer-generating AI tool created by OpenAI. Furthermore, it is trained on a massive dataset of internet text that allows it to generate human-like responses to various topics. Additionally, it is still currently free to use for everyone.

To use ChatGPT, we only need to sign up and input our phone number. And we can now access the ChatGPT tool, which we can utilize to answer any questions we may have. More importantly, we can use it to build formulas for us to use in Excel.

In this case, we want to use ChatGPT to build a formula that would search for a specific value in the first column of our data set and return the matching value from the second column of our data set.

For instance, we will input an employee’s name, and the formula should return the department the employee belongs in.

Firstly, we need to create an instruction that specifies the cell locations of the data set, the value we are looking for, and where to return the department. Afterward, we will copy this instruction and paste it on ChatGPT.

Then, ChatGPT will build the formula that matches our instructions. Additionally, it will explain to us how to use the formula and other information. Next, we can go ahead and copy the formula ChatGPT built for us and paste it into our worksheet.

Thus, we have successfully completed our task using the formula ChatGPT built for us. So our final data set would look like this:

You can make your own copy of the spreadsheet above using the link attached below.

Amazing! Now we can proceed and discuss the steps of how to use ChatGPT to build formulas in Excel.

**How to Use ChatGPT to Build Formulas in Excel**

In this section, we will discuss the step-by-step process of how to use ChatGPT to build formulas in Excel. Furthermore, each step has detailed instructions and pictures to guide us along the process.

To apply this method to your work, simply follow the steps below.

1. Firstly, we need to create detailed instruction that specifies what we want the formula to do. And our instructions should include the necessary cell locations of the data set and values.

In this case, our instruction is “**Write an Excel formula that looks up the value in F1 in Column B and returns the value in Column C**”.

2. Secondly, we will copy our instructions. To do this, we must select the entire text and click **Ctrl **+** C**. Otherwise, we can also **right-click** and select **Copy**.

3. Thirdly, we will go to ChatGPT and paste the instructions in the space provided at the bottom. To do this, we can simply click **Ctrl **+ **V**. Otherwise, we can also **right-click** and select **Paste**. Then, we will click the paper plane icon to submit the instructions.

4. Afterward, ChatGPT will return a detailed answer to our inquiry, including the formula we would need. So we can simply copy the formula built by ChatGPT by** right-clicking** and selecting **Copy**.

5. Then, we will go back to our worksheet and paste the copied formula in the Formula bar. Lastly, we will press the **Enter **key to return the results.

6. Additionally, let’s test the formula provided by ChatGPT. To do this, let’s input another employee’s name in cell **F1**. If the formula is correct, the cell below should return the department the employee we inputted belongs to.

7. And tada! We have successfully used ChatGPT to build formulas in Excel.

And that’s pretty much it! We have successfully discussed how to use ChatGPT to build formulas in Excel. Now you can use this method whenever you need a formula but have no idea how to build them. Certainly, this will make your work easier and faster.

Are you interested in learning more about what Excel can do? You can now use the various other Microsoft Excel formulas available to create great worksheets that work for you. Make sure to subscribe to our newsletter to be the first to know about the latest guides and tutorials from us.