One way to make yogurt work as a substitute is to choose a full-fat or Greek yogurt, which has a thicker, creamier texture that's more similar to sour cream. You can also try draining the excess liquid from the yogurt before using it, which will give it a more sour cream-like consistency. But, what about the flavor - will it be the same?
Can You Substitute Yogurt for Sour Cream? - How Much Yogurt Should Be
The flavor of yogurt and sour cream can be quite different, as yogurt has a milder, more neutral taste. However, you can always add a squeeze of lemon or a pinch of salt to give it a more tangy flavor, similar to sour cream. It's all about experimentation and finding the right balance of flavors.