There are a few ways to remove spaces in Excel. One way is to select the cells with the spaces and then press the delete key. Another way is to use the "trim" function. To use the trim function, select the cells with the spaces and then go to the "home" tab and click on the "format" button. Then select "text" and click on the "trim" button. This will remove all of the spaces from the cells.