By the end of the year all but two people( ).
考查时态。将来完成时用来表示在将来某一时间以前已经完成或一直持续的动作,经常与 “by+ 将来时间 ” 或 “before+ 将来时问 ” 连用。句意为 “ 到年底,除了两个人,所有的人都已经走了 ” 。