Thank you for your query.
If your child is passing more than 5-6 loose stools in 24 hours than a stool routine examination and treatment is warranted. It is good that vomitings have stopped.
Ensure that bottle hygiene is maintained as you mention that he started having diarrhoea
once you re-started formula feed.
I hope I have answered your query to your satisfaction.