excel_write_data_easy
Write one value into one Excel cell, no fuss
- debug
This is the node the pack actually wants you to use for writing to Excel - its sibling, excel_write_data, is sitting in the pack's own "Deprecated" category, and this one replaces its confusing row/column range logic with the simplest thing possible: one cell, one value. If you're logging generation metadata, tracking a batch of results, or building any kind of dataset-tracking workflow where a spreadsheet is the record of truth, this is the node for that last step.
How it works
There's no range math to reason about here. You point it at a workbook path and sheet name, give it a row and a column, and it writes data into that single cell. That's the entire mechanism - no start/end pairs, no "what happens when start is zero" edge cases like its deprecated predecessor has. It's also flagged as an output node in the schema, meaning it's meant to be a terminal step in your graph - you don't need to wire its output anywhere for the workflow to be considered complete.
Inputs and output
- excel_path (STRING, default
excel_file_path.xlsx) - the workbook to write into. - sheet_name (STRING, default
Sheet1) - which sheet. - row (INT, default 1, minimum 1) and column (INT, default 1, minimum 1) - both 1-indexed, so
row=1, column=1is cell A1, not a zero-based offset. - data (STRING) - whatever you want written into that cell. No default, so wire something in or type a value.
- debug (STRING, output) - status/result text; this node is an output node, so this is more for your own visibility than for feeding another node.
If you need to log several values from one run - say, a seed, a prompt, and a score - you'll need one excel_write_data_easy node per cell, with row/column offsets set accordingly. It's more nodes on the canvas than a single ranged write, but every one of them is trivial to reason about and debug on its own.
Installing it
Search ComfyUI-Apt_Preset in ComfyUI Manager and install, or manually: cd ComfyUI/custom_nodes && git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git, then restart ComfyUI. The README's install step is "double-click install.bat," which is Windows-oriented - there's no requirements.txt documented, so on Linux/Mac, open install.bat in a text editor to see what it pip-installs and replicate that manually in your ComfyUI venv. Worth calling out: nothing in the README names the spreadsheet library this needs under the hood, but writing .xlsx files requires one (most commonly openpyxl) - if the node throws an import error on first use, that's very likely it, and pip install openpyxl into your ComfyUI environment is the fix.
Common issues
Get the row/column indexing right - it's 1-based, so if your first write is landing one row or column off from where you expect, you're probably thinking in 0-indexed terms out of habit.
Make sure the target file and sheet already exist before you run this in a fresh workflow; the schema gives no indication this node creates a workbook or sheet from scratch, and the debug output is your only feedback channel if a path or sheet name doesn't resolve.
Beyond that, the pack-wide caveat applies: this is one node inside a large, actively developed pack where an import failure anywhere can take the whole thing offline. If it's missing from your node list after installing, check the ComfyUI console at startup for the actual traceback before assuming your install steps were wrong.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| excel_path | STRING | excel_file_path.xlsx | — |
| sheet_name | STRING | Sheet1 | — |
| row | INT | 1 | — |
| column | INT | 1 | — |
| data | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| debug | STRING | — |