我需要帮助将简单的 Countif 转换为 Arrayformula

I need help for a simple Countif into an Arrayformula

我正在尝试将此公式转置为 Arrayformula,但我卡住了。

=COUNTIF($C:C3;C3)

有人可以帮我吗?

https://docs.google.com/spreadsheets/d/1gH1_8vnKUNDr0JtETjxJtD82cb5FWHQCAgMeebkebYU/edit#gid=0

使用:

=ARRAYFORMULA(IF(TRIM(C3:C)="",,COUNTIFS(C3:C, C3:C, ROW(C3:C), "<="&ROW(C3:C))))