Hi LinusH, thanks for your reply. The thing is easy, maybe I didn't make myself understood. The dataset I have looks like this: name dataset -------- ---------------------- Mike Oct2011_dates John Nov2012_dates Susan Mar2010_dates Liz Oct2011_dates ........ So, I need to retrieve a date for each of the names, which is in the dataset specified in the column 'dataset'. The date for Mike is in the dataset 'Oct2011_dates'; the date for Susan is in the dataset 'Mar2010_dates', etc... And at the end, my original dataset will look like this: name dataset date -------- ---------------------- ------------------ Mike Oct2011_dates 2010-11-28 John Nov2012_dates 2012-10-12 Susan Mar2010_dates 2009-03-26 Liz Oct2011_dates 2010-07-19 ........ Hope it's clear now, Thanks again. --Mike
... View more