A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Have you tried using Tab rather than return?
There are newer releases of both macOS & Office... Tahoe is at 26.4 & 16.107.3 is current for Office. Update the OS first then update Office. Updating may not resolve the issue but it's usually pointless to troubleshoot a system which isn't fully updated, especially with relatively new incarnations of the OS.