In frosting and whipped cream, powdered sugar is fine to use and even recommended. However, in all other applications it is not a good sugar substitute because it contains a small amount of cornstarch. That small amount can drastically affect a recipe with less than desired results.