hi
one way to do it to use index and match formulae
Put this formula in cell C5 of your Input sheet
=INDEX(data!$B$5:$M$154,MATCH(INPUT!$A$1,data!$A$5:$A$154,0),MATCH(INPUT!$A5,data!$B$4:$M$4,0))
pull it down to get your values.
hope this helps.
$wapnil