cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
Ashraff09
Level II

Excluding Rows based on Row Character in a Column Formula

Hello Everyone 

 

I would like to calculate the column standard deviation ,but I would like to exclude a certain rows depending another row value. 

 

For example, in Excel, my formula in excel will be as follows, i.e the formula for each cell will calculate the standard deviation for other than the row :Columns value. 

 

e.g this is standard deviation formula when Columns == B is excluded 

Ashraff09_0-1589251564845.png

 

e.g this is standard deviation formula when Columns == C is excluded

Ashraff09_1-1589251666989.png

 

How can i do this in JMP using Column Formula? 

I have tried to use this Formula but, the result does not match with the excel Formula ?

 

Col Std Dev( :Value, :Columns, Excluded State( :Columns ) )

thank you in advance for reading my post and please let me know if there is an elegant solution for this.. 

 

Regards

Ashraff 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Excluding Rows based on Row Character in a Column Formula

What your Excel formulas are saying, is to exclude all of the rows from the calculation that have the same value of column Columns.  Here is the formula 

curColumns = :Columns;
Col Std Dev( If( :Columns == curColumns, ., :Value ) );
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Excluding Rows based on Row Character in a Column Formula

What your Excel formulas are saying, is to exclude all of the rows from the calculation that have the same value of column Columns.  Here is the formula 

curColumns = :Columns;
Col Std Dev( If( :Columns == curColumns, ., :Value ) );
Jim
Ashraff09
Level II

Re: Excluding Rows based on Row Character in a Column Formula

Hi Txnelson. 

 

thank you very much. This is very helpfull