~に{代|か}わって/~に{代|か}わり
on behalf of …; in place of …; replacing …
N2
N + に{代|か}わって / に{代|か}わり / に{代|か}わる N
「~に{代|か}わって」 has two meanings: 'on behalf of someone' ({部長|ぶちょう}に{代|か}わって{挨拶|あいさつ}する) and 'replacing something old' ({人|ひと}に{代|か}わってロボットが{働|はたら}く). It follows a noun; 「に{代|か}わり」 is stiffer, and before a noun use 「に{代|か}わる」. It is somewhat formal and common in announcements and news. Do not confuse it with N3 「かわりに」, which also means 'in exchange' and follows verbs. Note the kanji {代|か}わる ('substitute'), not {変|か}わる ('change').
Examples
入院中の部長に代わって、鈴木さんが会議の進行を担当した。
Mr. Suzuki chaired the meeting in place of the department head, who is in hospital.
倉庫では、人に代わってロボットが重い荷物を運ぶようになった。
In the warehouse, robots now carry heavy loads instead of people.
石油に代わる新しいエネルギーの研究が進められている。
Research into new energy sources to replace oil is moving forward.
Exercises
1.本日は出張中の社長 、私からご挨拶を申し上げます。
2.最近は現金 、スマートフォンで支払いをする人が増えている。