Please see the attached worksheet wherein you have to enter the reference number 1 and the values gets displayed in reference number 2.
As the reference number column in in column C and to display the date which is in column A, I do not know the vlookup formula for that.