Hi @ all, both possibilities are working very fine. Thanks a lot for the fast help! Best Greetinx from the "Earth Eater" Geophagus -- View this message in context: http://r.789695.n4.nabble.com/Grouping-columns-tp3681018p3683076.html Sent from the R help mailing list archive at Nabble.com.