in that case vs thereby

in that case

adv
  • If that is the way things are, if that's the case. 

thereby

adv
  • By it; by that; by that means, or as a consequence of that. 

How often have the words in that case and thereby occurred in a corpus of books? (source: Google Ngram Viewer )