AnsweredAssumed Answered

Conditional Numbering points/polygons in ArcGIS 2010

Question asked by phoukhong on Aug 18, 2015
Latest reply on Aug 19, 2015 by phoukhong

In Excel, I can do:

 

In cell B2 =IF(A2=A1, B1+1,1)

 

Data in A1:A20

A     B

1     1

1     =IF(A2=A1, B1+1,1)

1

2

2

2

2

3

3

...

 

How can I do in ArcGIS Attribute Table using field calculator?

 

I use the AutoIncreament() ... but it work according to the OBJECT_ID and that is not CONDITIONAL...

 

Your help is very appreciate!

Khong

Outcomes