Thats quite a switch for a lil one...it may be just your baby's way of adjusting to the formula.
It may take a few days, I know with my daughter, my doctor had me switch her from Dairy to Soy formula, and he said to be prepared, that she may take a few days to get used to it because its something new.And could spit up or even worse throw up.Luckiy she didnt have a bad reaction and only spit up a couple times. And formula doesnt break down as easily as breast milk, for the baby to digest.
Dont let it go on too long though, without talking to the baby's doctor, because the baby wont be gett'n the right nutrients by spitting it up all the time....and may be hungry more often too.( Kind of like you when ya have the flu, ya lose weight if ya keep throwing up)

good Luck!