Problem:

The typed manuscript of a book was divided into five files.
Columns B & C contain the numbers of the first and last page included in each of the files.
We want to retrieve the file name corresponding to each page number listed in column E.

Solution:

Use the INDEX and MATCH functions as shown in the following formula:
=INDEX($A$2:$A$6,MATCH(E2,$B$2:$B$6))