Make the change gradual, by switching out portions of the formula slowly, building up over a few days. It will be easier on your baby if the change is unnoticeable. And as always, ask your pediatrician for formula recommendations, so you'll know what formula is right for your baby.
You have to do it slowly so you don't cause your daughter to get diarrhea. Try mixing some of the old with some of the new for now. Once your child has been drinking both for a while she can switch to just the new stuff and get off the old.
If switching brands, try mixing half and half old formula with new formula. If your child more readily eats the mixture, then switch to the new formula.
Always discuss a change of formula with your doctor. Each baby has different needs and may get used to the taste if it's a formula that is medically necessary.