Hi Jan,
LOOKUP, as SGIII has noted is an old and outdated function. That it is still supported in Numbers is likely to keep compatibility with older files that are opened in the newer versions of Numbers.
The 'wrong' answers you were getting are due to LOOKUP's lack of an "exact match" setting, and the default rule that the largest value less than or equal to the search value will be found and returned to the cell containing LOOKUP. Useful in its day, but less so now.
Regards,
Barry
PS:
The "Best Answer" button is intended to mark the post that supplied that answer, in this case, SG's, and to bring it to the position immediately after the question asked in the first post, where it is easier to find by others with a similar issue.
B.