Use Set Cell Value to replace one cell in an existing .xlsx worksheet with a Text, Number, Boolean, or Blank value. The step reads the committed cell back and exposes its typed value and formatted display text.
Step Library: Microsoft Excel > Cells
When to use this step
Use this step when you want to:
- replace exactly one worksheet cell by A1 address or one-based row and column numbers;
- write a Text, Number, Boolean, or Blank value without changing adjacent cells; or
- make the provider-confirmed cell value available to following steps.
Common examples include:
- updating a status or approval result in a known worksheet cell;
- writing a calculated workflow value to a reporting workbook; or
- clearing a cell that is no longer needed.
Use Update Worksheet Row when you need to change several selected cells in one row. Use Set Range Values for a rectangular block, or Get Cell Value when you only need to read 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 edit 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.
- If you use an Object variable for Cell value, it must use schema
microsoft-excel/cell-value-input@1.
Configure the step
- Add Set 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.
- In Value source, select Enter values and configure the typed value, or select Variable and choose a compatible Object variable.
- 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 write 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 an earlier 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 update. 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. |
| Value source | Yes | Enter values or Variable | Always | Selects whether the value is configured in the step or supplied as one compatible Object. The default is Enter values. |
| Cell value | Yes | Object variable with schema microsoft-excel/cell-value-input@1 | Value source = Variable | Supplies the complete typed value. There is no default. The variable must use the exact registered Object schema and is validated again at runtime. |
| Value Type | Yes | Text, Number, Boolean, or Blank; or a Text variable resolving to one of these values | Value source = Enter values | Selects the raw value written to the cell. There is no persisted default. When a variable supplies the type, the resolved value must contain exactly the raw value property required by that type. Blank has no raw value field and clears the target cell. |
| Text Value | Yes | Fixed Text or Text variable | Value Type = Text or Value Type is variable | Value written when the resolved type is Text. There is no default. Text beginning with =, +, -, or @ is escaped and stored as literal text rather than executed as a formula. |
| Number Value | Yes | Fixed finite Number or Number variable | Value Type = Number or Value Type is variable | Value written when the resolved type is Number. There is no default. NaN and infinite values are rejected. |
| Boolean Value | Yes | Fixed Boolean or Boolean variable | Value Type = Boolean or Value Type is variable | Value written when the resolved type is Boolean. There is no default. |
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 | Provider-confirmed state of the cell after the update. It contains the address, position, value type, type-specific raw value, and formatted display text. A cleared cell has Value Type Blank, empty Display Text, and no type-specific raw value. No Cell output is exposed when the write or committed readback 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. |
Runtime behavior
Execution and completion
When the step runs, Flowifier:
- Resolves the selected connection, workbook, worksheet, cell, and value settings, including referenced variables.
- Converts one-based row and column numbers to an A1 address when Address mode is Coordinates.
- Validates the resolved cell address and typed value.
- Opens a persistent Microsoft Excel workbook session and sends one cell update through Microsoft Graph. A Text value beginning with
=,+,-, or@is escaped before submission, andBlankis sent as an empty value. - Reads the committed cell back and converts it to a typed raw value and formatted display text.
- Exposes Cell, closes the workbook session on a best-effort basis, and completes the step.
The step changes only the selected cell. Running it again with the same resolved target and value writes the same value again without creating another cell or row. Different resolved values replace the previous value. Concurrent executions against the same cell are independent provider requests and can overwrite one another or produce a provider conflict.
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 output follows that context's normal scope and does not escape the execution path on which it was created.
Following steps can use the type-specific property that matches Cell > Value Type. For example, use Cell > Number Value only when Value Type is Number.
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 committed-readback requests may retry throttling and service errors up to three times after the initial request and honor bounded Retry-After values. The cell update is a mutation and is not automatically retried.
If validation, authentication, permission, or provider access fails before the update, the step fails, exposes no Cell output, and the workflow does not continue along its normal execution path. Correct the cause and start a new workflow instance; a failed instance does not resume automatically.
A network interruption, timeout, or service failure after Microsoft Graph receives the update can leave the outcome unknown. The cell might already contain the intended value even though the step failed. The same applies when the update succeeds but the committed readback fails. Inspect the workbook before starting another execution.
Cancellation or termination cannot roll back a cell value that Microsoft Graph has already changed.
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, Cell, and Cell value. |
| 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 output, 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. |
| Cell value has an unsupported type or is missing its matching raw value | Authoring validation reports detectable fixed-value errors. Otherwise, runtime validation fails before the provider update and no Cell output is exposed. | Use Text, Number, Boolean, or Blank and provide exactly the raw value required by that type. |
A Text value begins with =, +, -, or @ | The value is escaped and stored as literal text. It is not executed as an Excel formula. | Use this step only for literal Text, Number, Boolean, or Blank values. Formula values are not supported. |
| The workbook or worksheet does not exist, is inaccessible, protected, locked, or not a supported file | The step fails and exposes no Cell output. | Select an accessible, editable .xlsx workbook and an existing worksheet, remove protection or locks when appropriate, or correct the supplied IDs or name. |
| 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 write access to the workbook. |
| Microsoft Graph throttles, times out, or cannot confirm the cell update | The mutation is not automatically retried. If the request was dispatched, the cell might already have changed even though the step failed. | Inspect the workbook first. If the intended value is absent, wait if necessary and start a new execution. |
| The committed cell cannot be read back after the write | The step fails with an unknown outcome and exposes no Cell output, but the new value can already be saved. | Inspect the workbook before retrying. Start a new execution only after determining whether the value was committed. |
| A successful configuration is executed again | The same cell is written again. The resolved value replaces the existing value; no additional row or cell is created. | No correction is required for an intentional repeat. Prevent duplicate workflow execution when repeated external writes are not intended. |
The step writes exactly one cell. A1 addresses and coordinates are limited to 1,048,576 worksheet rows and 16,384 worksheet columns. Number values must be finite. Formula values are not supported. General workflow and Microsoft Graph service limits still apply.
Example
Update an approval status
Goal: Store an approval result in one known cell of an existing tracking workbook.
Configuration:
- Connection:
Operations Microsoft Excel - Workbook source:
Microsoft 365 file - Workbook file:
Approvals.xlsx - Worksheet:
Current requests - Address mode:
A1 address - A1 address:
B3 - Value source:
Enter values - Value Type:
Text - Text Value:
Approved
Result: Flowifier writes the literal Text Approved to cell B3 and reads the committed value back. Cell > Value Type is Text, Cell > Text Value is Approved, and Cell > Display Text contains the formatted Excel text. Following steps can use the Cell output.
Related information
- Get Cell Value — read one worksheet cell without changing it.
- Update Worksheet Row — update several selected cells in one worksheet row.
- Set Range Values — replace a rectangular worksheet range.
- Microsoft Excel connections — connect a Microsoft work or school account and authorize workbook access.
- Workflow variables — supply dynamic workbook, worksheet, cell, and value settings.
- Microsoft Graph: Update range — provider API behavior for writing values to a cell range.
Comments
0 comments
Please sign in to leave a comment.