cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

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