Michael, That's perfect. Thank you so much, I've been struggling with this for days! Jess -- View this message in context: http://r.789695.n4.nabble.com/Return-the-matrix-location-of-multiple-entries-tp4321412p4321503.html Sent from the R help mailing list archive at Nabble.com.