cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-749359%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESubset%20rows%20automatically%20selected%20for%20by%20key%20word%20in%20column%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-749359%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20a%20tall%20data%20table%20with%20sample%20ID%2C%20test%2C%20count%2C%20and%20some%20categorical%20info.%20The%20test%20column%20identifies%20which%20test%20the%20count%20refers%20to%20and%20whether%20it's%20a%20positive%20or%20negative%20population.%20For%20example%20%22Test%20one%20positive%22%2C%20%22test%20one%20negative%22%2C%20etc.%2C%20as%20well%20as%20some%20rows%20such%20as%20%22total%20tests%22.%20These%20repeat%20for%20each%20sample.%3C%2FP%3E%3CP%3EHow%20would%20I%20select%20all%20the%20rows%20with%20a%20%22positive%22%20in%20the%20column%20regardless%20of%20which%20test%20ID%20is%20before%20it%2C%20so%20I%20can%20then%20subset%20them%20into%20a%20new%20data%20table%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-749359%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EData%20Blending%20and%20Cleanup%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-749370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Subset%20rows%20automatically%20selected%20for%20by%20key%20word%20in%20column%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-749370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESelect%20Rows%20%26gt%3B%20Select%20Rows%20Where...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Mcc99
Level I

Subset rows automatically selected for by key word in column?

I have a tall data table with sample ID, test, count, and some categorical info. The test column identifies which test the count refers to and whether it's a positive or negative population. For example "Test one positive", "test one negative", etc., as well as some rows such as "total tests". These repeat for each sample.

How would I select all the rows with a "positive" in the column regardless of which test ID is before it, so I can then subset them into a new data table?  

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Subset rows automatically selected for by key word in column?

Select Rows > Row Selection > Select Where...

See Row Selection examples.

View solution in original post

1 REPLY 1

Re: Subset rows automatically selected for by key word in column?

Select Rows > Row Selection > Select Where...

See Row Selection examples.