# Detect First row and First Column in a table

**URL:** <https://forum.knime.com/t/detect-first-row-and-first-column-in-a-table/45774>\
**Category:** KNIME Analytics Platform\
**Created:** [August 8, 2022, 9:06am UTC](https://forum.knime.com/t/detect-first-row-and-first-column-in-a-table/45774 "2022-08-08T09:06:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 8, 2022, 9:36am UTC](https://forum.knime.com/t/detect-first-row-and-first-column-in-a-table/45774/2 "2022-08-08T09:36:58Z")

</div>

@Morno welcome to the KNIME forum. Could you define what would constitute a start of a row. Why is ist “Row4” and not (eg.) “Row2” which also contains values (or “Row3” for that matter).

The same goes for the end of a table. Would there just be one table or more.

One option to define data blocks is illustrated here:

> [@Move head rows to a column](https://forum.knime.com/t/move-head-rows-to-a-column/45094/2):
>
> @willy_oracle typically you would mark all lines with a [Counter](https://kni.me/n/pVT_aAQrO1Jkt9cG). Then identify the ‘headers’ with a rule engine [IF Col1 LIKE “Head\*” =\> Counter] and keep that (starting) row in a separate column. Then you [fill the missings with the previous value](https://forum.knime.com/t/replace-placeholder-with-values-from-above/38602/4) so a block would emerge marking the data table: [image] So now you have the blocks marked an can use a [Table Row to Variable Loop Start – KNIME Community Hub](https://kni.me/n/q7loejCZ1HWH5hUr) or [Group Loop Start – KNIME Community Hub](https://kni.me/n/7a8fxq51Z1jrgXeM) to do something with the blocks (export them delet…

---

_[View the full topic](https://forum.knime.com/t/detect-first-row-and-first-column-in-a-table/45774)._
