The words "some" and "any" have almost the same meaning. But you use "some" in positive sentences:
He didn't study at a four-year university, but he does have some formal training.
"Any" is used in negative sentences like this:
It's also used in questions, like:
Is there any tea left?