Select only rows if its value in a particular column is less than the value in the other column February 2, 2023 by Tarik df[df$aged <= df$laclen, ] Should do the trick. The square brackets allow you to index based on a logical expression.