@trice602 's solution would work in cloud flows. But if I read your description correctly, I think you are looking for a solution using desktop flows.
As to your question, there are plenty of resources online that are very easy to find. A quick Google search returned this on using the Find and replace in Excel worksheet: https://www.serverlessnotes.com/docs/find-and-replace-in-excel-using-power-automate-desktop
You can likely also find more articles and videos. You probably shouldn't expect to find one that does exactly everything you need, but you can easily find tutorials on the separate parts of your flow - namely using Excel and using SQL.
If you want us to suggest the steps, we would need more details on what you are trying to do exactly, with sample data. Otherwise, you could share screenshots of your flow and describe what exactly it is that doesn't work and then we can come up with suggestions on how to fix that.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.