As my title says, I tried inserting formula in a table cell but it goes outside the box. What can I do to make it fit within the table cell? I’m really struggling creating lab reports on libreoffice this way.
Without the slightest technical hint, it is impossible to answer. Modify your question (click on … below it, then on the “pencil” icon – don’t use a comment) to provide OS name, LO version and save format.
Is your “formula” an expression to compute a value or a mathematical formula designed with the Math formula editor? What are the properties of your table.
For ease of analysis, attach your file.