Learn how to use the TRIM function in Excel. Remove spaces before, between and after text. Remove extra spaces to fix a VLOOKUP formula.