Thats one of the parts I am missing. In the upper table the year is the variable I have to match for the bottom table the 2 columns for the year is the range to match from the upper table