Loncat ke daftar isi utama

Bagaimana cara menetapkan nomor seri untuk menggandakan atau nilai unik di Excel?

Jika Anda memiliki daftar nilai yang berisi beberapa duplikat, apakah mungkin bagi kami untuk menetapkan nomor urut ke nilai duplikat atau unik? Ini berarti memberikan urutan berurutan untuk nilai duplikat atau nilai unik seperti gambar berikut yang ditampilkan. Artikel ini, saya akan berbicara tentang beberapa rumus sederhana untuk membantu Anda menyelesaikan tugas ini di Excel.

doc menetapkan duplikat unik 1

Tetapkan nomor seri untuk menggandakan nilai dengan Formula

Tetapkan nomor seri ke nilai unik dengan Formula


panah gelembung kanan biru Tetapkan nomor seri untuk menggandakan nilai dengan Formula

Untuk memesan nilai duplikat, harap terapkan rumus berikut:

Masukkan rumus ini: = COUNTIF ($ A $ 2: A2, A2) ke dalam sel kosong di samping data Anda, lalu seret gagang isian ke sel yang ingin Anda terapkan rumus ini, dan nilai sel telah ditetapkan berdasarkan nilai duplikat, lihat tangkapan layar:

doc menetapkan duplikat unik 2


panah gelembung kanan biru Tetapkan nomor seri ke nilai unik dengan Formula

Untuk menetapkan nomor seri ke nilai unik, rumus di bawah ini mungkin membantu Anda:

Masukkan rumus ini: =IF(COUNTIF(A$2:A2,A2)=1,MAX(B$1:B1)+1,VLOOKUP(A2,A$1:B1,2,0)) ke dalam sel kosong di samping data Anda, lalu seret gagang isian ke sel yang ingin Anda terapkan rumus ini, dan nilai unik telah diurutkan seperti gambar berikut yang ditampilkan:

doc menetapkan duplikat unik 3

Catatan:

1. Dalam rumus di atas, A2 adalah sel berisi nilai yang ingin Anda tetapkan, B1 adalah sel di atas tempat rumus Anda berada.

2. Rumus ini juga dapat diterapkan ke nilai dalam daftar yang diurutkan, dan Anda akan mendapatkan hasil seperti yang Anda inginkan:

doc menetapkan duplikat unik 4

Alat Produktivitas Kantor Terbaik

馃 Kutools AI Ajudan: Merevolusi analisis data berdasarkan: Eksekusi Cerdas   |  Hasilkan Kode  |  Buat Rumus Khusus  |  Analisis Data dan Hasilkan Grafik  |  Aktifkan Fungsi Kutools...
Fitur Populer: Temukan, Sorot, atau Identifikasi Duplikat   |  Hapus Baris Kosong   |  Gabungkan Kolom atau Sel tanpa Kehilangan Data   |   Putaran tanpa Formula ...
Pencarian Super: VLookup Beberapa Kriteria    VLookup Nilai Berganda  |   VLookup di Beberapa Lembar   |   Pencarian Fuzzy ....
Daftar Drop-down Lanjutan: Buat Daftar Drop Down dengan Cepat   |  Daftar Drop Down yang Bergantung   |  Multi-pilih Drop Down List ....
Manajer Kolom: Tambahkan Jumlah Kolom Tertentu  |  Pindahkan Kolom  |  Alihkan Status Visibilitas Kolom Tersembunyi  |  Bandingkan Rentang & Kolom ...
Fitur Unggulan: Fokus Kisi   |  Tampilan Desain   |   Bar Formula Besar    Manajer Buku Kerja & Lembar   |  Perpustakaan Sumberdaya (Teks otomatis)   |  Pemetik tanggal   |  Gabungkan Lembar Kerja   |  Enkripsi/Dekripsi Sel    Kirim Email berdasarkan Daftar   |  Filter Super   |   Filter Khusus (filter tebal/miring/coret...) ...
15 Perangkat Teratas12 Teks Tools (Tambahkan Teks, Hapus Karakter, ...)   |   50 + Grafik jenis (Gantt Chart, ...)   |   40+ Praktis Rumus (Hitung usia berdasarkan ulang tahun, ...)   |   19 Insersi Tools (Masukkan Kode QR, Sisipkan Gambar dari Jalur, ...)   |   12 Konversi Tools (Angka ke Kata, Konversi Mata Uang, ...)   |   7 Gabungkan & Pisahkan Tools (Lanjutan Gabungkan Baris, Pisahkan Sel, ...)   |   ... dan banyak lagi

