cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
M0gAl0g
Level I

Formula to return value from a row, where row is the Maximum value from a different column

Hi,

 

I am looking for a formula that does the following:

 

1) Evaluates the maximum value of a column, by a Grouping Column

2) Once the largest value is found for each "group", I need to return the value in another column corresponding to that row for each "group".   Is this possible?  This would be so easy in Excel.  =(     Example below.  Thanks a million

 

GroupingColumn for ReturnColumn to Eval MaxOutput Column with Miracle Formula
12523000 
12625000 
1273000027
12810000 
12925 
2251 
2262 
2273 
2284 
229529
1 ACCEPTED SOLUTION

Accepted Solutions
jerry_cooper
Staff (Retired)

Re: Formula to return value from a row, where row is the Maximum value from a different column

Does this work for you:

If( Col Max( :Column to Eval Max, :Grouping ) == :Column to Eval Max,
 :Column for Return
)

 

View solution in original post

2 REPLIES 2
jerry_cooper
Staff (Retired)

Re: Formula to return value from a row, where row is the Maximum value from a different column

Does this work for you:

If( Col Max( :Column to Eval Max, :Grouping ) == :Column to Eval Max,
 :Column for Return
)

 

M0gAl0g
Level I

Re: Formula to return value from a row, where row is the Maximum value from a different column

That does the trick.  Thanks, Jerry--you really made my day.  

Recommended Articles