Loncat ke daftar isi utama

Bagaimana cara menghapus spasi terdepan dan tertinggal di Excel?

Penulis: Zhoumandy Terakhir Dimodifikasi: 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

Hapus semua spasi terdepan dan tertinggal dengan Kutools for Excel dengan cepat


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

Berikut adalah rumus umum dari TRIM fungsi:

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

dalam sel C2, terapkan rumus berikut, lalu tekan tombol Enter .

=TRIM(A2)
Langkah 2: Salin rumus ke bawah sel untuk mendapatkan semua hasil

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

Ubah angka negatif menjadi positif dengan mudah dalam kisaran yang ditentukan di Excel

Membandingkan dengan menghilangkan tanda negatif dari sel satu per satu secara manual, Kutools for Excel's Ubah Tanda Nilai Fitur menyediakan cara yang sangat mudah untuk dengan cepat mengubah semua bilangan negatif menjadi positif yang dipilih. Dapatkan uji coba gratis fitur lengkap selama 30 hari sekarang!

iklan mengubah negatif menjadi positif

Kutools untuk Excel - Tingkatkan Excel dengan lebih dari 300 alat penting. Nikmati uji coba GRATIS 30 hari berfitur lengkap tanpa memerlukan kartu kredit! Get It Now


Hapus semua spasi terdepan dan tertinggal dengan Kutools for Excel dengan cepat

Compare with the TRIM function in Excel, the Removing Spaces utility in Kutools untuk 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.

Catatan: Untuk menerapkan ini Hapus Spaces fitur, pertama, Anda harus mengunduh dan menginstal Kutools untuk Excel.

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

2. Klik Kutools > Teks > Hapus Spaces, dan periksa Ruang terdepan & tertinggal option in the popup Hapus Spaces dialog. klik OK.

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

jenis: Untuk menggunakan fitur ini, Anda harus menginstal Kutools untuk Excel pertama, silakan klik untuk mengunduh dan dapatkan uji coba gratis 30 hari sekarang.
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