Number the rows based on number of new categoriesAs shown in below table I have Lot ID from A to E, there are multiple rows for the same lot. I want to create a column that counts as shown in the Lot number column below. I am new JMP user, please help me,

Re: Number the rows based on number of new categoriesThere are several previous entries covering this, but since it is such a simple formula here it is
If( Row() == 1, count = 1 );
If( :Lot != Lag( :lot ),
count
++);
count;
Re: Number the rows based on number of new categoriesAnd if you like the look of the formula editor, you could see it this way:

Re: Number the rows based on number of new categoriesHi Dan
Thank you very much, It perfectly works.