Array Enter:
Formula: copy to clipboard
=MATCH(2012+ROW($A1)&1,$A$1:$A$10&$B$1:$B$10,0)
and drag down.

An array entered formula is committed with Ctrl-Shift-Enter rather than just Enter