# Write multiple excel files

**URL:** <https://forum.knime.com/t/write-multiple-excel-files/25538>\
**Category:** KNIME Analytics Platform\
**Created:** [July 29, 2020, 1:58pm UTC](https://forum.knime.com/t/write-multiple-excel-files/25538 "2020-07-29T13:58:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayazins](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/f6c823/32.png) [@Ayazins](https://forum.knime.com/u/Ayazins)\
**Post date:** [July 29, 2020, 1:58pm UTC](https://forum.knime.com/t/write-multiple-excel-files/25538/1 "2020-07-29T13:58:09Z")

</div>

Hi, I have created a workflow which selects CSV file as input and modifies column names & values. After doing this it saves the data as an excel workbook. I want to run this workflow for 100 files and create 100 excel workbooks with a variable name present in data of each CSV. Please suggest how can I do same.

 ![15960310399606090016620967018375](https://forum-cdn.knime.com/uploads/default/original/3X/0/9/09e8be26cdf7824ccc96abaf9f7031d028b47d74.jpeg)

---

<div class="post-metadata">

**Author:** ![andrejz](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@andrejz](https://forum.knime.com/u/andrejz)\
**Post date:** [July 29, 2020, 2:42pm UTC](https://forum.knime.com/t/write-multiple-excel-files/25538/2 "2020-07-29T14:42:59Z")

</div>

Hi,

In short … start with file list node, use the location of files as variable to start variable loop to read csv files one by one process them (inside the loop) From the data create the file name, transform it to variable and use it for writing excel files (always inside the loop).

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [July 30, 2020, 8:06am UTC](https://forum.knime.com/t/write-multiple-excel-files/25538/3 "2020-07-30T08:06:37Z")

</div>

@Ayazins welcome to the KNIME forum

Maybe you can take some inspiration from these entries. If you have further questions you might want to construct a minimal example demonstrating a question.

Excel Sheets iterate

> [@How to consolidate data from multiple sheets into one?](https://forum.knime.com/t/how-to-consolidate-data-from-multiple-sheets-into-one/8981/5):
>
> You should set the Flow variables in the (well) “Flow Variables” section of the Excel Import node. If you just have one Excel file you could use a static input and use the sheet names as variables. The attached example should work and can be modified. [kn\_example\_excel\_consolidate\_multiple\_sheets.knwf](https://forum-cdn.knime.com/uploads/default/original/2X/3/393dd13a1c639682374e517d3bdd33ddd8e4abc5.knwf) (43.3 KB)

Excel types of loops

> **[Read an XLS file – knime](https://hub.knime.com/knime/spaces/Examples/01_Data_Access/01_Common_Type_Files/07_Reading_Excel_Files~2N5wMVun9Idx8XXO/current-state)**
>
> This workflow demonstrates how to read an XLS file using the XLS Reader node. It contains three workflows. The goal of each workflow is to read accounting data…

Read and annotate Excel files

> [@Can knime help me input words in excel automatically](https://forum.knime.com/t/can-knime-help-me-input-words-in-excel-automatically/25071/5):
>
> I would’ve used a Chunk Loop Start node to isolate the individual rows of URLs generated by the List Files node. The Output of this node gets split into 2 branches: the 1st branch goes to a Table Row to Variable node which converts the URL into a variable which can then be used to tell an Excel Reader node which file to grab. the 2nd branch leads to a Cell Splitter node with an appropriate delimiter such as the forward slash, which allows you to isolate the file name portion of the URL. You c…

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [January 28, 2021, 8:07pm UTC](https://forum.knime.com/t/write-multiple-excel-files/25538/4 "2021-01-28T20:07:05Z")

</div>

Closed on January 28, 2021, 8:07pm UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
