Hello, your daughter might be suffering from recurrent infection due to formula milk that has been given instead of breast milk. An another possibility is that she might be suffering from Congenital Lactose Intolerance
,which can be diagnosed from few tests for which you have to consult your pediatrician
. In either case, you can avoid dehydration
by giving Low osmolarity WHO ORS
formula frequently in the amount similar to that baby is loosing in stool. Also, you have to consult your pediatrician as early as possible. Thank you.