Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: ADasHi pdespot,
Thanks for your response. I've tried what you have suggested and that only gives me, as you said, the rows where Column1 is the string "X".
The problem is that I need to output
all if a condition is present. So for example, the data is:
X,Blue,Red,Tuesday,February
Y,Yellow,Black,Friday,December
z,Green,Pink,Wednesday,January
And I want it to be, if "X" is present in Column 1, then the output will be:
X,Blue,Red,Tuesday,February
Y,Yellow,Black,Friday,December
z,Green,Pink,Wednesday,January
but if "X" is not present in Column 1, then no output.
Is there any way to do this?