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!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

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

Formula does not apply to the column

I have this table, and I want the average of the column EC(mS/cm) on the column next to it, group by name.

Screenshot 2026-03-20 114153.png

 

I used this formula yesterday but today it does not work when I apply it to the column.

If( Row() == Col Min( As Column( "EC (mS/cm)" ) << By( :Name ) ),
Col Mean( As Column( "EC (mS/cm)" ) << By( :Name ) ),
.
)
 
Thank you in advance!
4 REPLIES 4
jthi
Super User

Re: Formula does not apply to the column

If(Row() == Col Min("EC (mS/cm)"n, :Name),
	Col Mean("EC (mS/cm)"n, :Name)
);
-Jarmo
Lourdes
Level I

Re: Formula does not apply to the column

It does not apply the formula

jthi
Super User

Re: Formula does not apply to the column

Is your formula supressed?

-Jarmo
Lourdes
Level I

Re: Formula does not apply to the column

I used this one and it worked: 

If(

   Row() == Col Min( Row(), :Name ),

       Col Mean( :"EC (mS/cm)", :Name ),

   .

)

Recommended Articles