Consider a sum ∑1NYi of random variables conditioned on a given value of the sum ∑1NXi of some other variables, where Xi and Yi are dependent but the pairs (Xi,Yi) form an i.i.d. sequence. We consider here the case when each Xi is discrete. We prove, for a triangular array ((Xni,Yni)) of such pairs satisfying certain conditions, both convergence of the distribution of the conditioned sum (after suitable normalization) to a normal distribution, and convergence of its moments. The results are motivated by an application to hashing with linear probing; we give also some other applications to occupancy problems, random forests, and branching processes.