To hit the nail on the head
Said when someone identifies or says exactly the right thing. The Spanish equivalent of the English idiom.
—I think the problem is communication. —You've hit the nail on the head.
With that comment, she hit the nail on the head.
—Is that what you meant? —Exactly, you hit the nail on the head.