Yes. OnlyOffice and Collabora open and save Word, Excel and PowerPoint files, both the current formats (.docx, .xlsx, .pptx) and the older ones (.doc, .xls, .ppt). Formatting, tables, images and charts are preserved.
People who send you files or receive files from you will not notice any difference. The only exception is complex Excel macros written in VBA. We check those with you before you switch.