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.
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.