cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP 19 is here! See the new features at jmp.com/new.
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
Choose Language Hide Translation Bar
miguello
Level VII

Dense Col Rank again

Going back to this topic:

https://community.jmp.com/t5/Discussions/How-to-tweak-Col-Rank-to-give-consecutive-numbers-when-usin...

 

I need something similar again, but this time I cannot sort table.

So I use formula:

Col Rank( Round( :Column ), :Category, <<tie( "minimum" ) )

It gives me  column filled with the following values: {1, 114, 340, 453, 1018, 1131, 1357}

I need to turn them into {1, 2, 3...} and so on.

One idea is to construct Associate Array where a key would be a position of the number, and the value would the same number, and then use it create a column I need. Any other suggestions?

@jthi - any suggestions?

 

2 REPLIES 2
jthi
Super User

Re: Dense Col Rank again

If you don't need a formula, Summary table can usually be used to calculate the ranks and then you can use Update to add them back to your original table.

-Jarmo

Recommended Articles