Gassiness vs. constipation on similac

Hi All. My baby girl is 8 weeks old and is EFF. I started her on similac advanced and she was on that for several weeks and was very gassy and lots of hiccups, very irritable especially when eating. I've tried gas drops and gripe water. Gripe water works but I have to give it at every feeding. So I decided to try similac sensitive and she was on that for about two weeks, the gassiness and irritability improved greatly but she was getting constipated. Her poop was like a formed patty and she was straining. I gave her the mommys bliss probiotic drops and some extra water In her bottle which helped a little bit. He longest she went without popping was 24 hours. I got worried so I switched her back to the advanced and now she's just so gassy and fussy! Any recommendations? My pediatrician is no help what so ever.