My previous question on SO was greatly answered Excel: dynamically calculate range next to a searched up cell
I am using the formula
LOOKUP(9^9,Table1[pr