The Gemini API can read a slice of a spreadsheet. Which cells support the number?

Gemini 4 adds file controls for selecting a worksheet, cell range and content layers. A report review can start with the number as published, then follow the formula, source sheets and charts as needed.

Article published: 2026-11-27Mokyun Editorial5 min read

Public developments and original analysis · Announcement date: · Sources

A monthly report says the eastern region's gross margin rose. The percentage matches the workbook summary, but the reviewer cannot tell whether the denominator changed. On November 23, Google released file slicing controls in the Gemini API. Developers can request a worksheet and cell range, then choose whether to read values, formulas or visual content. A review can begin with the cells cited in the report and expand only when the evidence calls for it. The distinction that matters to a finance or operations team is between reading a number correctly and explaining where it came from.

AI-generated illustration by Mokyun with ImageGen. The selected cells are highlighted in green. The thread represents a formula reference to another sheet.
AI-generated illustration by Mokyun with ImageGen. The selected cells are highlighted in green. The thread represents a formula reference to another sheet.

What values, formulas and charts can establish

Google announced file slicing for Gemini 4 through the APIs offered in Google AI Studio and the Gemini platform. The documentation supports Excel and OpenDocument spreadsheets, among others, and describes selection by worksheet index and cell range. A file URI obtained through the Files API can be reused across later requests. Processing fewer parts of the same file can reduce the input tokens for the request. The file itself still has to meet the service's upload limits and fall within the organization's approved data scope.

Suppose an operations reviewer only needs to determine whether a dashboard's margin was copied from the correct month. The headers, period label, value and unit may be enough. Explaining an increase month over month calls for the formula, including its denominator and any adjustments. If the question is which month, series or unit a chart shows, inspect the visual layer and check against its axis and data labels where useful. A single workbook supports all three types of review. Requesting them every time can add irrelevant material and make the evidence harder to find.

Following a formula to another sheet

Consider a hypothetical equipment company whose operating report uses the range D12 to F18 in its summary. F18 looks like a margin calculated from revenue and cost, but its formula refers to a shipping adjustment on another sheet. Reading only the summary can yield the displayed figure and expose the reference, while leaving the underlying value unavailable. Named ranges, totals over filtered rows and links to other workbooks can pose the same problem. Ask for the next sheet or range needed to answer the question. That gives a reviewer a clearer path than a guess based on the visible figure.

Then confirm the business definition, such as whether the adjustment belongs in this month or restates the previous month, and request the authorized source range. If the task requires reconciling an amount, recompute it from confirmed values in a spreadsheet or deterministic code. Record the workbook version, sheet name, range and formula so another reviewer can repeat the work. Use the formula explanation to investigate and keep the normal calculation and approval process for the published report. If an external file or comparison baseline is missing, record the gap for the person who owns the source.

For a monthly template, keep a list of the common sheets and ranges. Check the month label and headers alongside it so that a new row or reordered tab does not send the review back to last month’s coordinates. An evolving workbook calls for locating titles and dates before requesting a slice. Fixed ranges work best with stable templates. With spreadsheets assembled by several contributors, keep a way for the reviewer to request more context.

When to export a smaller spreadsheet first

A slice selects what the service processes. A narrow range still leaves the entire uploaded workbook at the service, including any salaries, channel pricing or other material outside the approved scope. Create a local copy with only the allowed fields where needed. If the review depends on formulas or formatting, check that the export preserves the relevant relationships before sending it over. For a straightforward ratio that can be recomputed, a small export and the original calculation may be enough.

Pick a set of routine past questions with established answers, including direct lookup, cross-sheet references, chart interpretation and missing dependencies. Compare local export, native slicing and whole-file input by reviewer time, input usage and the number of follow-up reads. A small authorized workbook may be easier to send whole if every review already spans several sheets. A large workbook consulted repeatedly for a handful of figures is a better candidate for slicing. Record why the scope grew each time so future versions of the report can arrive with the fields and ranges reviewers need.

Sources

  1. Google DeepMind, Introducing file slicing controls in the Gemini API

    Source published: · Accessed:

  2. Google AI Studio, Document understanding and spreadsheet processing

    Accessed:

Mokyun Editorial · neo@mokyun.com