I would like a convenient way in JMP to make a cumulative summary on a certain column, where for each value of the target column, you are told how many rows (elements) met some boundary of that value in that column (less-than-or-equal-to, greater-than-or-equal-to, less-than, or greater-than).
For example, starting with this table:
| Petri Dish ID | N Bacteria |
|---|
| 0 | 100 |
| 1 | 103 |
| 2 | 98 |
| 3 | 98 |
| 4 | 102 |
| 5 | 97 |
I may want to generate the number of petri dishes that had less than or equal to each amount of bacteria, potentially like this:
| At most N Bacteria | N Petri Dishes |
|---|
| 96 | 0 |
| 97 | 1 |
| 98 | 3 |
| 99 | 3 |
| 100 | 4 |
| 101 | 4 |
| 102 | 5 |
| 103 | 6 |
| 104 | 6 |
Similarly, I might want columns for At least N Bacteria, Less than N Bacteria, and More than N Bacteria.
Is there a convenient way to do this using any of the menu tools and/or perhaps a formula column, or would it require a JSL script? Would it require pre-sorting the original table on the target column (N Bacteria)? Are there any add-ons that would do this?
Note: In MS Excel this could be done using the "COUNTIF" function adjacent to a manually-created "At most N Bacteria" (or whatever other boundary) column.
Thanks.