Open the data file, scroll down to the SCHEDULE section, and look for the well name in the WELSPECS (for surface i,j) or COMPDAT (completion connection i, j, k's)