Sub topic 2
Opening and Using the Gemini Side Panel
This chapter assumes that you can open a Google Sheet, select cells and ranges, and use simple formulas such as SUM and IF. You also need a Google account whose plan and administrator settings allow Gemini in Google Sheets.
Check Whether Gemini Is Available
Open the spreadsheet where you want to work. Look in the upper-right area for the Ask Gemini button or the Gemini sparkle icon. The label and icon can vary by Google Workspace edition and interface version.
Select the button. If Gemini is available, a side panel opens on the right. If you do not see the button, your account may not include Gemini, your administrator may have disabled it, or the feature may not yet be available in your region.
The side panel is connected to the current spreadsheet. Its suggestions can use the sheet's content and the cell or range you have selected. It does not replace the normal Sheets grid, formula bar, or chart editor.
Use the Side Panel
The side panel usually contains a prompt box and suggestions for tasks such as summarizing data, creating tables, generating formulas, and making charts.
A reliable workflow is:
- Open the side panel.
- Select the relevant range, if the task depends on a particular part of the sheet.
- Describe the desired result in the prompt box.
- Review Gemini's proposed action or output.
- Insert, apply, or reject the result.
- Check the changed cells manually.
Your selection provides context, but it may not express your full intent. State the range and the desired outcome in the prompt as well.
For example, suppose A1:E50 contains expense records. You could ask:
Create a column chart of total Amount by Category using A1:E50. Use Category from column B, Amount from column D, and title the chart "Spending by Category".A good prompt identifies the source, the operation, and the result. If Gemini asks for clarification, answer with the exact sheet name, range, column, or format it needs.
Understand the Panel's Actions
Gemini may return text, a formula, a table proposal, or an action that changes the spreadsheet. These results are different:
- A written explanation does not change the sheet.
- A formula suggestion may need to be inserted into a selected cell.
- A generated table may occupy new cells and overwrite existing content if you accept it.
- A chart action may add a chart based on Gemini's interpretation of your data.
Before accepting an action, confirm that the target area is empty or that you have saved a copy of important work. After insertion, inspect the headers, ranges, labels, and formulas. Gemini can produce a plausible result that still uses the wrong column or excludes rows.
Select the Right Context
When a sheet contains several tables, select the intended table before prompting. Also name the sheet and range when possible. For example:
Using Orders!A1:F200, summarize sales by Region. Do not include the Total row, and return the result as a two-column table with Region and Total Sales.Avoid prompts such as “analyze this” when the sheet contains unrelated data. Vague context increases the chance that Gemini chooses the wrong range or interprets a column incorrectly.
Exercise
Exercise
You select A1:E50 and want Gemini to create a chart showing total expenses for each category. What information should your prompt include?
Show answer
Name the source range, the category column, the amount column, the chart type, and the chart title. Then review the proposed chart and verify that it uses the intended rows.