Fetching details from the dictionary...

substitute; replacement; substituting; replacing
stand-in; proxy; alternate; deputy; relief; successor
compensation; exchange; return
another helping; second helping; seconds; refill
upcoming program; upcoming programme
彼の代わりに出席しました。
I attended in his place.
部長の代わりを務めることになった。
I ended up serving as the manager's stand-in.
お茶の代わりにコーヒーを飲む。
I drink coffee instead of tea.