How To Count Unique Items In A Column In Excel Adjust For Data Filter
127 comments to "How to count unique values in Excel an easy fashion"
-
-
Howdy,
I desire to count what is the number of rooms based on the date entered and jail cell color. If at that place is no date entered, I don't want information technology to be counted. The rooms is arranged in multiple rows and column.
As example, the total number of blue cells is 458. In that 458, 110 cells take engagement meanwhile the rest is empty. So, how practise I write formula for this as I am dealing with multiple colours as well.
-
Hi, I'm trying to count unique values with multiple criteria but nothing seems to fit what I demand.
I have a canvas with data and a sheet with results within the same book.
In a prison cell on the results sheet I am trying to count the number of unique items (task number) on the data canvas that lucifer two sets of criteria, because the same criteria could accept multiple lines under the same task number (for different months).Eg on the data sheet:
Job# Calendar month Customer Status
123 January Joe's jugs Closed
123 February Joe's jugs Closed
124 Jan Joe's lamps Open
125 Feb Jim'due south tables Airtight
126 February Joe'southward pots ClosedI'g looking for the number of jobs on any account that belongs to Joe (so using a wildcard that Sumproduct tin't handle) that are closed, just with unique job numbers (due to the spillover of chore into other months). ie I'm trying to go a formula to requite me a outcome of 2 [job 123 and 126], merely tin't find anything that works. Closest I've come up is COUNTIFS, merely I can't remove the duplicate job numbers so it will give me iii [job 123 twice plus 126]. If I endeavour to incorporate UNIQUE into that I get a SPILL error.
-
Hello -
I'g trying to count the numbers of new projects in a certain type of work. Within a project might be multiple jobs, so i'1000 trying to count the unique project number past job blazon.I'm using the IFERROR(ROWS(UNIQUE(range, criteria_range=criteria))), 0) formula, only it is not pulling the expected results. It too changes the results if the table is filtered differently.
Is there a way to send you lot my excel sheet for more info?
=IFERROR(ROWS(UNIQUE(FILTER("Range of Project #'south","Range of task Types"="Job Blazon expect for count of"))),0)Thanks!
Republic of chad -
Hi, As per shared expample for Count unique values with criteria, I desire to detect the count of multiple sport for winners. Ways if Andrew having intrest in ii sports (like basketball- two and Hockey-ane). I want reply number ii.
-
in sheet1 at A:A i have data as medicine names, At sheet ii from C:C i want to create autocomplete drop down list from the data , which should complete past merely ii-3 letters, based on data at sheet1
please assist
-
Hi,
I am trying to make up one's mind the amount of "New Customers" nosotros received in a given FY. This data has opportunities that are split between reps, giving me an extra "New Customer" since it has a unlike opportunity ID. I am trying to use countif in a cavalcade by "New Customer" while using Sumproduct on another column (business relationship name) to non count any "New Customers" that take the same business relationship name.
-
I demand aid delight. I want to count the active months of production from a specific engagement, including the zeros.... how do I do this if all the dates are different?
-
Hello All,
How do I find the total sum of repeated count in a cavalcade? E.yard If I have A1, A2, A3, A3, A2, B2, B2. I want the sum of repeated count to be 6
-
Hi, I need help please!
Im trying to summate how many unique commitment numbers I have that are
A. under 30 days overdue
B. inbetween 30 and 90 days overdue
C. over 90 days over due.
I've but tried =IFERROR(ROWS(UNIQUE(FILTER(Due east:E,C:C<31))),0) merely it's counting ones that are over xc days overdue too. is there something else I demand to exercise to stop this? -
Hullo there,
Thanks for the article - really helpful. I'g looking for a way to list the unique values across an entire table or array. For example my tabular array values look like:
Apple Pear Orangish
Banana Lemon Apple tree
Orangish Assistant Pineapple
Berry Lemon AppleI want to generate the listing of unique values only across the tabular array:
Apple
Pear
Orangish
Assistant
Lemon
Pineapple
BerryAny advice on the best way to extract this would be much appreciated!
-
Hi. How can I count unique values under a column? I'grand trying to encounter how much client feedbacks there are. Let's say I want to know how many people said excellent or professional person.
Column F
1. very professional person and the service provided was excellent
two. customer service was great
3. professional
iv. my trouble got resolved
5. the woman I spoke with was excellent and professional -
How-do-you-do there
I take a dataset with an ID number in cavalcade A and a response of yep or no to 2 questions in columns B & C. I am trying to get an accurate chart of the results, where i have a unique count of ID Number for each of the iii outcomes to the two questions, YES & YES = Outcome i, Yep & NO = Outcome 2 and NO & YES is outcome 3.
My trouble is that ID number 1 below has returned a dissimilar response to Q1 in the showtime row than it did in row 2. So my results return a value for ID number i in outcome one and also a value for result 3. Where an ID number answers YES in Q1 it should ever trump whatever additional response of NO. Then the unique count for Result 3 should non include ID Number ane.
I can do it manually and notice the duplicates and remove the incorrect records, simply this is a long process as the dataset is quite big. I demand to automate this procedure in some way. Whatsoever help is most appreciated.ID Number Q1 Q2
one Yes YES
1 NO YES
2 Yeah YES
2 Yep Yep
iii NO YES -
Hii Sir
tin can u please articulate information technology
if use one row bt dissimilar words and finally i want particular word count so what formula i tin can employ?
-
I accept a spreadsheet of census data which contains the columns "Surname", "Given Name", and "Occupation". Frequently the data in each of these columns is the same (people with the same occupation, people who have the same surname, or given name). I want to create a formula which will identify each unique value in the column, and then count the number of instances of that unique item. And so for instance, I want to count the number of people who have a specific occupation. Or the number of people who take a specific surname, etc. I am using this formula to discover and sort the unique values in the column, and it is working fine:
=SORT(UNIQUE(J2:J3135))
What I'd like to add to it is " (nn)" at the end of the formula shown so that the output (for the occupation field) would await like this (where these are the unique values identified past the above formula in the J2:J3135 range):
Amateur (xiv)
Artist (1)
Blacksmith (iv)
Bookkeeper (2)
Chaplain (3)
...etc.
So far I am non having much luck adding the counting part of this.
Many thanks in advance. -
=COUNTIFS($J:$J,"name",$Due north:$Due north,"name") . one more cavalcade need to take and demand singled-out count from that . please help
-
Honey Ablebits,
I am trying to find the number of unique agents who sold in one calendar week and didn't sell in the next calendar week. Similar in the table below, Amanuensis 3 and 4 sold in week i and didn't sell in week 2.
Date Week Agent Name Sales
i/1/21 1 Amanuensis 1 one
1/1/21 1 Agent 2 1
i/1/21 one Agent 3 1
2/1/21 1 Agent 1 1
2/1/21 ane Agent 2 1
2/1/21 1 Agent 3 ane
ii/ane/21 1 Agent 4 1
3/1/21 1 Agent 1 1
3/1/21 1 Agent 2 1
3/1/21 i Agent iii 1
9/one/21 ii Amanuensis 1 1
nine/1/21 2 Agent ii one
ix/1/21 two Agent five 1
10/ane/21 2 Agent 1 i
ten/1/21 2 Agent 2 ane
10/one/21 two Agent 5 aneUsing the unique count formula, I have tried using the formula below simply I have been getting the calc error -
FILTER(Daily_sales_data!O2:O10839,(Daily_sales_data!K2:K10839=E2-1)*(Daily_sales_data!K2:K10839=(E2-2)))
where;
Daily_sales_data!O2:O10839 - similar to Amanuensis Name column above
Daily_sales_data!K2:K10839 - similar to Week column above
E2 = Calendar week three, then E2-1= Week two and E2-ii= Calendar week 1Can you help me know what I am doing wrong?
-
Hullo Experts,
Reaching out to seek for your kind support.
I desire to count the total unique numeric value in a columns that consist of different duplicates, each value should represent"1" countupshot for below cavalcade should be 6.
Column B:
1441
1441
1441
80
987
987
11
11
900
540
540many thanks!!
-
thank you for the reply
it answered and it didn't at the same time, topic you gave nd here is example:
=IFERROR(ROWS(UNIQUE(FILTER(D2:D6, (A2:A6=J5) * (B2:B6=K5) * (C2:C6=L5) * (F2:F6=M5)))), 0)
"J5 is 1, K5 is A, L5 is 1 and M5 is washed"
here I accept multiple arrays, if (zone1->area1->type1is done) it will render (3)
I desire to figure out how information technology will return "one"?
every bit house no. ii & 3 are not done completely.
firm no.ii only one product is done with production & delivery the other is non.---A-------B------C-----------D--------------E-------------F---------------1000
zone l area l type l business firm no. l product l production fifty delivery
--i------- A ------ane-----------one------------ z1-------- done--------- done
--i--------A ------ane---------- 1------------ z2-------- done ---------done
--ane------- A ------1---------- 2------------ z1-------- done--------- done
--1------- A ------1---------- 2------------ z2------------X--------------X
--1------- A ------1---------- 3------------ z1-------- done--------- done
--1------- A ------1---------- three------------ z2-------- done -----------X -
Hi Alexander,
hope yous are well, I need help to make a formula to count unique value with multiple criteria, for example:
count how many houses in (criteria1)zone 1,(C2)area A, (C3) type 1, done product,
hence: if production is "done" for (1/2/three) products in a firm, then it count as ane.when I use sum frequency with multiple criteria information technology gives me error "too few conditions".
A B C D Due east F G
zone fifty expanse l type l house no. l production 50 production l delivery
1 A 1 1 z1 washed done
1 A 1 1 z2 done done
1 A 1 2 z1 done done
1 A 1 2 z2 done washed
1 A 1 iii z1 washed done
ane A i 3 z2 done done
i A 2 one z1 washed washed
one A 2 1 z2 done done
one A ii i z3 washed done-
note: zones(1,2,3,iv) are not duplicates
but for each zone -> surface area(1,2,iii) blazon(A,B,C..), business firm(1,2,3...), products(z1,z2) have duplicates.
-
-
The =UNIQUE formula does not exist. It just gave me #Proper name?
How did you get that? or is there any other formula aforementioned results it show.-
Hello, how do y'all become a distinct list beyond multiple workbooks or worksheets?
Besides, how do you combine VLOOKUP and alphabetize match.
let say I accept existing list and I want to add listing from some other workbooks but that workbook is continuously adding upward a listing. been trying unlike formulas merely it's all not working or something is missing on the formula.
-
-
Howdy Ablebits Team,
I have information (text) in a column say column A with another data (also text) in cavalcade B assigned to the each data in cavalcade A. I want a formula that can count the unique occurrences of the data in column A using the data in column B as reference.Data
Column A Column B
Leo A
Pete C
Bright B
June A
Mike C
King D
Diana D
Alice C
Bright B
Leo A
Tom BResults
A = two
B = two
C = iii
D = ii -
Column A Column B Column C (Result)
John 12345 1
John 12345 0
John 12345 0
Peter 67890 1
Peter 67890 0
Peter 67890 0I want only the offset entry to exist counted equally ane in column C and the rest duplicate entries every bit 0.
I want result in single Column C without introducing new cavalcade.
I tried doing concatenate simply not working can u delight help.=IF(COUNTIF($A$2:A2,A2)=1,i,IF(COUNTIF($D$two:D2,D2)=1,i,"-")) - Working but the Name if repeats with dissimilar number it non counting every bit ane
=IF(AND(COUNTIF($A$2:A2,A2),COUNTIF($D$2:D2,D2)=1),i,"-") - Working but the Name if repeats with different number it not counting as one
Column A Column B Column C (Outcome)
John 12345 1
John 12345 0
John 12345 0
Peter 67890 1
Peter 67890 0
Peter 67890 0
John 005002 1
John 12345 0
Peter 45678 i
Peter 67890 0 -
How-do-you-do Alex,
In a cavalcade A i accept many duplicate or repeated entries i want only the first entry to be counted as 1 in column B and the remainder indistinguishable entries as 0. can u please help me.
Example
Column A Column B
12345 1
12345 0
23456 ane
23456 0
12345 0
23456 0 -
Howdy Alex,
I have successfully practical the UNIQUE function, simply I want to meet how many times all unique (distinct) inputs were nowadays in the original column. For instance:
A
1
1
2The UNIQUE formula would requite me: 1 and 2. In addition I desire to see how many times the 1 and the 2 values were present in column A. Is this possible?
Thanks, Daniel
-
Hello,
I am looking for a method of how to return a list of cells and count with a fractional lucifer. I have used the formula below for returns with cells for a consummate match.
=IFERROR(Index($A$2:$A$115, Lucifer(0, IF($C$2:$C$115="monitor", COUNTIF($H$6:$H6, $A$2:$A$115), ""), 0)),"")
I have used the COUNTIFS role to listing the count for the partial matches simply it is not replicating the same outcome with fractional matches - is this possible?
Thanks, Tom
-
I am trying to count unique value with criteria. The criteria are to recognize the word starting with letter A in the 2nd column. I changed the function FIND past SEARCH to utilise the mutiny but it is not working, maybe you can advise. I
IFERROR(ROWS(UNIQUE(FILTER(G2:G2367,ISNUMBER(SEARCH("*A*",H2:H2367,1))))), 0) -
I have many columns where each one has different dates
For example Column A
Box A1 is 02/24/2021
Box A2 is 02/25/2021
Box A3 is 02/26/2021
Box A2 is 02/24/2021
I should Know the appointment 24 how many times is found in this Column and put it in a Box and Multiply it By five$
Then: IF Column A has let's say 3 times (02/24/2021) that means iii 10 5$ should exist equal to 15$
How Can I practise this??? -
Hello there I need a favor.
I need someone to help me to put a formula in a excel
I use the 2016 Version
can anyone help me? -
Hi there, thank you for this very helpful tutorial! I've created the below formula based on your tips:
=IFERROR(ROWS(UNIQUE(FILTER('All Session Data'!$K:$Yard,('All Session Data'!B:B=EN1)*('All Session Data'!C:C=EN2)*('All Session Information'!I:I=EN4)*('All Session Data'!R:R=EN9)*('All Session Data'!T:T=EN8)))),0)
The formula is supposed to count all unique values in column K based on the 5 criteria I've listed. I'm getting a 0 for the result. I'one thousand working with 24,500 rows in Google Sheets. Any suggestions for a solution?
-
Howdy
I have three collums with like values, the goal is to notice the values occuring the most.
I want to detect the unique values in the two/three collumns and apply a countif statement. However, whenever i use unique on more than than one collumn its registered as unique rows rather than analysing the individual cells - how is this mitigated?
Best Regards
Jens -
How-do-you-do,
I take data, let's say A to F, A to E is the criteria and i need to count singled-out or unique from column F with criteria from A to E, simply all i got is non how much singled-out counts, information technology's merely count how much times the indistinguishable is. Tin you help me ? -
I have data which records in the Cell the year the equipment is being replaced. I have in some other cell the cost of all equipment purchased. I would similar excel to give me the total cost of equipment replacement in each of the following 5 years. Dates have been setup to have a total afterwards excel searches the yr and adds the amount. Could y'all assistance please.
-
I accept a formula I use simply this one does not count distinct numbers
=IF((COUNTIFS(Data!$J:$J,A8,Data!$I:$I,'Staff Enc'!$B$4))=0,"",(COUNTIFS(Data!$J:$J,A8,Data!$I:$I,'Staff Enc'!$B$4)))
Does anyone have a proposition on how to do something like but count distinct numbers?
I can transport a sample report of how the formula works for me. Don't see were I could post it though.
-
Thanks, your "Count unique values with multiple criteria" section worked a treat!
-
Hi all,
Trying to discover a formula for a stock portfolio and it seems i struggle a lot.
I take a DB of purchases and sales in one tab (cavalcade with portoflio names - 5 and column with the ticker) and a summary page where i have all stocks and their performances with eventual rebalancing actions to be taken.
What I want to make sure is that the number of stocks reported in the summary page are the unique number of stocks i have in the db tab (aim is to get a warn if i didn't include a new bought or sold stock in the summary page as rebalancing may be wrong
Status 1: Unique stock counts (number of - in the DB i take more purchases of the same stock)
Condition ii: Count of Unique stock number among v different portfolios.I hope i clarified it and cheers in advance!
-
count unique values with the below data
Sales Person Items Account
A X XYZ
A X XYZ
A Y ABC
B Ten PQR
C Z MNL
C Y HGF
D Ten MTR
D Y GTR -
Hullo,
Im trying to count all cells with unique values within a cavalcade range (K2:K101) excluding whatsoever cells with value 0.
I believe the formula should look something like =COUNTA(UNIQUE(FILTER(K2:K101, K2:K101"0"))) nonetheless this consistently gives me incorrect results.
Do you accept suggestions? -
I want to detect if there are multiple offering types listed in column F so I basically desire to notice all unique cells in column F containing the word "offer" (unique in the sense that if some text with "offering" occurs multiple times it should only exist considered one time). I experimented based on your article and came upwardly with this which worked:
=SUM(--ISNUMBER(SEARCH("offer",UNIQUE($F:$F))))Is it possible to practice something similar but across multiple worksheets? Doing this didn't piece of work:
=SUM(--ISNUMBER(SEARCH("offer",UNIQUE('Sheet1:Sheet3'!$F:$F))))Thanks!
-
Hello, I am hoping yous can assist me with the beneath.
If column C within my data matches the date I am looking for I would similar to count the unique text values within column Thousand.
I have tried diverse options using a google search. If you could send me a simplified explanation that would be swell.
Cheers.
-
Hi,
I have duplicate Numeric Data in Column A, against the jail cell B with a different unique Names and want to unique count in column C with every unique Proper noun.Please anyone guide me...
-
How-do-you-do! Is there a way to list (and keep updated) unique values from multiple worksheets? EG: I have sales report in tables in sheets per month (Jan, Feb, Etc). I would like to listing unique values (EG: Client) across all active sheets. Thanks!
-
Hi Experts,
Tin you please help me, I am not the best at Excel but I effort!
I need to find a simple way of counting the unique customer count confronting a item Salesman. I can go the total unique values no trouble and if I split downwardly the Salesman that is fine also simply I would like one formula rather than splitting the information every time i need to do this report!
Help! I'one thousand using O365
-
you tin use Flash fill or Power Query
-
As usual, your tutorial gets directly to the point in a friendly manner. I encourage everyone to follow your tutorials 'cause they present the steps needed to accomplish a sure task in Excel in an piece of cake way.
Go on upward the keen piece of work, and many thanks for the professional work you spread around with your tutorials!
-
Hi ,
I demand assist with count distinct in the below table-
Variant Subcat CustomerCode CustomerName ProductName Jan Feb
CREAM CREAM 6079 AL AHLI S/Grand CHOCOLATE Foam 11105026 21 5
Foam Foam 6079 AL AHLI S/M MANGO CREAM 11105029 21
Cream Cream 6079 AL AHLI Southward/M ORANGE Foam 11105028 21 4
CREAM CREAM 99 AL DHAFRA SM ORANGE Foam 11105028 21
CREAM PROMO 99 AL DHAFRA SM Foam BISC 11205001 269 xxx
CREAM Foam 7935 AL DOURIZ CHOCOLATE Foam 11105026 21
Foam CREAM 7935 AL DOURIZ MANGO CREAM 11105029 22 4
CREAM CREAM 4900 AL MADINA HYPERMARKET MANGO Cream 11105029 21
Cream Foam 4900 AL MADINA HYPERMARKET ORANGE Cream 11105028 21Cream CREAM No of customers who purchased Variant Cream four three
Foam PROMO 1 oneI need to count the no of customers who purchased cream under each month , irrespective of the flavor.
In the tabular array , no of people who purchased cream was Jan - iv , feb -3
Similarly people who purchased cream promo was January =1 and Feb =i.
Countif office counts all the product names as well . -
Why if I put this formula
=IFERROR(ROWS(UNIQUE(FILTER(C2:C210,J2:J210=J2))), 0), it go me some value
if I increment the range from 210 to for example 400... It gives me 0 as event?
thanks -
Hello,
Your formulas an explanantions are very helpful thanks! I am struggling with getting the correct results and I'm non sure where the event is. This is the formula I'm using, and it'due south giving me a reulst of 0 for all...
=IFERROR(ROWS(UNIQUE(FILTER(Table_SDCdata[Site], (Table_SDCdata[Format]=[@Format]) * (Table_SDCdata[Region]=[@Region])))), 0)Just for the information size example: Main table I'one thousand counting and filtering has 37 columns and 140 500 rows.
So it's suppose to count the unique 'Site' values in the Main tabular array (becuase at that place are many duplicates) if the 'Region' and 'Format' matches that in the current table.
I used "=COUNTA(UNIQUE(FILTER(" before but it was giving a value of "ane" for everything if I apply it on large data sets, for smaller ones it works. From what I read online "COUNTA" doesn't work well with big data sets, so I take to find an alternative. Whatever reason equally to why information technology's non working? Will information technology besides exist because of the data size? -
Hi,
I have a sheet where there are multiple rows for a given text in a column, i need to pull data if in that location is only one unique row , if there is more than ane row then demand to brandish the number of rows -
is in that location any manner to count the unique value based on a text string in another column ?
In the in a higher place case, count the unique values , if the other cavalcade comprise "ball" ( basketball /Volleyball ) -
Hello, I'thou trying to count unique individuals whose work location(s) are Ashburn (Column E) which could exist depicted equally 123 main st., Ashburn VA. An private (Column A) can piece of work at multiple Ashburn locations but I am only interested in counting them once. Equally an example, in that location are ix people working in Ashburn locations, but there are only iii unique individuals working in Ashburn. I've looked at tons of examples but I simply can't get any of the formulas to work. Whatever ideas?
-
some unremarkably use office in excel explan with example
-
Hi,
Thanks for this! Can you help me how to implement an extra condition? In your case it would correspond to adding the criteria of Age greater then 16 but beneath 19. When calculation an extra condition information technology just counts 0 which is not the right case. Meet below implementation:
=IFERROR(ROWS(UNIQUE(FILTER(A2:A10, (B2:B10=F1) * (C2:C1016))), 0) -
Tab Unique values multiple criteria, when entering a value of ten in F2, then E5 displays a #CALC! mistake message every bit expected, but F5 displays a value of 1 equally COUNTA besides calculates the cell which contains a string. Using such a formula may render incorrect results, which aren't very obvious for users, without thorough checking. Unfortunately cannot utilize the COUNTBLANK formula to add to the existing formula and decrease records when containing a string to come to the correct result. Whatever other workaround?
-
Farewell to Ablebits Team!
i have a column of dates with ten entries (Random time to come dates) for each x unlike material, i wanted to have a notification that would tell me how many of those materials will expire 30 days before the dates mentioned in their respective columns. whatsoever aid would do.
-
Honey experts,
I saw an article on getting distinct values. While i understand the assortment distinct formula, i am not able to sympathise the regular singled-out formula.
MATCH(0, Alphabetize(COUNTIF($B$1:B1, $A$2:$A$x), 0, 0), 0))
not sure why there is a index function as it always return a value of 1 instead of an array not matter what is the range of column "B". Instance MATCH(0, Alphabetize(COUNTIF($B$1:B3, $A$2:$A$x), 0, 0), 0))
However, I tested this formula, it works. Merely practice not empathise the rationale behind how this works. -
Dark Chocolate 25gm box 12 pcs
Night Chocolate 20gm*24 box
White Chocolate 15gm
White Chocolate 25gm*24
Biscuits W/Marshmallow300gm
Chocolate 40gm
Can some plz assistance to extract the numbers before "gm", for example : 25,20,15,25,300,40 -
Dear Ablebits...
Delight help me to gear up this task
I have data in "A" cavalcade and input in "B" cavalcade and required effect is in " C" cavalcade.
I already constitute the result is in "E" Column. But this result needs to fix the corresponding raw of the A Column.Data1 Data2 Required Result Formula
i 2 1 1
v five 7
7 nine 7 11
nine 16 11
nine 25
11 11 25
eleven xi 33
16 35
sixteen 58
25 25 sixtyArray Formula in E2 Column is :=IFERROR(IFERROR(INDEX($A$2:$A$21, Modest(IF(COUNTIF($B$2:$B$21,$A$two:$A$21)=0, Lucifer(ROW($A$ii:$A$21),ROW($A$2:$A$21)), ""), ROWS($Due east$two:E2))), Alphabetize($B$2:$B$21, Minor(IF(COUNTIF($A$2:$A$21,$B$ii:$B$21)=0, Match(ROW($B$2:$B$21),ROW($B$2:$B$21)), ""), ROWS($Eastward$2:E2)-SUM((COUNTIF($B$2:$B$21, $East$2:$E2)=0)+0))))," ")
Post a comment
How To Count Unique Items In A Column In Excel Adjust For Data Filter,
Source: https://www.ablebits.com/office-addins-blog/2020/06/10/count-unique-values-excel/
Posted by: sylvestershent1937.blogspot.com
Karen says:
Hullo Skillful day,
Column A Column B Cavalcade C
A AA XX
A AA Xx
A AA XX
A AB YY
A AB XX
B BB XX
B BB Xx
B BC YY
B BC XX
B BC ZZ
From the sample data to a higher place, I want to count how many singled-out text in column C that group past cavalcade A)and cavalcade B. The event I wish to get is like this:
Column A Column B Cavalcade C
A AA Twenty ane
A AA 20 1
A AA Xx i
A AB YY two
A AB XX ii
B BB XX 1
B BB Xx one
B BC YY iii
B BC 20 iii
B BC ZZ iii
For group A, AA only Twenty in the group show 1 for each row, For group B,BC there are YY, 20 and ZZ in it so bear witness three for each of them.
I've tried using this formula =
SUM(--(FREQUENCY(IF($A$2:A2=A2,Friction match($C$2:C2,$C$2:$C2,0)),ROW($C$2:C2)-ROW(D2)+1)>0))
but I didn't get what I want T.T
Hope you understand my question. Cheers in accelerate for helping.