Locked lesson.
About this lesson
Use Copilot to reformat columns, rows, and cells in an Excel table.
Exercise files
Download this lesson’s related exercise files.
2.02 format-columns-rows-cells - Exercise.docx131.8 KB 2.02 format-columns-rows-cells - Exercise solution.docx
236.5 KB 02-02-Format Columns Rows and Cells-Start.xlsx
550.2 KB 02-02-Format Columns Rows and Cells-Finish.xlsx
550.3 KB 02-02-Sales Data Exercise-Start.xlsx
18.1 KB 02-02-Sales Data Exercise-Finish.xlsx
18.1 KB
Quick reference
Format Columns, Rows and Cells
Use Copilot to format columns, rows, and cells in an Excel table.
When to use
We use Copilot to format columns, rows, and cells whenever we want a quick way of applying different types of formatting to our table data.
Instructions
We can use Copilot to format columns, rows, and cells in our Excel table. In this lesson, we are going to explore a few examples.
It's worth noting that Copilot is in its infancy and will undergo changes and improvements as time goes on. Currently, many of these tasks are quicker to do manually but this will change. For Excel beginners who are unfamiliar with formatting, Copilot is a great tool to get this task done.
Let's use Copilot to reformat our dataset.
- Click anywhere in the data.
- From the Home tab, click the Copilot icon.
Apply a Table Style
When we format a dataset as a table, Excel applies the default table style. The colors used will be the default colors depending on the theme you have applied.
We can use Copilot to change the table style for us.
- Click in the prompt area at the bottom of the Copilot pane.
- Type the prompt: 'Apply the table style Dark Green, Table Style Medium 18'.
- Press Enter.
Remove Banded Rows
When we apply a table style, the default is to use banded rows. Banded rows ensure our spreadsheets are easy to read by adding an alternating background fill color for each row. While some people love this table style option, others do not. We can use Copilot to turn off the banded rows setting.
- Click in the prompt area at the bottom of the Copilot pane.
- Type the prompt: 'Remove banded rows'.
- Press Enter.
AutoFit Column Widths
If we have inconsistent widths applied to our columns or we cannot see information in our columns because the column is too narrow, we can use Autofit Column Widths to adjust all columns at the same time. Copilot can help us with this.
- Click in the prompt area at the bottom of the Copilot pane.
- Type the prompt: 'Autofit all columns in the table'.
Change Date Format
We can use Copilot to change the formatting applied to each column in our table. Copilot can format one or multiple columns at the same time as specified in the prompt.
In this first example, we need to change the format of the 'Invoice Date' column from General to Short date format.
- Click in the prompt area at the bottom of the Copilot pane.
- Type the prompt: 'Change the invoice date column to short date format'.
- Press Enter.
Change Number Format
Next, we need to change the formatting applied to columns H and J. Currently, these two columns have Currency formatting applied and we want to change it to Accounting format with zero decimal places.
Accounting format ensures that the currency symbol is pushed over to the left of the cell and the decimal places are always lined up.
- Click in the prompt area at the bottom of the Copilot pane.
- Type the prompt: 'Change the Price per Unit and the Operating Profit columns to Accounting format with 0 decimal places'.
- Press Enter.
Add a Comma Separator
The last thing to do here is apply a comma separator to the 'Units Sold' column and take the decimal places down to zero.
- Click in the prompt area at the bottom of the Copilot pane.
- Type the prompt: 'Add a comma separator to the Units Sold column with 0 decimal places'.
- Press Enter.
In just a few minutes, we used Copilot to completely reformat our dataset.
Hints & tips
- As a general rule, Copilot tends to be more accurate when using column names.
- We can send a prompt through to Copilot by pressing Enter or by clicking the paper plane icon next to the prompt area.
Lesson notes are only available for subscribers.