Ga naar hoofdinhoud

Hoe tel je het aantal keren dat in een kolom in het Google-blad voorkomt?

Stel dat u een lijst met namen heeft in kolom A van het Google-blad, en nu wilt u tellen hoe vaak elke unieke naam is verschenen zoals in het volgende screenshot. In deze tutorial zal ik het hebben over enkele formules voor het oplossen van deze taak in het Google-blad.

Tel het aantal keren dat voorkomt in een kolom in het Google-blad met de hulpformule

Tel het aantal keren dat een kolom voorkomt in een Google-blad met formule


Tel het aantal keren dat voorkomt in een kolom in het Google-blad met de hulpformule

Bij deze methode kunt u eerst alle unieke namen uit de kolom extraheren en vervolgens het voorkomen tellen op basis van de unieke waarde.

1. Voer deze formule in: = UNIEK (A2: A16) in een lege cel waar u de unieke namen wilt extraheren, en druk vervolgens op Enter key, zijn alle unieke waarden weergegeven als het volgende screenshot:

Note: In bovenstaande formule, A2: A16 zijn de kolomgegevens die u wilt tellen.

2. En ga dan verder met het invoeren van deze formule: = AANTAL.ALS (A2: A16; C2) druk naast de eerste formulecel op Enter toets om het eerste resultaat te krijgen, en sleep vervolgens de vulgreep naar de cellen waarvan u het voorkomen van de unieke waarden wilt tellen, zie screenshot:

Note: In bovenstaande formule, A2: A16 zijn de kolomgegevens waarvan u unieke namen wilt tellen, en C2 is de eerste unieke waarde die u heeft ge毛xtraheerd.


Tel het aantal keren dat een kolom voorkomt in een Google-blad met formule

U kunt ook de volgende formule toepassen om het resultaat te krijgen. Doe alstublieft als volgt:

Voer deze formule in: = ArrayFormula (QUERY (A1: A16 & {"", ""}, "selecteer Col1, count (Col2) waarbij Col1! = '' Groeperen op Col1 label count (Col2) 'Count'", 1)) in een lege cel waar u het resultaat wilt plaatsen en druk vervolgens op Enter sleutel, en het berekende resultaat is meteen weergegeven, zie screenshot:

Note: In bovenstaande formule, A1: A16 is het gegevensbereik inclusief de kolomkop die u wilt tellen.


Tel het aantal keren dat in een kolom in Microsoft Excel voorkomt:

Kutools for Excel's Geavanceerd Combineer rijen hulpprogramma kan u helpen bij het tellen van het aantal keren dat een kolom voorkomt, en het kan u ook helpen bij het combineren of optellen van overeenkomstige celwaarden op basis van dezelfde cellen in een andere kolom.

Kutools for Excel: met meer dan 300 handige Excel-invoegtoepassingen, gratis te proberen zonder beperking in 30 dagen. Download en probeer nu gratis!

Beste Office-productiviteitstools

馃 Kutools AI-assistent: Een revolutie teweegbrengen in de data-analyse op basis van: Intelligente uitvoering   |  Genereer code  |  Aangepaste formules maken  |  Analyseer gegevens en genereer grafieken  |  Roep Kutools-functies aan...
Populaire functies: Zoek, markeer of identificeer duplicaten   |  Verwijder lege rijen   |  Combineer kolommen of cellen zonder gegevens te verliezen   |   Ronde zonder formule ...
Super opzoeken: Meerdere criteria VLookup    VLookup met meerdere waarden  |   VOpzoeken over meerdere bladen   |   Fuzzy opzoeken ....
Geavanceerde vervolgkeuzelijst: Maak snel een vervolgkeuzelijst   |  Afhankelijke vervolgkeuzelijst   |  Multi-select vervolgkeuzelijst ....
Kolom Beheerder: Voeg een specifiek aantal kolommen toe  |  Kolommen verplaatsen  |  Schakel de zichtbaarheidsstatus van verborgen kolommen in  |  Vergelijk bereiken en kolommen ...
Uitgelichte functies: Raster focus   |  Ontwerpweergave   |   Grote formulebalk    Werkmap- en bladbeheer   |  resource Library (Auto-tekst)   |  Datumkiezer   |  Combineer werkbladen   |  Cellen coderen/decoderen    Stuur e-mails per lijst   |  Super filter   |   Speciaal filter (filter vet/cursief/doorhalen...) ...
Top 15 gereedschapsets12 Tekst Tools (toe te voegen tekst, Tekens verwijderen, ...)   |   50+ tabel Types (Gantt Chart, ...)   |   40+ Praktisch Formules (Bereken leeftijd op basis van verjaardag, ...)   |   19 Invoeging Tools (QR-code invoegen, Afbeelding invoegen vanaf pad, ...)   |   12 Camper ombouw Tools (Getallen naar woorden, Currency Conversion, ...)   |   7 Samenvoegen en splitsen Tools (Geavanceerd Combineer rijen, Gespleten cellen, ...)   |   ... en meer

