Hub
Pricing About
WorkflowWorkflow

kn_forum_26510_excel_single_file_loop

ExcelSplitTablesExtractHead
+2
mlauber71 profile image
Draft Latest edits on 
Sep 3, 2020 8:33 PM
Drag & drop
Like
Download workflow
Workflow preview
Extract a group of smaller tables (identifyed by a keyword) from Excel file with some empty columns and store them in separate new Excel files - give each line a unique ID to identify them later - identify the ‘heads’ of the tables (“FORMNAME”) like you already did - use moving aggregate to give the heads unique numbers - bring these numbers back to the data - fill the intermediate (empty) cells with the head’s number - use a group loop on the blocks identified by the head numbers - extract the first line as column names - make sure empty columns that would just contain missing values are excluded (you could set a threshold) - insert the column names - create a new file name - store the new files on disk - be done

External resources

  • forum entry
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.2.1
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.2.2

    knime
  • Go to item
    KNIME Excel SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.2.1

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.2.0

    knime
  • Go to item
    KNIME Timeseries nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.2.0

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits