Use Get Cell Value to read one cell from an existing .xlsx worksheet in OneDrive for Business or a SharePoint document library. The step returns the cell's typed raw value and formatted display text without changing the workbook.
Step Library: Microsoft Excel > Cells
When to use this step
Use this step when you want to:
- read exactly one worksheet cell by A1 address or one-based row and column numbers;
- preserve Text, Number, Boolean, Blank, Error, and Unknown cell types for later steps; or
- inspect a cell without changing the source workbook.
Common examples include:
- retrieving a threshold or status from a fixed worksheet cell;
- checking whether a calculated cell is blank or contains an error; or
- passing a typed cell value to a later condition or calculation.
Use Get Worksheet Row when you need the used cells from one row. Use Get Range Values when you need a rectangular range containing multiple cells. Use Set Cell Value when you need to change a cell.
Before you begin
- Create or select a Microsoft Excel connection that uses a Microsoft work or school account. The connection requires delegated
Files.ReadWritepermission. - Ensure the connected account can read the target
.xlsxworkbook in OneDrive for Business or a SharePoint document library. - If you use a Microsoft Excel Workbook Object, make it available as a workflow variable or as the Workbook output of an earlier Microsoft Excel step.
Configure the step
- Add Get Cell Value from Microsoft Excel > Cells.
- Select the step to open its configuration panel.
- Select the Microsoft Excel Connection.
- In Workbook source, select Microsoft 365 file, Workbook variable, or Drive and item IDs, then configure the displayed workbook settings.
- Select the Worksheet.
- In Address mode, select A1 address or Coordinates, then configure the displayed cell settings.
- Save or publish the workflow.
Settings
| Setting | Required | Accepted values | Visible when | Description |
|---|---|---|---|---|
| Connection | Yes | Microsoft Excel connection | Always | Connection used to access Microsoft Graph. There is no default. The connection must be available to the workflow, remain authorized, and have read access to the workbook. |
| Workbook source | Yes |
Microsoft 365 file, Workbook variable, or Drive and item IDs
|
Always | Selects how the workbook is identified. The default is Microsoft 365 file. |
| Workbook file | Yes | Selected .xlsx file or an Object variable with schema @microsoft/drive-item-reference@v1
|
Workbook source = Microsoft 365 file |
Supplies the workbook's drive and item identity. There is no default file. At runtime, the selected value or variable must resolve to an accessible .xlsx file. |
| Workbook variable | Yes | Object variable or step output with schema microsoft-excel/workbook@1
|
Workbook source = Workbook variable |
Supplies a workbook reference published by a previous Microsoft Excel step or stored in a compatible Object variable. There is no default. The resolved Object must contain non-empty Drive ID and Item ID values. |
| Drive ID | Yes | Fixed Text or Text variable | Workbook source = Drive and item IDs |
Identifies the OneDrive for Business or SharePoint drive. There is no default. The resolved value must not be empty. |
| Item ID | Yes | Fixed Text or Text variable | Workbook source = Drive and item IDs |
Identifies the .xlsx workbook within the selected drive. There is no default. The resolved value must not be empty. |
| Worksheet | Yes | Selected worksheet, fixed worksheet ID or exact name, or Text variable | Always | Identifies the worksheet to read. There is no default. The worksheet picker is available when the connection and workbook can be resolved while authoring. At runtime, the value must resolve to an existing worksheet reference. |
| Address mode | Yes |
A1 address or Coordinates
|
Always | Selects how the cell is identified. The default is A1 address. |
| A1 address | Yes | Fixed Text or Text variable | Address mode = A1 address |
Identifies exactly one cell, such as B3. There is no default address. Fixed values must be within rows 1–1,048,576 and columns A–XFD; variables are resolved and validated at runtime. |
| Row number | Yes | Fixed whole Number or Number variable from 1 to 1,048,576
|
Address mode = Coordinates |
One-based worksheet row. The default is 1 when Coordinates is selected. Fixed invalid values are rejected by Designer validation; variables are resolved and validated at runtime. |
| Column number | Yes | Fixed whole Number or Number variable from 1 to 16,384
|
Address mode = Coordinates |
One-based worksheet column, where 1 is column A and 16,384 is column XFD. The default is 1 when Coordinates is selected. Variables are resolved and validated at runtime. |
Data and outputs
Workflow variable effects
This step does not modify workflow variables. It only reads selected variables when resolving its configuration.
Step outputs
| Step output | Type | Available when | Scope | Description |
|---|---|---|---|---|
| Cell | Object — Microsoft Excel Worksheet Cell (microsoft-excel/worksheet-cell@1) |
After successful completion | Following and nested steps in the current workflow context until the execution path ends | The requested cell's address, position, value type, type-specific raw value, and formatted display text. A blank cell produces Value Type Blank, empty Display Text, and no type-specific raw value. No Cell output is exposed when the step fails. |
| Workbook | Object — Microsoft Excel Workbook (microsoft-excel/workbook@1) |
After successful completion | Following and nested steps in the current workflow context until the execution path ends | Reusable reference to the resolved workbook. It always contains Drive ID and Item ID; Name and Web URL are included only when the selected input provides them. No Workbook output is exposed when the step fails. |
Cell object
| Property | Type | Description |
|---|---|---|
| Address | Text | A1 address of the cell, such as B3. |
| Row | Number | One-based worksheet row number. |
| Column | Number | One-based worksheet column number. |
| Value Type | Text |
Text, Number, Boolean, Blank, Error, or Unknown. |
| Text Value | Text | Raw value when Value Type is Text; otherwise absent. |
| Number Value | Number | Raw value when Value Type is Number; otherwise absent. |
| Boolean Value | Boolean | Raw value when Value Type is Boolean; otherwise absent. |
| Display Text | Text | Formatted text displayed by Microsoft Excel. This property is also present for blank, error, and unknown cells and is empty for a blank cell. |
Workbook object
| Property | Type | Description |
|---|---|---|
| Drive ID | Text | Microsoft 365 drive that contains the selected workbook. |
| Item ID | Text | Stable Microsoft 365 item ID of the selected workbook. |
| Name | Text | Workbook name when it was available from the selected input; otherwise absent. |
| Web URL | Text | Browser URL when it was available from the selected input; otherwise absent. |
Runtime behavior
Execution and completion
When the step runs, Flowifier:
- Resolves the selected connection, workbook, worksheet, and cell settings, including any referenced variables.
- Converts one-based row and column numbers to an A1 address when Address mode is Coordinates.
- Validates that the resolved address identifies exactly one cell within the supported worksheet bounds.
- Opens a persistent Microsoft Excel workbook session and reads the cell through Microsoft Graph.
- Converts the returned value to its typed raw value and formatted display text.
- Exposes Cell and Workbook, closes the workbook session on a best-effort basis, and completes the step.
The step is read-only: it does not change the workbook and creates no provider side effect. Repeated or parallel executions perform independent reads and return the workbook state visible to each request.
Branches and child steps
This step does not have branches or child steps. When it is placed inside a branch or child-step context, its outputs follow that context's normal scope and do not escape the execution path on which they were created.
Following steps can use the type-specific property that matches Cell > Value Type. A following Microsoft Excel step can also use Workbook as its Workbook variable.
Failure, retry and resume behavior
This step does not suspend execution, perform a whole-step automatic retry, or have a resume point.
Safe Microsoft Graph session and read requests retry HTTP 429 and 5xx responses up to three times after the initial request and honor supported bounded Retry-After values. If validation, authentication, permission, provider, or output validation still fails, the step fails, exposes no step outputs, and the workflow does not continue along its normal execution path. Start a new workflow instance after correcting the cause; a failed instance does not resume automatically.
The instance activity displays a safe error without exposing Microsoft Graph request details or resource identifiers. Because the step is read-only, a failure, cancellation, termination, or repeated execution has no workbook change to roll back and cannot create duplicate data.
Errors and limits
| Situation | Result | Resolution |
|---|---|---|
| A required fixed setting is missing | Designer validation reports the affected setting and prevents a valid publish. | Complete Connection, the settings shown for the selected Workbook source, Worksheet, and the settings shown for the selected Address mode. |
| A fixed A1 address does not identify exactly one bounded cell | Designer validation reports the invalid setting and prevents a valid publish. | Enter one cell from A1 through XFD1048576, such as B3, without a range separator. |
| A fixed Row number or Column number is outside its supported range or is not a whole Number | Designer validation reports the invalid setting and prevents a valid publish. | Enter a supported one-based whole Number or select a Number variable. |
| A variable is missing, has the wrong type or Object schema, or resolves to an empty or invalid value | Authoring validation rejects an incompatible reference when possible. Otherwise, the step fails at runtime, exposes no outputs, and does not run later steps. | Ensure the variable exists, has the compatible type or schema, and resolves to a value accepted by its setting. |
| The selected cell is blank | The step succeeds. Cell > Value Type is Blank, Display Text is empty, and no Text, Number, or Boolean raw value is present. |
No correction is required. Confirm that the selected cell is the intended cell. |
| Microsoft Excel reports an error or an unrecognized cell type | The step succeeds with Value Type Error or Unknown, includes Display Text, and omits the type-specific raw values. |
Inspect Display Text and the source workbook before deciding how following steps should handle the cell. |
| The workbook or worksheet does not exist, is inaccessible, or is not a supported file | The step fails and exposes no step outputs. | Select an accessible .xlsx workbook and an existing worksheet, or correct the supplied IDs or names. |
| The connection is unavailable, expired, or lacks permission | The step fails without exposing connection credentials or provider details. | Reconnect Microsoft Excel, grant the required permission, confirm workflow access to the connection, and verify read access to the workbook. |
| Microsoft Graph throttles the request or returns a transient server error beyond the retry limit | The step fails after the safe-read retry attempts and exposes no step outputs. | Wait if necessary and start a new execution. Repeating the read does not modify the workbook or create duplicates. |
| Microsoft Graph returns an invalid or incomplete cell response | Provider-response validation fails, the step fails, and no step outputs are exposed. | Verify that the file is a supported .xlsx workbook. If the problem continues, reconnect and retry or contact support. |
The step reads exactly one cell. A1 addresses and coordinates are limited to 1,048,576 worksheet rows and 16,384 worksheet columns. General workflow and Microsoft Graph service limits still apply.
Example
Read an approval threshold
Goal: Read a numeric approval threshold from a reporting workbook and make it available to later workflow steps.
Configuration:
-
Connection:
Finance Microsoft Excel -
Workbook source:
Microsoft 365 file -
Workbook file:
Finance / Reporting / Approval settings.xlsx -
Worksheet:
Limits -
Address mode:
A1 address -
A1 address:
B4
Result: Flowifier reads cell B4 without changing the workbook. If B4 contains a number, Cell > Value Type is Number, Cell > Number Value contains the raw numeric value, and Cell > Display Text contains the formatted Excel text. Following steps can use these properties and the reusable Workbook output.
Related information
- Get Worksheet Row — read the used cells from one worksheet row.
- Get Range Values — read a rectangular worksheet range.
- Set Cell Value — change one worksheet cell and return the saved value.
- Microsoft Excel connections — connect a Microsoft work or school account and authorize workbook access.
- Workflow variables — supply dynamic workbook, worksheet, and cell values.
- Microsoft Graph: Get range — provider API behavior for reading an Excel range.
Comments
0 comments
Please sign in to leave a comment.