Dear All,
I have imported data from an excel spreadsheet which looks like this:
Note that this is only an excerpt but the pattern repeats itself in the data-set. Now my query is: How do I code to keep data only from the red-shaded rows? Variable names are not a concern for this exercise. Please assume that they are var1, var 2 and so on.
Thanks in advance!
I have imported data from an excel spreadsheet which looks like this:
| table 1 | ||||
| a | b | c | d | e |
| 1 | 3 | 1 | 3 | 5 |
| 4 | 4 | 4 | 4 | 7 |
| 5 | 2 | 5 | 2 | 2 |
| 6 | 2 | 6 | 2 | 3 |
| table 2 | ||||
| a | b | c | d | e |
Note that this is only an excerpt but the pattern repeats itself in the data-set. Now my query is: How do I code to keep data only from the red-shaded rows? Variable names are not a concern for this exercise. Please assume that they are var1, var 2 and so on.
Thanks in advance!

Comment