Hi,
Are you trying to do these things in Excel from within Teams, so the web version of Excel.
If so, it is worth pointing out that the web version does not have the full functionality of the desktop version.
So in the first instance I would choose the option the open in Excel and see if the same issue is present?
Thanks
Henry