Using the word "in" means that the action takes place at the same time as something. However "by" is used to denote the manner or reason something was done. So "in doing so" actually means "while doing so", but "by doing so" means "because I did so".
What is the meaning of by doing so?
By doing so means 'as a result of that action'. He tied his shoelaces. In doing so, he hurt his back. He tied his shoelaces. By doing so, he was able to run without tripping.
How do you use doing so?
in doing so in a sentence
- Prime Minister Ranil Wickremesinghe has taken a calculated risk in doing so.
- In doing so they can change our sense of the beautiful.
- In doing so, the worms rapidly turned themselves into knockout versions.
- In doing so they raise it to the level of idolatry.