<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />I am trying to use a condition to create a formula on a column.
The datatable example is:
Variable 1
CASSYGDGGTGELFF
CATSRSSGYEQYF
CASSPAAGAAYEQYF
CASSPAAGAAYEQYF
CASSVGSDAYEQYF
CASSVGGVSYNEQFF
CASSVSGSAYEQYF
CASSPAAGAAYEQYF
And I would like to create a variable that would be the count of variable 1 for each row.
Variable 1 Count of Variable 1
CASSYGDGGTGELFF 1
CATSRSSGYEQYF 1
CASSPAAGAAYEQYF 3
CASSPAAGAAYEQYF 3
CASSVGSDAYEQYF 1
CASSVGGVSYNEQFF 1
CASSVSGSAYEQYF 1
CASSPAAGAAYEQYF 3
In excel I would use
B1=countif(A:A,A1)
...
B8=countif(A:A,A8)
I know how to do it through tabulate and I can get around this problem in different ways. However, this is one brick of a more complex formula that I would like to implement in JMP.
Thanks,
Jorge Almeida