Tingkatkan Keterampilan Excel Anda dengan Kutools for Excel, dan Rasakan Efisiensi yang Belum Pernah Ada Sebelumnya. Kutools for Excel Menawarkan Lebih dari 300 Fitur Lanjutan untuk Meningkatkan Produktivitas dan Menghemat Waktu.  Klik Di Sini untuk Mendapatkan Fitur yang Paling Anda Butuhkan...

Deskripsi Produk


Tab Office Membawa antarmuka Tab ke Office, dan Membuat Pekerjaan Anda Jauh Lebih Mudah

  • Aktifkan pengeditan dan pembacaan tab di Word, Excel, PowerPoint, Publisher, Access, Visio, dan Project.
  • Buka dan buat banyak dokumen di tab baru di jendela yang sama, bukan di jendela baru.
  • Meningkatkan produktivitas Anda sebesar 50%, dan mengurangi ratusan klik mouse untuk Anda setiap hari!
Comments (23)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Soluci贸n bastante sencilla y funciona bien.
This comment was minimized by the moderator on the site
Getting NA result for more than 200 cells
This comment was minimized by the moderator on the site
Thanks for the formula, my only problem is that I want the generated 'unique identifiers' to be locked/linked to the 'values' but whenever I sort the table, the identifiers always remain in the same spot. Is there a way so that they stay linked to one another?

For example, I am using this code to assign serial numbers to customers, these need to be permanently assigned to one another as they do not change. However, when I sort the table by date, customers or anything at all that re-arranges the data. The serial numbers all get mixed up.
This comment was minimized by the moderator on the site
How to Convert a Cell Containing


A1 = Apple, Orange, Banana, Grapes

to

A1 = 1. Apple, 2. Orange, 3. Banana, 4. Grapes
This comment was minimized by the moderator on the site
Hello there,

If i want the formula to have alphabet infront is it possible?

DO123455 =A1
DO123455 =A1
DO223344 = A2
DO223344 = A2
DO567890 = A3

Appreciate if you can assist on my problem.

Thank you

YT Kong
This comment was minimized by the moderator on the site
Hi, i want some help, i need my data right this:

A 1
A 2
A 3
B 1
B 2
C 1
D 1
C 1
C 2
B 1
E 1
E 2
A 1
I need taht when it finds a new value starts since 1, every time. Is it posible ?
This comment was minimized by the moderator on the site
=COUNTIF(G$2:G2,G2)
=COUNTIF(G$2:G3,G3)
This comment was minimized by the moderator on the site
I want serial number start from 1 when it encounter new series
Like
AA - 1
BB - 1
AA - 2
CC -1
DD -1
AA - 3
BB - 2

Is this possible?
This comment was minimized by the moderator on the site
possible, simple guys=IF(COUNTIF(A$2:A7;A7)>=1;COUNTIF(A$2:A7;A7);VLOOKUP(A7;A$2:W6;23;0)+1)
This comment was minimized by the moderator on the site
=COUNTIF(G$2:G2,G2)
=COUNTIF(G$2:G3,G3)
This comment was minimized by the moderator on the site
Is it possible to do this with power query, and not with the vlookup formula?
This comment was minimized by the moderator on the site
Is it possible to assign such serial numbers within the same cell? I have a sheet that does this using a macro, but I cannot access the macro (password protected) to see how they did it.
Disclaimer: I have permission to access the macros, but it is an old sheet and the passwords are lost.
This comment was minimized by the moderator on the site
hai pls help

i have a series of data and i want this type of results
item product sequence number
a powder 1
a juice 2
b preprocess 2
b process 3
b jucie 1
c powder 1
c juice 2
c preprocess 3
c procss 4


want sequence number based on item and product column
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations