Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

- JMP User Community
- :
- Discussions
- :
- Excluding Rows based on Row Character in a Column Formula

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

May 11, 2020 8:05 PM
(385 views)

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

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

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

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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

2 REPLIES 2

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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

Hi Txnelson.

thank you very much. This is very helpfull

Article Labels

There are no labels assigned to this post.