Geef uw Excel-vaardigheden een boost met Kutools voor Excel en ervaar effici毛ntie als nooit tevoren. Kutools voor Excel biedt meer dan 300 geavanceerde functies om de productiviteit te verhogen en tijd te besparen.  Klik hier om de functie te krijgen die u het meest nodig heeft...

Omschrijving


Office-tabblad Brengt een interface met tabbladen naar Office en maakt uw werk veel gemakkelijker

  • Schakel bewerken en lezen met tabbladen in Word, Excel, PowerPoint in, Publisher, Access, Visio en Project.
  • Open en maak meerdere documenten in nieuwe tabbladen van hetzelfde venster in plaats van in nieuwe vensters.
  • Verhoogt uw productiviteit met 50% en vermindert honderden muisklikken voor u elke dag!
Comments (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
鍙互闄愬埗瑙勫畾鍐呭鍑虹幇鐨勯娆″悧
This comment was minimized by the moderator on the site
Thanks!!! how do I count multiple columns?Ie column A, B,C,D all have names that needs to be counted
This comment was minimized by the moderator on the site
Thank you for this! Been trying to figure it out for hours!
This comment was minimized by the moderator on the site
Hi, I am trying to filter out some data from a sheet that is regularly updated. To simplify keeping track of the data I have a reporting section on the google sheet.The problem is that the data isn't organized in the most ideal way.

There are 2 columns that I want to use specific data from to create a filter, then with the leftover names I want to know how many unique names there are


Column 1 - Filter with A for one report field, B for the other report field (I will manually change this in the formula)

Column 2 - There are 9 Text entries possible. I want to only include 3 of them as a Filter

Column 3 - There are a couple of thousand entries(names), many are the same in multiple rows. With the data filtered using Column 1, and Column 2, I want to get a number for how many unique names are left after the data has been filtered.


I am not used to having this many things I am trying to filter the data from so any help would be hugely appreciated.


Have an excellent day
This comment was minimized by the moderator on the site
I have a google sheet with a lot of information but I am looking to filter it down into a report.

Column1 - Options are A, B (The is the first data to sort)
Column 2 - has 3 of the text string that I want my sum to include, but I want to leave out the others 5.
Column 3 - Names that I want to know how many unique names there are

What I am looking to figure out is the following

Option A, the sum to only include 3 text string that appears multiple times in a 2nd column, The total being how many unique names there are in Column 3

Hoping someone can help as this is a bit over my experience level
This comment was minimized by the moderator on the site
My count isn't grouping the names together.
i.e.
Column B says
Independence
Walnut St.
Parkway
Walnut St.
and instead of my " count " column saying Walnut St. 2 it says
Walnut St. 1
Walnut St. 1

How can I fix this ?
This comment was minimized by the moderator on the site
This is partly what I'm looking for.
Now my next issue is, how can I sort these so that I get them in desending order?
So it should be looking like this:
James 4
Nicol 3
Ruby 3
Lucy 2
Tom 2
John 1

Hope you can help with that as well
This comment was minimized by the moderator on the site
Hi,
If you want to sort the results in descending order, you just need to sort the data by the formula result column after getting the result.
Hope it can help you!
This comment was minimized by the moderator on the site
Whenever I try to sort, I get an error, is there a way I can fix that? I have the $A$1:$A$7, B1 as my formula - is there something in my formula I should edit?
This comment was minimized by the moderator on the site
VERY useful - thank you so much!
This comment was minimized by the moderator on the site
Thanks! Super useful!
This comment was minimized by the moderator on the site
When you drag the handle down to apply it to the rest of the values, it increments the search radius by 1. So if youre searching =COUNTIF(A1:A10,C1), when you drag the handle down, the second value will be =COUNTIF(A2:A11,C2).
This comment was minimized by the moderator on the site
This is SOOO helpful! This skips an entire step
This comment was minimized by the moderator on the site
You fix it this way
=COUNTIF($A$2:$A$11,C2)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations