A detergent formulation for machine dishwashing, comprising, as components: a) 1 to 20% by weight of at least one copolymer which comprises, in copolymerized form, a1) 30 to 90% by weight of at least one monomer selected from the group consisting of acrylic acid, methacrylic acid and the salts thereof, a2) 3 to 60% by weight of at least one monomer comprising sulfo groups, selected from the group consisting of allysulfonic acid and 2-acrylamido-2-methylpropanesulfonic acid, a3) 3 to 60% by weight of at least one nonionic monomer of the formula I H 2 C=C(R 1) (CH 2) x O[R 2 -O] o -R 3 in which R 1 is hydrogen or methyl, R 2 are identical or different, linear or branched C 2 -C 6 -alkylene radicals which may be arranged in blocks or randomly, and R 3 is hydrogen or a straight-chain or branched C 1 -C 4 -alkyl radical, x is 0, 1 or 2 and o is a natural number from >5 to 50, a4) 0 to 30% by weight of one or more further ethylenically unsaturated monomers which are polymerizable with a1), a2) and a3), where the sum of a1), a2), a3) and a4) adds up to 100% by weight, b) 0 to 20% by weight of polycarboxylates other than component a), c) 0 to 50% by weight of complexing agents, d) 0 to 70% by weight of phosphates, e) 0 to 60% by weight of further builders and cobuilders, f) 0.1 to 20% by weight of nonionic surfactants, g) 0 to 30% by weight of bleaches and optionally bleach activators and bleach catalysts, h) 0 to 8% by weight of enzymes, i) 0 to 50% by weight of one or more further additives such as anionic or zwitterionic surfactants, alkali carriers, corrosion inhibitors, defoamers, dyes, fragrances, fillers, organic solvents, tabletting aids, disintegrants, thickeners, solubilizers and water, wherein the sum of components a) to i) adds up to 100% by weight. a) 1 to 20% by weight of at least one copolymer which comprises, in copolymerized form, a1) 30 to 90% by weight of at least one monomer selected from the group consisting of acrylic acid, methacrylic acid and the salts thereof, a2) 3 to 60% by weight of at least one monomer comprising sulfo groups, selected from the group consisting of allysulfonic acid and 2-acrylamido-2-methylpropanesulfonic acid, a3) 3 to 60% by weight of at least one nonionic monomer of the formula I H 2 C=C(R 1) (CH 2) x O[R 2 -O] o -R 3 in which R 1 is hydrogen or methyl, R 2 are identical or different, linear or branched C 2 -C 6 -alkylene radicals which may be arranged in blocks or randomly, and R 3 is hydrogen or a straight-chain or branched C 1 -C 4 -alkyl radical, x is 0, 1 or 2 and o is a natural number from >5 to 50, a4) 0 to 30% by weight of one or more further ethylenically unsaturated monomers which are polymerizable with a1), a2) and a3), where the sum of a1), a2), a3) and a4) adds up to 100% by weight, a1) 30 to 90% by weight of at least one monomer selected from the group consisting of acrylic acid, methacrylic acid and the salts thereof, a2) 3 to 60% by weight of at least one monomer comprising sulfo groups, selected from the group consisting of allysulfonic acid and 2-acrylamido-2-methylpropanesulfonic acid, a3) 3 to 60% by weight of at least one nonionic monomer of the formula I H 2 C=C(R 1) (CH 2) x O[R 2 -O] o -R 3 in which R 1 is hydrogen or methyl, R 2 are identical or different, linear or branched C 2 -C 6 -alkylene radicals which may be arranged in blocks or randomly, and R 3 is hydrogen or a straight-chain or branched C 1 -C 4 -alkyl radical, x is 0, 1 or 2 and o is a natural number from >5 to 50, a4) 0 to 30% by weight of one or more further ethylenically unsaturated monomers which are polymerizable with a1), a2) and a3), b) 0 to 20% by weight of polycarboxylates other than component a), c) 0 to 50% by weight of complexing agents, d) 0 to 70% by weight of phosphates, e) 0 to 60% by weight of further builders and cobuilders, f) 0.1 to 20% by weight of nonionic surfactants, g) 0 to 30% by weight of bleaches and optionally bleach activators and bleach catalysts, h) 0 to 8% by weight of enzymes, i) 0 to 50% by weight of one or more further additives such as anionic or zwitterionic surfactants, alkali carriers, corrosion inhibitors, defoamers, dyes, fragrances, fillers, organic solvents, tabletting aids, disintegrants, thickeners, solubilizers and water,