transcript

Collaboration Simplified - Major COPILOT in EXCEL Advancements! Now Everyone Can Be an Excel EXPERT

Thumbnail of the video “Collaboration Simplified - Major COPILOT in EXCEL Advancements! Now Everyone Can Be an Excel EXPERT”
Download Markdown
Community upload. AI output has not been independently verified.

Intro

Today we're going to learn how to master Copilot inside Microsoft Excel. We'll start off by preparing our Excel document before using Copilot and then move on to where to find Excel prompts and how to interact with Copilot in Excel. Both simple interactions and more complex ones using Python. Don't worry, you don't need to be an Excel formula wiz or a Python coder. We'll even have Copilot create charts for us and color code our data using conditional formatting.

Welcome to Collaboration Simplified. My name is Shervin Chaffy and I work at Microsoft as a Copilot Principal Technical Specialist. Before we continue, please give this video a like as it really does help the channel. Thank you very much for your support.

Getting Started

All right, we're going to fire up Microsoft Excel. And I want to first explain this Excel spreadsheet that we're looking at together. It's for human resources and it has a variety of different data that I've put together, and it's all fictitious data, so don't look into it too much. But basically it's for human resources. It has people's names and their job titles, when they started, when we expect them to retire, how many years they've been with the company, their salary, their performance level out of 10, their pay range, whether they're at risk of leaving the company, whether they're a manager, what their team attrition rate is, how many people leave the company, what percentage of their training they've completed, their PTO balance, and their work-life balance score out of 10. So it has some interesting data. I'm not an HR person, but I guess there's information like this out there for people. If you're in HR, let us know if there's information like this you have on us.

Setting up the Excel Document

Now, before I get going, I wanted to show you one thing real quick. This is a pro tip: notice that all of this is actually in table form in Excel. If it wasn't in table form, it would look like something like this. What I have noticed is that if I don't have data in table form and I interact with Copilot, sometimes the responses are not that good, or I might even get errors. I don't know why that is, but my suggestion is when you have an Excel document, simply go from the beginning all the way to the end, highlight it, then move over to Insert Table and just select OK. It turns this into a table and now you can start interacting with it. So just do that before you start doing anything with Copilot.

How to interact with Copilot

Looking at our Excel document that's in table form, you'll see that you can interact with Copilot in a variety of different ways. First of all, when I select any cell, you'll see this Copilot icon, and when I click on it, it gives me options that I can select. That's one way of interacting with Copilot.

The other way is that if we go to our Home icon up top, you'll see Copilot on the top right-hand side show up inside Excel. So you can select Copilot and start interacting with it right from here. Right away you'll see prompts like "create a table" or "create a total row," all kinds of auto prompts that give you ideas on how to interact with Copilot. You can select more examples and keep getting different ones. This is what I love about Copilot in Excel, because it guides you through all the things that you can do.

On the bottom right-hand side, we have icons for adding an image, viewing prompts, managing content, and using the microphone. If I highlight this over here, these are what the icons look like. Over here is where you start typing in your custom prompts if you want to. Copilot always gives you suggestions of things you can run, like showing data insights and so on.

Finding Copilot for Excel Prompts

One of the things I like to do is select View Prompts, and Microsoft does a great job of showing you different prompts that you can execute within Excel. There are so many things, like highlighting data, getting column information, visualizing relative values. All this really good stuff.

However, on the bottom right-hand side there's a section called See All Prompts. When you select that, it takes you to the Copilot Prompt Gallery. Over here you can find prompts not only for Excel, but also for Word, PowerPoint, OneNote, Outlook, Teams, and so on. When you select this application dropdown, you can also filter based on task or job title. You select the application, then select Excel, and you see all these different Excel prompts you can use. At the bottom, you can click Show More. There are so many different kinds.

You'll notice there's a ribbon icon you can select to save your prompt. Some of them I've already saved. What this does is take the prompts you save, kind of like bookmarking inside a web browser, and put them into your prompts. These are some of the ones I've saved inside my Excel, and we'll be using some of these for the Copilot demo.

Using Copilot to Highlight certain data

Let's go back to the Excel spreadsheet and select Your Prompts, which are basically my prompts, the ones I bookmark for myself. One of the things I'll do very simply is highlight the data. I selected "highlight" and then the rest I have to fill out on the bottom here myself. So I'm going to say "highlight the top five salaries." Something simple like that. Copilot will understand that I'm referring to the salary column, look at the top five, analyze it, and then highlight it for us. It's going to use yellow and black for the background and the font. If this looks good, I simply select Apply and it executes that for me.

