Am 12.02.2013 11:09 (UTC+1) schrieb Robert Latest: > x <- c(4,5,6) > y <- c(10,1,5,12,4,13,14) Please try #match(x,y) [1] 5 3 NA HTH, Rainer Hurling