Reputation: 1169
I want to achieve something like the image below:
How can I do it?
Upvotes: 1
Views: 104
Reputation: 5902
Looks like this normal Excel formula works just fine.
Assuming your data starts from cell A1
, insert following formula
=IF(COUNTIF($A$1:A1,A1)=1,"First Occurrence","")
Then copy down as much as you need.
Upvotes: 1
Reputation: 1
use this formula:
=ARRAYFORMULA(IF(COUNTIFS(A:A, A:A, ROW(A:A), "<="&ROW(A:A))=1,
"first occurance", ))
Upvotes: 3