Round monster hit points to the nearest 5 or 10 to make the math easier. Any time that tally is higher than the hit points of a single monster, remove a monster. Tally damage done to any member of the horde in a single tally.
This article offers a simple system for running dozens to hundreds of monsters in your D&D battles. New to Sly Flourish? Start Here! Running Hordes: The Lazy Way to Run Lots of D&D Monsters