Hello,
I found several topics on merging rows, however they all seemed to be different to what I am trying to accomplish.
I am trying to merge rows for which the following two conditions are true:
Same lot number
Months column has the value 0
So for example in the below dataset, rows 1&2, rows 5&6, and rows 9&10 would be merged into 3 rows.
![2020-10-26 16_18_18-Test_data - JMP.png 2020-10-26 16_18_18-Test_data - JMP.png](https://community.jmp.com/t5/image/serverpage/image-id/27673i205EBCBE828E9D93/image-size/medium?v=v2&px=400)