In this article, you will learn how to use the TRIM formula in Excel.
The TRIM function in Excel is used to remove extra spaces from a text string, leaving only a single space between words.
The TRIM formula can be useful when dealing with data that has been copied and pasted from other sources as you can remove extra characters from your data and make it easier to work with.
1. Select the cell where you want to display the trimmed string.
2. Type the following formula into the cell: =TRIM(
3. The cell should now display the trimmed text string with no extra spaces.
Syntax:
where input is the text which you want to remove extra space from.
See below for how the formula is used:
Are you learning this formula to visualize financial data, build a financial model, or conduct financial analysis? In that case, LiveFlow may help you automate manual workflows, update numbers in real-time, and save time. You can access various financial templates on our website, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. Are you interested in this product but are an Excel user? That’s not a problem at all. You can connect Google Sheets to Excel quickly.
To learn more about LiveFlow, book a demo.
You can learn about other Excel and Google Sheets formulas and tips that are not mentioned here on this page: LiveFlow‘s How to Guides
Learn how to do this step-by-step in the video below 👇