Counting number by Row Index

Hi guys,

Is there a node that count with a certain rule, ideally here’s my sample data. I wanted to add a column that counts thru 1-4 base on row index.

Input Data
Col 1
Name 1
Name 2
Name 3
Name 4
Name 5
Name 6
Name 7
Name 8
Name 9
Name 10
Name 11
Name 12
Name 13
Name 14
Name 15
Name 16

Output Data
Col 1 Counting
Name 1 1
Name 2 2
Name 3 3
Name 4 4
Name 5 1
Name 6 2
Name 7 3
Name 8 4
Name 9 1
Name 10 2
Name 11 3
Name 12 4
Name 13 1
Name 14 2
Name 15 3
Name 16 4

Thanks in advance.

Hello @seanmanzanilla

‘Math Formula’ node:
mod($$ROWINDEX$$, 4) + 1

BR

5 Likes

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