Tablora

Tablora · Library

Select a header below a preface row

When a file starts with a title such as Monthly export, set the header row to 2 so the real column names are used and the preface stays put.

Files that start with a title line

Many exports put a line of context above the column names: a report title, an account name, a date range or a note like Monthly export. When pages are joined, the real header repeats further down, but the preface line usually does not. If the cleaner compared later rows with the preface instead of the real header, it would remove nothing, and the repeated headers would stay in your data.

The cleaner does not guess which line is metadata and which is the header. You tell it with the Header row field, which counts from 1.

Pointing the cleaner at the real header

Monthly export walked through

The page example has four source rows: Monthly export with an empty second cell, Name and Amount, Paper and 12.50, and Name and Amount again. With Header row set to 2, the cleaner removes source row 4 because it equals the chosen header. The output has 3 rows: the preface, the header and the Paper record.

Rows above the chosen header are never compared or removed, so the preface stays in the output exactly as it was.

What goes wrong with the wrong number

Title lines in app-read tables

When the Tablora app reads a page, a title line can be captured as the first row of the table. Turn Header row off for that table, or delete the title row with Delete row, so the real column names become the bold, frozen header in the XLSX.

Original synthetic example

Browser header row
2
Removed source rows
4
Output rows
3
Source rowFirst cellSecond cell
1Monthly export
2NameAmount
3Paper12.50
4NameAmount

Tools