0

Row Counter

Hi All,

Does anyone know how I can create a column with a counter in it for the number of rows that are going to be returned.
=NL("Table";"15 G/L Account";$E$9:$T$9;"Headers=";$E$8:$T$8;"TableName=";"15 G/L Account") is the method used to create the table.
For arguments sake, there are 1102 rows(records) and next to each row returned I want a number to be returned from 1 to 1102 in sequence.
The reason for this is that the acc. no is text ie. 1000,1001,1002,1050,10049 but the Pivot table is sorting it as 1000,1001,1002,10049 then 1050.
I don't want to setup a custom sort as this needs to be dynamic as account numbers can be added at any time and then I can sort on this sequencing field instead of the acc. no.

Any help is greatly appreciated.

Regards

Tom

3 comments

Please sign in to leave a comment.