求助各位,把村民按每户排号。
如图,如何给每一户编号,户主就是图中的“本人”,每到“本人”那一行就是新的一户,编号就需要加一。=TEXT(COUNTIF($C$3:C3,"本人"),"00000") =TEXT(COUNTIF(C$3:C3,"本人"),"00000") =TEXT(COUNTIF(C$3:C3,"本人"),"00000")
=TEXT(COUNTIF($C$3:$C3,"本人"),"00000")
下拉 =TEXT((C3="本人")+A2,"00000") A3=TEXT(IF(C3=$C$3,A2+1,A2),"00000"),下拉 谢谢大家! 是不是有问题,多妻~