Vai al contenuto principale

Come rimuovere gli spazi iniziali e finali in Excel?

Autore: Silvia Ultima modifica: 2024-05-11

In the world of data management, tidiness is key. Yet, pesky leading and trailing spaces can often sneak into your Excel sheets, causing discrepancies and headaches. Fortunately, Excel offers handy tools to swiftly eliminate these unnecessary spaces, ensuring your data stays clean and accurate. In this article, we'll explore two efficient methods to remove leading and trailing spaces in Excel.

Using the TRIM function in Excel to remove leading and trailing spaces

Rimuovi rapidamente tutti gli spazi iniziali e finali con Kutools per Excel


Using the TRIM function in Excel to remove leading and trailing spaces

Ecco la formula generica di TRIM funzione:

=TRIM (text)
Step 1: Input the TRIM formula

in cella C2, applicare la seguente formula, quindi premere il tasto entrare pulsante.

==TRIM(A2)
Passaggio 2: copia la formula sotto le celle per ottenere tutti i risultati

Consiglio: The TRIM function will not remove all space characters.

Cambia facilmente i numeri negativi in ​​positivi nell'intervallo specificato in Excel

Rispetto alla rimozione manuale del segno negativo dalle celle una per una, Kutools per Excel Cambia segno di valori fornisce un modo estremamente semplice per modificare rapidamente tutti i numeri negativi in ​​positivi nella selezione. Ottieni subito una prova gratuita completa di 30 giorni!

l'annuncio converte da negativo a positivo

Kutools for Excel - Potenzia Excel con oltre 300 strumenti essenziali. Goditi una prova GRATUITA di 30 giorni con tutte le funzionalità senza carta di credito richiesta! Get It Now


Rimuovi rapidamente tutti gli spazi iniziali e finali con Kutools per Excel

Confronta con il TRIM function in Excel, the Removing Spaces utility in Kutools for Excel provides more flexible way to remove all leading and trailing spaces in Excel. You can directly remove the space in the cell without moving them into other cells. More important, you can remove other kind of space in the cell, such as all excess space, all space and so on.

Nota: Per applicare questo Rimuovi spazi caratteristica, in primo luogo, è necessario scaricare e installare Kutools for Excel.

1. Select the cells that you want to modify. You can select some columns, rows or the entire worksheet.

2. Clic Kutools > Testo > Rimuovi spazie controlla il Spazi iniziali e finali option in the popup Rimuovi spazi dialogo. fare clic su OK.

Now you will see all leading and trailing spaces are removed instantly!

Consiglio: per utilizzare questa funzione è necessario installare Kutools for Excel prima, per favore fare clic per scaricare e avere una prova gratuita di 30 giorni ora.
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks. It helped me a lot
This comment was minimized by the moderator on the site
Respected Sir, Thank you so much for this great excel application. I had a big sheet & this apps make my work so easy. Thank you sir
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations