expression
Used when one thing or person takes the place of another. Often follows a noun or noun phrase.
急用のため、私にかわり彼が出席します。
Due to urgent business, he will attend instead of me.
この書類は、旧版にかわり新版が使われます。
The new version of this document will be used, replacing the old one.
expression
Used when acting for someone else, often in formal or business contexts. Similar to の代わりに but with a slightly more formal tone.
社長にかわり、副社長がご挨拶申し上げます。
On behalf of the president, the vice president will give the greeting.