<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Numbering unique value -new column in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26201#M1379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You want to do a sequential calculation. Have a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004s000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004s000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Towards the bottom is "Accumulative and sequential calculations"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 13:14:58 GMT</pubDate>
    <dc:creator>JimCousins</dc:creator>
    <dc:date>2014-01-22T13:14:58Z</dc:date>
    <item>
      <title>Numbering unique value -new column</title>
      <link>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26200#M1378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;first of all - my english is basic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; -sorry&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to paste contents from "column1" to "column2" with numbering, but i don't want "copy ID". I would numbering unique value anew. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Column1: Value in Column: A,B,B,B,C &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to get: Column2: 1A,&lt;/SPAN&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;SPAN&gt;B,&lt;/SPAN&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;SPAN&gt;B,1C&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know how to do it&amp;nbsp; in ARCGIS ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 09:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26200#M1378</guid>
      <dc:creator>Dd</dc:creator>
      <dc:date>2014-01-22T09:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Numbering unique value -new column</title>
      <link>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26201#M1379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You want to do a sequential calculation. Have a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004s000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004s000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Towards the bottom is "Accumulative and sequential calculations"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 13:14:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26201#M1379</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2014-01-22T13:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Numbering unique value -new column</title>
      <link>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26202#M1380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks @jimcousins for answer &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know how i should do it..i try many times but still don't work (i never used python language)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used "Calculate the accumulative value of a numeric field."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Expression:&lt;BR /&gt;accumulate( !oznaczen_1! )&lt;BR /&gt;&lt;BR /&gt;Expression Type:&lt;BR /&gt;PYTHON_9.3&lt;BR /&gt;&lt;BR /&gt;Code Block:&lt;BR /&gt;total = 0&lt;BR /&gt;def accumulate(increment):&lt;BR /&gt; global total&lt;BR /&gt; if total:&lt;BR /&gt;&amp;nbsp; total += increment&lt;BR /&gt; else:&lt;BR /&gt;&amp;nbsp; total = increment&lt;BR /&gt; return total&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result Error:&amp;nbsp; ERROR 00539 ... accumulate "E"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone could write correct script ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Column A: source data, for example: A,A,A, B,B,B AB1, AB2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Column B: empty -here i want get value: 1A,2A,3A, 1B,2B,3B, 1AB1 ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for any help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 07:26:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26202#M1380</guid>
      <dc:creator>Dd</dc:creator>
      <dc:date>2014-01-28T07:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Numbering unique value -new column</title>
      <link>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26203#M1381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have coded the accumulative value of a field, so basically record 1 + record 2 + record 3 + record 4.......&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be using the calculate sequential ID or number based on an interval.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I see the following steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) get a listing of unique values within the column ( if there are not too many, you could actually enter these into a list in the expression)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) for each unique value, if the record == the value, run the sequential ID, appending the unique value to it. So if the input column = A, then it runs the code, if not, it goes to the next record, and if it = A, it runs the code.... then it switches to "B" and does the same sequence.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 13:14:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/numbering-unique-value-new-column/m-p/26203#M1381</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2014-01-29T13:14:20Z</dc:date>
    </item>
  </channel>
</rss>

