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. I admit that the format looks a bit weird but this is what I get after converting the pdf to excel!
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!
Pleasure,
Akib
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 | ||||
t | u | y | q | p |
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!
Pleasure,
Akib
Comment