If the doctor....
..Thinks it may be dairy in your diet
, than the solution is not to try formula
, it's to remove dairy from your diet.
Keep nursing, lose the formula, and if it comes out of the bottom end of a cow, avoid eating it ....That mean no milk, cream, butter, yogurt, or anything else that falls into the "dairy" category.