Ugrás a tartalomra

Hogyan lehet eltávolítani a vezető és a záró szóközt az Excelben?

Szerző: Zhoumandy Utolsó módosítás: 2024-05-13

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

Gyorsan távolítson el minden kezdő és záró szóközt a Kutools for Excel segítségével


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

Itt van az általános képlet TRIM funkció:

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

A cellában C2, alkalmazza a következő képletet, majd nyomja meg a gombot belép gombot.

=TRIM(A2)
2. lépés: Az összes eredmény eléréséhez másolja le a képletet az alábbi cellákba

típus: The TRIM function will not remove all space characters.

Könnyen módosíthatja a negatív számokat pozitívra az Excel meghatározott tartományában

Összehasonlítva a negatív előjel egyenkénti eltávolításával a cellákból, a Kutools for Excel Az értékek megváltoztatása Ez a funkció rendkívül egyszerű módot kínál az összes negatív szám pozitívra váltására a kiválasztás során. 30 napos, teljes értékű ingyenes próbaverzió most!

a hirdetés negatívból pozitívra konvertál

Kutools az Excel számára - Töltse fel az Excelt több mint 300 alapvető eszközzel. Élvezze a teljes funkcionalitású 30 napos INGYENES próbaverziót hitelkártya nélkül! Szerezd meg most


Gyorsan távolítson el minden kezdő és záró szóközt a Kutools for Excel segítségével

Compare with the TRIM function in Excel, the Removing Spaces utility in Kutools az Excel számára 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.

Jegyzet: Ennek alkalmazásához Távolítsa el a Spaces elemet funkciót, először is le kell töltenie és telepítenie kell Kutools az Excel számára.

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

2. Kattints Kutools > szöveg > Távolítsa el a Spaces elemet, és ellenőrizze a Vezető és utóterek option in the popup Távolítsa el a Spaces elemet párbeszéd. kattintson az OK gombra.

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

típus: A funkció használatához telepítenie kell Kutools az Excel számára először, kérem kattintson a letöltéshez, és 30 napos ingyenes próbaverziót kap most.
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