@etolkk123 I don't say this lightly, but your doctor is full of shit.
Most baby formulas in the US are fortified with iron. For this reason, anemia is actually less of a concern for formula-fed babies than for breastfed babies.
Nutritional needs for most babies are met by formula or breastmilk...