I'm trying to execute a command to only keep D where X is the same as it is when Y = "34". I figure a fairly simple filter would do the trick but I've been stuck.
The data looks like this:
D X Y
1 20 30
2 22 34
3 22 34
4 22 36
5 24 34
6 24 34
7 24 39
8 28 39
The output I'm looking for then would be this:
D X Y
2 22 34
3 22 34
4 22 36
5 24 34
6 24 34
7 24 39
Thanks!