SOLVED

Running count of matching numbers (or text)

Copper Contributor

Hello! I fear this may be a simple question, but I don't know how to phrase it correctly to find an answer.

 

I cannot figure out how to calculate a running count for a row of items that have duplicates. I've attached an example. I'm trying to calculate the highlighted row. I'm trying to get pivot tables to do it for me, but using the Running count function I just get a bunch of 1s.

 

Any help is appreciated!

3 Replies

@Ian_4-learnin , that could be like

=(N(D2)+1)*($B3=$B2)+($B3<>$B2)

It adds 1 if the value in B is the same and returns 1 otherwise

 

best response confirmed by Ian_4-learnin (Copper Contributor)
Solution

@Ian_4-learnin 

 

=COUNTIFS(B$3:B3,B3)

 

@Sergei BaklanThank you, that works great. Now I just have to study a little and figure out what it means...

1 best response

Accepted Solutions
best response confirmed by Ian_4-learnin (Copper Contributor)