Select All Lists Where Any Element is a Given Value

*To*: mathgroup at smc.vnet.net*Subject*: [mg96586] Select All Lists Where Any Element is a Given Value*From*: Gregory Lypny <gregory.lypny at videotron.ca>*Date*: Mon, 16 Feb 2009 16:40:47 -0500 (EST)

Hello everyone, Suppose I have the list X = {{1, 2, 3}, {8, NA, 20}, {-7, 9, NA}}, where NA is a string, although it need not be. How can I use Select to pull out all lists in X where NA appears in any element? In this example, I want to pull out the second and third list. Regards, Gregory

**Follow-Ups**:**Re: Select All Lists Where Any Element is a Given Value***From:*Richard Hofler <rhofler@bus.ucf.edu>

**Re: Select All Lists Where Any Element is a Given Value***From:*Curtis Osterhoudt <cfo@lanl.gov>

**RE : [mg96586] Select All Lists Where Any Element***From:*"Jaccard Florian" <Florian.Jaccard@he-arc.ch>

**Re: Select All Lists Where Any Element is a Given Value***From:*Adriano Pascoletti <adriano.pascoletti@dimi.uniud.it>

**Re: Select All Lists Where Any Element is a Given Value***From:*DrMajorBob <btreat1@austin.rr.com>