Help on the match function says it has a third parameter match_type
which is assumed to be 1 if it is missing. This looks up the item or
the next larger one, but requires the array to be in order.
You could sort your array and it will probably work, or you could use
MATCH(PI,Months,0).