Aug 15 2024 07:30 AM - edited Aug 26 2024 04:13 PM
Greetings, This is the fourth in a series of posts that provides examples of what is possible with Copilot in Excel. Today I will use a list of major league baseball ballparks in the United States.
I would like to fix up the Distance to center field column to remove the metric measurements so that it can be sorted correctly. To accomplish this, I'll start by clicking on the copilot button on the right side of the Home tab, showing the copilot pane and type the prompt:
Add a new column for center field distance, converting it to numbers and ignoring the part in parentheses.
Copilot in Excel looks at the content in the table and then suggests inserting a new calculated column that uses the Textbefore function to remove the extraneous information.
Hovering the mouse cursor over the "Insert column" button in the copilot pane shows a preview of what inserting the new column formulas will look like. From the preview, it looks like it is doing what I wanted.
Clicking on the Insert Column button will accept the proposed change, inserting a new calculated column formula that extracts just the distance in feet, allowing me to sort the list correctly.
Over the coming weeks I will be sharing more examples of what you can do with Copilot in Excel.
Thanks for reading,
Microsoft Excel Team
*Disclaimer: If you try these types of prompts and they do not work as expected, it is most likely due to our gradual feature rollout process. Please try again in a few weeks.