A B
DOG 1
DOG 2
DOG 3
DOG 4
CAT 1
CAT 2
BIRD 1
B1 is where the formula goes.
I'm trying to use arrayformula to number each row that contains the same value in column A. The number should change when the value changes. I was trying to use countif and indirect but it seems indirect doesn't work with arrayformula.
ARRAYFORMULA
a simpleCOUNTIF
=COUNTIF($A$2:$A$8,"="&$A2)
in B2 and drag down – varontron