Any advice?

Guys I am in complete denial. Back story, my 2 month old has had her formula changed 2  times already. Started with Similac advance, Similac sensitive, now on Similac total comfort. Reasons why its been changed is because she is screaming bloody murder when she poops. Well now we are on this 3rd formula (Similac total comfort) and been on it for about 2 weeks and now she is so constipated that she is screaming bloody murder pooping hard balls and it's got blood in it. She had a normal poop last Monday but she cried while doing it. She pooped one hard ball like 4 or 5 days ago and yesterday she screamed trying to push out a hard ball that came with blood.(think because the ball was so hard) I took her to the doctor today and he told me try and give her 1oz of prune juice with 1oz of water 2 times a day. He said that if that didn't work in a few days that we could talk about changing formulas again or seeing a GI doctor. I told him to go ahead and make me a GI appointment because this shit is rough and I don't think I can go a few more days of this torture if the prune juice doesn't work.  Like I'm not understanding wtf is going on. She is 10 weeks old and she hasn't shit once without screaming bloody murder. I will not stop until something is figured out. I hate seeing my baby in so much pain. I literally cried with her yesterday while she was trying to poop. Does anyone have any advice or been in this position before?