irrelevant vs that’s the ticket

irrelevant

adj
  • Not usefully related: not associated in any way that is important or useful to the context being discussed: not materially applicable; having connections not applicable in the present situation. 

  • Not at all related: totally unrelated, wholly unconnected, completely inapplicable. 

that’s the ticket

How often have the words irrelevant and that’s the ticket occurred in a corpus of books? (source: Google Ngram Viewer )