Ana içeriğe atla

Excel'deki ölçütlere göre benzersiz değerler nasıl toplanır?

Örneğin, aşağıda gösterilen ekran görüntüsü gibi Ad sütununa göre Sıra sütununda yalnızca benzersiz değerleri toplamak için Ad ve Sıra sütunlarını içeren bir veri aralığım var. Excel'de bu görevi hızlı ve kolay bir şekilde nasıl çözebilirim?

Dizi formülleriyle bir veya daha fazla ölçüt temelinde benzersiz değerleri toplama


Dizi formülleriyle bir veya daha fazla ölçüt temelinde benzersiz değerleri toplama

Başka bir sütundaki ölçütlere göre yalnızca benzersiz değerleri toplamak için lütfen aşağıdaki formülü kullanın:

1. Lütfen aşağıdaki dizi formülünü boş bir hücreye kopyalayın veya girin:

=SUM(IF(FREQUENCY(IF($A$2:$A$12=D2,MATCH($B$2:$B$12,$B$2:$B$12,0)),ROW($B$2:$B$12)-ROW($B$2)+1),$B$2:$B$12))

not: Yukarıdaki formülde, A2: A12 sütun verileri durum değerini içeriyor mu, D2 değerleri temel alarak toplamak istediğiniz durumdur, B2: B12 sütun, toplamak istediğiniz değerleri içerir.

2. Daha sonra, tuşuna basın. Ctrl + Üst Karakter + Enter ilk toplam sonucu almak için tuşlarını bir araya getirin ve ardından bu formül hücresini seçin ve her bir öğenin tüm toplam değerlerini almak için doldurma tutamacını hücrelere sürükleyin. Ekran görüntüsüne bakın:

İpuçları: Tüm benzersiz değerleri iki ölçüte göre toplamanız gerekiyorsa, lütfen aşağıdaki formülü uygulayın:

=SUM(IF(FREQUENCY(IF($A$2:$A$12=E2,IF($B$2:$B$12=F2,MATCH($C$2:$C$12,$C$2:$C$12,0))),ROW($C$2:$C$12)-ROW($C$2)+1),$C$2:$C$12))


Daha ilgili makaleler:

  • Excel'de Tek Ölçütlere Dayalı Birden Çok Sütun Toplama
  • Excel'de, her zaman bir ölçüte göre birden çok sütunu toplamanız gerekebilir. Örneğin, aşağıda gösterilen ekran görüntüsü gibi bir dizi veriye sahibim, şimdi, KTE'nin toplam değerlerini üç ay içinde almak istiyorum - Ocak, Şubat ve Mart.
  • Excel'de Satır veya Sütunlarda Vlookup ve Toplam Eşleşmeleri
  • Vlookup ve sum işlevini kullanmak, belirtilen kriterleri hızlı bir şekilde bulmanıza ve aynı anda karşılık gelen değerleri toplamanıza yardımcı olur. Bu yazıda, Excel'deki satırlarda veya sütunlarda ilk veya tüm eşleşen değerleri vlookup ve toplamanın iki yöntemini göstereceğiz.
  • Excel'de Ay ve Yıl Bazında Toplam Değerler
  • Bir dizi veriniz varsa, A sütunu bazı tarihler içerir ve B sütununda sipariş sayısı vardır, şimdi, sayıları başka bir sütundan ay ve yıla göre toplamanız gerekir. Bu durumda, aşağıdaki sonucu elde etmek için 2016 Ocak ayı toplam siparişlerini hesaplamak istiyorum. Ve bu yazıda, bu işi Excel'de çözmek için bazı püf noktalarından bahsedeceğim.
  • Excel'de Metin Ölçütlerine Dayalı Toplam Değerler
  • Excel'de, değerleri başka bir metin ölçütü sütununa göre toplamayı denediniz mi? Örneğin, aşağıdaki ekran görüntüsü gibi çalışma sayfasında bir dizi veriye sahibim, şimdi, B sütunundaki tüm sayıları, A sütunundaki metin değerlerine karşılık gelen, belirli bir kriteri karşılayan tüm sayıları toplamak istiyorum. A sütunundaki hücreler KTE içerir.
  • Excel'de Açılır Liste Seçimine Dayalı Toplam Değerler
  • Aşağıda gösterilen ekran görüntüsü gibi, bir Kategori sütunu ve Miktar sütunu içeren bir tablonuz var ve tüm kategorileri içeren bir veri doğrulama açılır listesi oluşturdunuz. Açılır listeden herhangi bir kategori seçerken, Sütun B'deki ilgili tüm hücre değerlerini toplamak ve sonucu belirli bir hücreye doldurmak istersiniz. Örneğin, açılır listeden CC kategorisini seçerken, B5 ve B8 hücrelerindeki değerleri toplamanız ve toplam 40 + 70 = 110 sayısını almanız gerekir. Nasıl başarılır? Bu makaledeki yöntem size yardımcı olabilir.

  • Süper Formül Çubuğu (birden çok metin ve formül satırını kolayca düzenleyin); Okuma Düzeni (çok sayıda hücreyi kolayca okuyun ve düzenleyin); Filtrelenmiş Aralığa Yapıştır...
  • Hücreleri / Satırları / Sütunları Birleştirme ve Verilerin Saklanması; Bölünmüş Hücre İçeriği; Yinelenen Satırları ve Toplam / Ortalamayı Birleştirme... Yinelenen Hücreleri Önleyin; Aralıkları Karşılaştır...
  • Yinelenen veya Benzersiz'i seçin Satırlar; Boş Satırları Seçin (tüm hücreler boştur); Süper Bul ve Bulanık Bul Birçok Çalışma Kitabında; Rastgele Seçim ...
  • Tam kopya Formül referansını değiştirmeden Birden Çok Hücre; Otomatik Referans Oluştur Birden Çok Sayfaya; Madde İşaretleri Ekle, Onay Kutuları ve daha fazlası ...
  • Sık Kullanılan ve Hızlı Eklenen Formüller, Aralıklar, Grafikler ve Resimler; Hücreleri Şifrele şifre ile; Posta Listesi Oluşturun ve e-posta gönder ...
  • Metni Çıkar, Metin Ekle, Konuma Göre Kaldır, Alanı Kaldır; Sayfalama Alt Toplamları Oluşturma ve Yazdırma; Hücre İçeriği ve Yorumları Arasında Dönüştür...
  • Süper Filtre (filtre şemalarını kaydedin ve diğer sayfalara uygulayın); Gelişmiş Sıralama ay / hafta / gün, sıklık ve daha fazlasına göre; Özel Filtre kalın, italik ...
  • Çalışma Kitaplarını ve Çalışma Sayfalarını Birleştirin; Tabloları anahtar sütunlara göre birleştirin; Verileri Birden Çok Sayfaya Bölme; Toplu dönüştürme xls, xlsx ve PDF...
  • Pivot Tablo Gruplaması hafta numarası, haftanın günü ve daha fazlası ... Kilidi Açılmış, Kilitli Hücreleri Göster farklı renklerle; Formülü / Adı Olan Hücreleri Vurgulayın...
