I've always used buttermilk, sour cream and yogurt interchangeably for baked stuff, always with good
results. Most of the time they won't work well interchangeably in various nonbaked things, such as dips, dressings, sauces, etc. Also, yogurt or buttermilk cannot replace sour cream in cheesecakes.