なにかというと
on the least pretext; at every opportunity; whenever there is a chance; at the drop of a hat
Also written 何かと言うと、なにかと言うと
Expression
先生せんせいは何なにかと言いうと人ひとのことに口出くちだしする。
The teacher pokes his nose into everything.
あいつは何なにかと言いうと知しったかぶりをする。
Regardless of the subject, he pretends to know all about it.