You do not enter a W-2 for a dependent unless the dependent is your spouse. If the dependent is a child or some other person, they would have to file their own tax return if they meet the requirements to file.