A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Could you share us a test workbook without sensitive information to reproduce your issue?
For sharing a sample workbook, upload to OneDrive or any other cloud drives. Then post a link here.
You may try it on another machine. If it works on another machine. It could be corruption in office installation.
You can try repairing your Office installation. To do this, go to the 'Control Panel' on your computer, select 'Programs and Features', and then select 'Microsoft Office'. From there, select 'Change' and then select 'Repair'.