Hi!
I'm currently working on a project using JMP/JSL and on my data, I need to delete or clear values from multiple cells based on a condition. See sample raw data and required output below.
Raw data:
| Test1 | P/F 1 | Test2 | P/F 2 | Test3 | P/F 3 | Test4 | P/F 4 | Test5 | P/F 5 |
| 1 | P | 2 | P | 4 | P | 9 | F | 3 | P |
| 5 | P | 8 | F | 4 | P | 6 | F | 2 | P |
| 7 | P | 1 | P | 6 | F | 5 | F | 6 | F |
| 4 | P | 1 | P | 9 | F | 9 | F | 9 | F |
| 6 | F | 4 | P | 10 | F | 10 | F | 8 | F |
Required Output:
| Test1 | P/F 1 | Test2 | P/F 2 | Test3 | P/F 3 | Test4 | P/F 4 | Test5 | P/F 5 |
| 1 | P | 2 | P | 4 | P | 9 | F | * | * |
| 5 | P | 8 | F | * | * | * | * | * | * |
| 7 | P | 1 | P | 6 | F | * | * | * | * |
| 4 | P | 1 | P | 9 | F | * | * | * | * |
| 6 | F | * | * | * | * | * | * | * | * |
What is required here is to clear all following cells once 1st F (failure) is triggered.
I'm working on large data and I believe this can only be done through scripting.
Tried looping functions but none so far works. I'm really not sure if this is even possible on JSL.
Thank you in advance for your help!