如何で(いかんで)/如何によって(いかんによって)

Usage

がどうかによって,; depending on ~; based on ~; according to ~ (formal / written).

Examples

電話に出た社員の対応如何で会社の印象が決まってしまう The company’s impression is determined by how the employee who answers the phone responds.
患者さんの気持ちの持ち方如何で、リハビリの効果も変わってきます The effectiveness of rehabilitation also changes depending on the patient’s mindset.