Loncat ke daftar isi utama

Bagaimana cara menghitung / menjumlahkan hanya angka positif atau negatif di Excel?

Biasanya, mudah bagi kita untuk menjumlahkan atau menghitung rentang data dalam lembar kerja, tetapi di sini, saya hanya ingin menghitung atau menjumlahkan angka positif atau negatif. Apakah ada cara efektif untuk memecahkan masalah ini?

Hitung hanya angka positif atau negatif dalam rentang dengan rumus

Jumlahkan hanya angka positif atau negatif dalam rentang dengan rumus


Hitung hanya angka positif atau negatif dalam rentang dengan rumus

Di sini, fungsi COUNTIF dapat membantu Anda dengan cepat menghitung berapa banyak angka positif atau angka negatif dalam suatu rentang.

1. Untuk menghitung hanya nilai positif, dalam sel kosong, masukkan rumus ini = COUNTIF ($ A $ 1: $ D $ 7, "> 0") ke dalamnya, lihat tangkapan layar:

doc-count-positif1

2. Lalu tekan Enter kunci, dan semua angka positif telah dihitung dan hasilnya ditampilkan di sel. Lihat tangkapan layar:

doc-count-positif1

Catatan:

1. Jika Anda hanya ingin menghitung jumlah nilai negatif, gunakan rumus ini = COUNTIF ($ A $ 1: $ D $ 7, "<0").

2. Dan pada rumus di atas, A1: D7 adalah rentang data yang ingin Anda gunakan.


Jumlahkan hanya angka positif atau negatif dalam rentang dengan rumus

Di Excel, fungsi SUMIF dapat membantu Anda menjumlahkan hanya nilai positif atau nilai negatif. Anda dapat menerapkan rumus ini seperti ini:

1. Ketikkan rumus ini = SUMIF ($ A $ 1: $ D $ 7, "> 0") ke dalam sel kosong, lihat tangkapan layar:

doc-count-positif1

2. Lalu tekan Enter kunci, dan hanya semua angka positif yang telah ditambahkan.

doc-count-positif1

Catatan:

1. Untuk menjumlahkan semua angka negatif hanya dalam satu rentang, gunakan rumus ini = SUMIF ($ A $ 1: $ D $ 7, "<0").

2. Dalam rumus di atas, A1: D7 adalah rentang data yang ingin Anda gunakan.


Artikel terkait:

Bagaimana cara menjumlahkan / menghitung angka tebal dalam berbagai sel di Excel?

Bagaimana cara menghitung jumlah sel kesalahan / sel non kesalahan di Excel?

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 (15)
Rated 5 out of 5 1 ratings
This comment was minimized by the moderator on the site
=SUMIF($H$9:$H$39;">0") el car谩cter es ; no ,
This comment was minimized by the moderator on the site
Hello Sir, i need a solution/Formula to count negative numbers from different cells e.g i have three column of deposit (Current Account, Saving Account and Total Deposit) in 12 months and count in how many many months one branch miss the Current, saving and total budget. but when i use =countifs(C1,E1,F1.....,",0") but it only accept range not selected cell what will be the solution. thanks

e.g
This comment was minimized by the moderator on the site
Hello, i need a solution/Formula to count negative numbers from different cells e.g i have three column of deposit (Current Account, Saving Account and Total Deposit) in 12 months and count in how many many months one branch miss the Current, saving and total budget. but when i use =countifs(C1,E1,F1.....,",0") but it only accept range not selected cell what will be the solution. thanks
This comment was minimized by the moderator on the site
Gracias!! por fortuna escontre est谩 p谩gina donde encontr茅 Soluciones. 馃憤
Rated 5 out of 5
This comment was minimized by the moderator on the site
Bonjour 脿 tous,

je suis novice en excel. Existe il une fonction qui calcule automatiquement la diff茅rence entre deux nombres en incluant soit - o霉 + devant le r茅sultat.:
exemple, 1735-1685 = +50. (je l'ai fait avec la fonction somme automatique, mais je n'ai pas le + devant le r茅sultat.
Pouvez vous m'envoyer un exemple de la formule avec ces nombres
Cdlt
This comment was minimized by the moderator on the site
Hello, LYS
Normally, there isn't a function to sove your problem, but, you can apply the SUM function to get the results first, and then use the Format Cells feature to set +0;-0;0 for the numbers, please see the below screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-format-cells.png

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Thank you!!! This worked like a charm for my bank's annoying single "amount" column.
This comment was minimized by the moderator on the site
Thanks a lot!
This comment was minimized by the moderator on the site
How to use the Countif formula to count Positive AND Negative values but exclude ZEROS from the counting?

For example (data below):
1
3
0
-5
0
-1
7

The Total counting that I am expecting is equal to 5.

I thought the formula should be like =COUNTIF(N18:N320,"<>0")
But it is not working in the way that I imagined.
Can anyone help please?

Thanks,
Fernando
This comment was minimized by the moderator on the site
@Ferras,


=(COUNTIF(N18:N320,">0")+COUNTIF(N18:N320,"<0"))

Try it and let me know.
This comment was minimized by the moderator on the site
=COUNTIF(N18:N320,"<>0").....Works for me
This comment was minimized by the moderator on the site
how to change color of the cell automatically, according to profit and loss
This comment was minimized by the moderator on the site
How can I add only the numbers that will give me 0? Thank you
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