How do you  remove spaces with a formula in excel?
 Step 1: Enter the formula =TRIM (A1) in the adjacent cell C1 and press the Enter key. Step 2: Select cell C1 and drag the fill handle down to the range cell that you want to remove the leading space. 