cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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