The problem generally pops up when you try to start the second installation of Microsoft Office before the first installation is not yet complete.
This can also occur when you restarted your computer before completing the current office installation.
Solution For Something Went Wrong “Sorry We Ran Into A Problem”:
Please follow below steps for basic troubleshooting:
Windows 10
- From the Start screen, type Control Panel
- Then click on Control Panel > Programs > Programs and Features.
- Select your Microsoft Office program, and then click Change.
- Select Online Repair, and then click Repair.
Did the online repair solve your problem?
If Online Repair does not resolve this issue, or if you do not see Office 365 or Office 2019 in Programs and Features, follow these steps:
- Remove Office 2019 or Office 365.
- Restart the computer.
- Reinstall Office 2019 or Office 365.
https://www.officelivesupport.com/something-went-wrong-sorry-we-ran-into-a-problem/