Přejít k hlavnímu obsahu

Jak odstranit úvodní a koncové mezery v aplikaci Excel?

Autor: Zhoumandy Naposledy změněno: 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

Pomocí aplikace Kutools pro Excel můžete rychle odstranit všechny přední a zadní mezery


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

Zde je obecný vzorec TRIM funkce:

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

V cele C2, použijte následující vzorec a stiskněte tlačítko vstoupit .

=TRIM(A2)
Krok 2: Zkopírujte vzorec dolů do buněk níže, abyste získali všechny výsledky

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

Snadno změňte záporná čísla na kladná ve specifikovaném rozsahu v aplikaci Excel

Ve srovnání s ručním odstraněním negativního znaménka z buněk, Kutools pro Excel Změnit znaménko hodnot Tato funkce poskytuje extrémně snadný způsob, jak rychle změnit všechna záporná čísla na pozitivní při výběru. Získejte 30denní plnohodnotnou bezplatnou zkušební verzi!

reklama převést negativní na pozitivní

Kutools pro Excel - Supercharge Excel s více než 300 základními nástroji. Užijte si plnohodnotnou 30denní zkušební verzi ZDARMA bez nutnosti kreditní karty! Get It Now


Pomocí aplikace Kutools pro Excel můžete rychle odstranit všechny přední a zadní mezery

Porovnejte s TRIM function in Excel, the Removing Spaces utility in Kutools pro 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.

Poznámka: Použít toto Odebrat mezery Nejprve byste si měli stáhnout a nainstalovat Kutools pro Excel.

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

2, klikněte Kutools > Text > Odebrat mezery, a zkontrolujte Přední a koncové mezery option in the popup Odebrat mezery dialog. klepněte na tlačítko OK.

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

Tip: Chcete-li používat tuto funkci, měli byste nainstalovat Kutools pro Excel nejprve, prosím kliknutím stáhněte a získejte 30denní bezplatnou zkušební verzi nyní.
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