Hi, If 'dat' is the dataset: Try subset(dat, Start < MapInfo & End > MapInfo) A.K. Dear All, I want to subset a column (MapInfo in the attached photo) in csv file if its values be ranged between values in two other columns (Start and End in the attached photo) using R 3.0.1. Thank you in advance for all nice guides. M.H. Banabazi