In baked goods, stick butter, margarine and vegetable shortening are interchangeable (cup for cup). However, shortening should not be used in place of butter in fudge or other candy recipes.