That's the ticket!
Informal way to say, "excellent; correct."
"First we'll go up the Sears Tower, and then we'll take a night sightseeing tour on the lake," Fran said. "That's the ticket!" Stan, an old inhabitant of Chicago, replied.
Categories:
Source: A Dictionary of American Idioms