Hi Robert,
Have you had a chance to look into the attachment?
There is everything paramerized ;-) but for the sake of readability i wrote hardcoded versions in the text.

May be it is worth noting, that Robert's way:
=MATCH(SMALL(C8:C20,D7),C8:C20,0)
formula will return the number of the row within the table, while my proposition
=MATCH(SMALL(C8:C20,3),C$1:C20,0)
returned the sheet row number