In Danish there's a saying:
Intet er skidt uden at være godt for noget
Which means (literally)
Nothing is bad without being good for something.
I want to say that this exact wording is also a saying that English people will recognize (not just understand), but Google returns only one result which seems to be from another Dane, so now I'm beginning to have doubt. If this particular wording isn't common in English, is there another saying or idiom with the same meaning?