kte sekmesi 201905
  • Word, Excel, PowerPoint'te sekmeli düzenlemeyi ve okumayı etkinleştirin, Publisher, Access, Visio ve Project.
  • Yeni pencereler yerine aynı pencerenin yeni sekmelerinde birden çok belge açın ve oluşturun.
  • Üretkenliğinizi% 50 artırır ve her gün sizin için yüzlerce fare tıklamasını azaltır!
ofis tabanı
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have column "A" listed with various Part nos. Say 50 parts. Each of these 50 parts will be repeated more than once. I column B where in for each of these part nos stock qty say for particular part no 1000 is the qty. This 1000 Qty is shown againt that particular part no in whichever cell it comes in column 'A".

The problem i am facing is sum total of column B is not correct as stock qty is shown n-number of times that particular part finds place in column A.

How do i avoid totaling up this repeated stock qty of one unique part. Say part no P1001 stock is 1000nos. If delivery date of this part P1001 is

Part no..Date.............Qty......Stock
P1001....05-10-22 .....150......1000
P1001....06-10-22......200.....1000
P1001....07-10-22.......250.....1000

in the above table stock is only 1000 but it shows against each delivery date the same stock qty. But when i want to sum the total stock of all part nos it should not take 1000 3 times but only 1 time. How do this?
This comment was minimized by the moderator on the site
Hello, Pugazh
Did you want to sum only the unique stock based on the part number?
Or you can give your problem as a creenshot here, so that, we can understand more clearly.
Thank you!
This comment was minimized by the moderator on the site
Hi,

I was wondering if there was a formula for three criteria? Or if there's a process/logic to follow for more than two criteria ?

Many thanks,
Gus
This comment was minimized by the moderator on the site
Hello, Gus,
If there are three criteria of your data, to sum the unique values, please apply the below array formula:
=SUM(IF(FREQUENCY(IF($A$2:$A$10=F2,IF($B$2:$B$10=G2,IF($C$2:$C$10=H2,MATCH($D$2:$D$10,$D$2:$D$10,0)))),ROW($D$2:$D$10)-ROW($C$2)+1),$D$2:$D$10))

After inserting the formula, please press press Ctrl + Shift + Enter keys together to get the result. see below screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-sum-unique.png
Please have a try, thank you!
This comment was minimized by the moderator on the site
Hi,
I would like to sum based on two unique criteria, is this possible?
In the second example, rather than James and October being the specific criteria, James would stay the specific element, and the formula would sum based on the name and the month being unique.
Many thanks
Louise
This comment was minimized by the moderator on the site
Hola me podrias ayudar deseo sumar o contar solo valores unicos de fechas especificas me puedes ayudar ya que la formula =SUM(IF(FREQUENCY(IF($A$2:$A$12=D2,MATCH($B$2:$B$12,$B$2:$B$12,0)),ROW($B$2:$B$12)-ROW($B$2)+1),$B$2:$B$12)) me sirve pero como esta en ingles no se como colocarla, te agradezco mucho
This comment was minimized by the moderator on the site
Hello Jorge,

Formula: =SUM(IF(FREQUENCY(IF($A$2:$A$12=E2,IF($B$2:$B$12=F2,MATCH($C$2:$C$12,$C$2:$C$12,0))),ROW($C$2:$C$12)-ROW($C$2)+1),$C$2:$C$12))

Translate the English version formula into the Spanish version:
=SUMA(SI(FRECUENCIA(SI($A$2:$A$12=E2,SI($B$2:$B$12=F2,COINCIDIR($C$2:$C$12,$C$2:$C$12,0))),FILA($C$2:$C$12)-FILA($C$2)+1),$C$2:$C$12))

Please have a try.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
This doesn't actually work as I would have expected. The formula is only counting the unique criteria.

James had 700 units ordered in the first example, yet the total says 600.

The formula won't count his orders that contain the same qty because they are unique. Is there a way to modify this formula so you can get an actual total of all of James' orders?

The second formula has the same issue. James ordered 400 units, not 300 as shown in the summary. 
This comment was minimized by the moderator on the site
Hello, kc, May be the below article can solve your problem, please try:https://www.extendoffice.com/documents/excel/2471-excel-sumif-multiple-criteria.html
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations