forty ways from Sunday

forty ways from Sunday

Thoroughly or completely; in every possible way; from every conceivable angle. Everyone had their money on the reigning champion, but he was beaten forty ways from Sunday by the newcomer. We researched the case forty ways from Sunday, but there didn't seem to be any way that we could win with the evidence at hand.
See also: forty, Sunday, way