Sub topic 3
Contextual Tabs That Appear When You Select an Object
This chapter assumes you can open a blank workbook, recognize the ribbon's tabs and groups, and select cells with the mouse. Here you will learn what contextual tabs are, when Excel shows them, and why they sometimes seem to vanish.
What a contextual tab is
The ribbon has a fixed set of standard tabs: Home, Insert, Page Layout, Formulas, Data, Review, and View. Some commands only make sense for a particular object, such as a chart, a picture, or a table. Excel keeps those commands off the standard tabs. It shows them on a contextual tab instead.
A contextual tab is a ribbon tab that appears only while a specific object is selected. It disappears when you select something else. Contextual tabs usually sit at the right end of the tab row, under a colored label called a tool tab set header, for example "Chart Design" or "Table Design".
This design keeps the ribbon small. Excel shows chart formatting commands when you are working with a chart, and hides them the rest of the time.
Common contextual tabs
The exact names vary by Excel version. The table lists the most common ones.
| Object you select | Contextual tab or tabs | What the commands do |
|---|---|---|
| Excel table | Table Design | Rename the table, resize it, toggle the total row, pick a table style |
| Chart | Chart Design, Format | Change chart type, switch rows and columns, edit data, style the chart |
| Picture | Picture Format | Crop, adjust brightness, apply a border, set alt text |
| Shape or text box | Shape Format | Change fill, outline, and effects |
| PivotTable | PivotTable Analyze, Design | Refresh data, change field settings, choose a layout |
| Sparkline cell | Sparkline | Edit data, change type, set axis options |
Older versions label some of these differently. Excel 2013 and earlier used a "Design" tab under "Table Tools". Current versions use "Table Design".
How contextual tabs appear
Follow these steps to see one.
- Open a blank workbook and type
Monthin A1 andSalesin B1. - Enter
Janand120in A2 and B2, thenFeband150in A3 and B3, thenMarand130in A4 and B4. - Click any cell in A1:B4. The ribbon shows only the standard tabs.
- Press
Ctrl+Tand confirm the dialog. Excel converts the range to a table. - Look at the right end of the tab row. A Table Design tab has appeared.
- Click a cell outside the table, such as D1. The Table Design tab disappears.
- Click back inside the table. The tab returns.
The tab is tied to the selection, not to the sheet. This matters for troubleshooting, covered below.
Selecting a chart
Charts show how one object can bring up more than one contextual tab. Select A1:B4, then choose Insert > Recommended Charts (or a chart type from the Charts group) and click OK. The new chart is selected, and two tabs appear: Chart Design and Format.
- Chart Design holds commands for the chart as a whole: Add Chart Element, Quick Layout, Change Colors, Change Chart Type, and Select Data.
- Format holds appearance commands such as shape fill, shape outline, and the Current Selection dropdown, which lets you pick one part of the chart (the title, the axis, a series) from a list.
A chart has many parts, and clicking a part selects it. Clicking a data bar selects the series. Clicking the title selects only the title. The Format tab applies to whatever part is selected, so check what is highlighted before you apply a color.
Why a tab seems to be missing
A missing contextual tab is among the most common beginner questions. The cause is almost always one of the following.
- Nothing is selected inside the object. You clicked next to the table or chart, not on it.
- A different object is selected. You selected a cell that sits behind a floating chart, so the chart is not the active object.
- The sheet is protected. Protection can block selection of objects and prevent the tab from appearing.
- The ribbon is collapsed. A collapsed ribbon shows tab names only. Click a tab name to open it, or press
Ctrl+F1to pin the ribbon open. The next chapter in this group covers display options in detail. - The window is narrow. At a small window width, Excel shortens tab names and groups. A tab may still be there but squeezed.
- Objects are hidden. If objects are set to hidden in Excel's advanced options, charts and pictures do not display, so you cannot select them.
A quick test is to click directly on the border of the object. For a table, click inside a data cell, not a blank cell next to it.
Switching to a contextual tab with the keyboard
Contextual tabs work with Alt key tips. Select the object, then press Alt. Excel shows key tips for the standard tabs and for the contextual tab. The key tips are assigned by Excel and can differ by version, so read them on screen instead of memorizing them. For a table, the Table Design key tip is typically JT. For a chart, Chart Design is typically JC and Format is typically JA.
Edge cases and gotchas
- Convert to Range removes the tab. On Table Design, Convert to Range turns the table back into ordinary cells. The Table Design tab then no longer appears, because no table exists.
- Copying and pasting does not copy the tab. The tab belongs to the selected object. If you paste a chart onto another sheet, that new chart gets its own tabs when you select it.
- Pictures in cells. In current Microsoft 365 builds, a picture placed in a cell uses a different feature from a floating picture. The Picture Format tab appears for floating pictures. Check your version if a picture does not show the tab.
- Multiple selected objects. When you select several shapes, the Shape Format tab appears, but some commands, such as Group, apply only to the multi-object selection.
- Macros and add-ins. Add-ins can add their own contextual tabs. If you see a tab that is not in the table above, it probably comes from an add-in.
Putting it together
A contextual tab is a ribbon tab that depends on your current selection. To use one:
- Identify the object you want to change.
- Click it so it is selected.
- Look at the right end of the tab row for its colored tab or tabs.
- Use the commands, then click an ordinary cell to put the tab away.
Exercise
You created a table in A1:B4 and clicked it, and the Table Design tab appeared. You then clicked cell D8, and the tab disappeared. Is something broken, and how do you bring the tab back?
Show answer
Nothing is broken. Table Design is a contextual tab that appears only while a cell inside the table is selected. Cell D8 is outside the table, so Excel hid the tab. Click any cell inside the table, such as A2, and the tab returns.
Exercise
You select a chart and see both Chart Design and Format tabs. You want to change the fill color of only the chart title. What should you do before using the Format tab?
Show answer
Click the chart title so that only the title is selected, or choose Chart Title from the Current Selection dropdown on the Format tab. The Format tab applies to the selected chart part, so a fill color applied with the whole chart selected would change the chart area instead.