Here it is. Someone makes 132,000, 138, 132, 136, and 226. Wow, that's a good salary. On the bottom right, it gives us additional information, like "bold the first column," which is an option, or "show items with the pay range of 70 to 80." It gives you ideas of things to do next.

Conditional formatting with Copilot

Next, I'm going to close this Copilot window on the right, hover over Salaries, click on it, and click on Copilot. Here's an interesting one: "Suggest conditional formatting." I'll click on that. It opens Copilot and gives us some options. Highlight sales and salary when the name starts with Patricia. Highlight rows when cells are greater than 100,000. Let's select any salaries higher than 100. You may notice it's automatically creating these formulas, so you don't have to be a formula wiz anymore. If it looks good, just select Apply, and anything over 100K is highlighted for us.

Entering a custom Copilot prompt

Now you can get a little fancy. At the bottom, let's create something custom: "Show me all the people that make over 100,000 and have been at the company less than 10 years." Generally, especially with a huge document of thousands of rows, this would take a long time, because you'd have to sort and come up with a formula. But we can ask it in natural language. It analyzes it and gives us the response right here. It also gives us the option to do deeper analysis using Python or additional prompts. If this looks good, I like to select Add to New Sheet, because I want this information in a different place where I can do additional analysis.

Here it is. These are the people that make 100 or more and have been at the company less than 10 years. That was easy enough.

Creating graphs with Copilot Insights

Let's go back to the HR data and ask it something like "show some data insights." This is a good one, and I always find a ton of value in it. I'll select that and let it execute. When I ask this prompt, on the bottom it says "Add all insights to grid," because there are multiple insights. When I select that, it creates a new sheet and puts all the various insights on it so I can do further analysis. A lot of them are visual, so it's a nice way to see what all this analysis is. For example, one says that the title Manager has noticeably higher PTO balance.

Deep Python analysis with Copilot

Let's go back to HR and see what else we can do. If I select this Copilot icon, I can select "Get deeper analysis results using Python." It asks, "Do you want to start the advanced analysis?" which we need to, so I'll select that. It opens another sheet and starts doing the preliminary work to get us information using Python. It's set up now to give us deeper analysis, but what exactly are we looking for? It gives some suggestions: do you want to analyze the correlation between salary and performance level? Or identify employees at risk of leaving and their characteristics, which is an interesting one. I'll select the second one and see what comes back.

It says the analysis identified employees at risk of leaving along with their characteristics, such as job title, years of service, salary, performance level, work-life balance score, and PTO balance. You can view these results in the sheet for further analysis, add them to a new sheet, or simply look at them here. These are the people's names and job titles, years of service, salary, and performance level, and these people are at the highest risk of leaving and have been shortlisted for further analysis.

We have other options, like visualize the distribution. Let's select "visualize the distribution of salaries for employees at risk of leaving." Maybe people who make less want to leave, and people who make more want to stay. Who knows? Let's look at the chart it created. The frequency, the number of people who make less, is on the left-hand side, and there are more of them who want to leave. The people who make more are fewer, but they tend not to necessarily want to leave.

Creating a graph from Python Data

We can always cross-reference this. If we go back to our HR data and find the person who makes about 226,000, and look at their risk of leaving, it looks like this person does want to leave. So if you want to double-check the work, it's right there. Generally speaking, there aren't many people who make that much, but a few of them seem to want to leave, because there's a gap here between 150 and 200. It provides some really good analysis.

Now we'll stop and go back to the HR data. I wanted to show some really cool things that aren't so heavy on the Python side. Before we do that, even though I went back to the HR tab, you have to stop the advanced analysis before you can give it a different prompt. So I stopped it. Now I can click View Prompts and look at the prompts I've saved.

Color coding data with Copilot

One of the prompts I like, and it's a nice visual representation, is color coding the data. I'll select "apply color coding to column for salary" and see what comes back. It gives me a scale of red, white, and green. I'll select Apply. I'll close the Copilot window, and what you're seeing now is that it has color coded the salaries, from dark red for the lowest salary to dark green for the highest. The shades of white and light green or light red fall in between. This gives you a good visual representation of which people may be underpaid, or which people look overpaid, because the salary band is 105.

Using the Microphone for Copilot prompts

On the bottom right-hand side, there's also a microphone icon you can use to speak to Copilot. Let's ask a question: "How many people do I have in the company that have the title manager?" I'll send that. It came back with a list, which I can again add to a sheet, and it tells me I have 10 people who are managers, three who are project managers, and two who are IT managers.

I hope you enjoyed today's video. Please give it a like and consider subscribing. Share your thoughts and your favorite Copilot in Excel prompts in the comments. Thanks for watching, and I'll catch you on the next one.