Formula

Can I mix different formulas together or is it bad for babies ? I recently changed my 3 month old formula but she still has half of the old one left and I would hate to waste or throw it away because formula is so expensive