Customer Portal

Filter rows based on value in next row

Comments 2

  • Avatar
    tomassimcik
    0
    Comment actions Permalink
    Hello,

    Simply mark all your rows with integer index growing by 1 and at the same time store index values of your "S" rows.
    Then delete all rows with index of "S" rows minus 1 (those are your "rows of interest").

    I cannot see in your example, If there is possibility of having one "S" row after another "S" row, but If there is, you can fix that by adding additional condition to delete all rows with indexes of "S" rows minus 1 if they are not "S" row.

    I hope it makes sense.

    Tomas
  • Avatar
    admin
    0
    Comment actions Permalink
    Hi Tomas,

    Thank you for your post. This topic was opened twice, you can see the other for our solution viewtopic.php?t=6853#p11083

Please sign in to leave a comment.