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))
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.