Hi
In my dataset I am trying to create a list of rows adjacent (both above and below) the row where a columns cells has a specific value i.e.
C1 C2 C3 C4
13 10 -4 12
12 14 -3 15
14 34 0 18
15 12 1 12
12 13 5 21
From this dataset I would want to get the row with 0 in column C3, and then the two adjacent rows (the row before and after)
So it should look like:
C1 C2 C3 C4
12 14 -3 15
14 34 0 18
15 12 1 12
I need to do this for anytime I have a 0 in column C3, any ideas?