In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Help Needed : Break a excel file in many files.

mjunior7
6 - Meteoroid

Hi all,

 I have a big file like this and I want to break this file in many files ( every time I have a null line). For example: the content between the line 37 and 53 will be one file or a different output. Is it possible?

Thanks in advance.alteryx print.png

2 REPLIES 2
DataBlender
11 - Bolide

Hi @mjunior7

 

You can achieve this with a multi-row formula to create a running filename counter which changes when it encounters a blank row. This is then used as the filename in the output tool to write to various (in my example) excel files.

 

I've created an example in the attached workflow. It's very simple as there is only one field of data so you may have to strengthen the condition for what counts as a break for a new file in case one of the fields has a bona fide null value.

mjunior7
6 - Meteoroid

Perfect!!! Thank you so much!

Labels
Top Solution Authors