<?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 Calculating field values only for appropriate features using ArcMap in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759892#M42686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="480099" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/480099_star.png" /&gt;&lt;/P&gt;&lt;P&gt;Just like in the attached picture.&amp;nbsp;I would like to calculate the value for the field "indeks_star" with the formula: indeks_star =[TOT_65__] / [TOT_0_14] * 100&lt;/P&gt;&lt;P&gt;And&amp;nbsp;for&amp;nbsp;features where in the field&amp;nbsp;&lt;SPAN&gt;TOT_0_14 occurs 0 or in&amp;nbsp;[TOT_65__] occurs 0,&amp;nbsp;I would like the value -9999 to appear in the field indeks_star.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What formula to enter in the field calculator to simultaneously calculate all values for the field indeks_star?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Feb 2020 18:50:57 GMT</pubDate>
    <dc:creator>RafaelMichael</dc:creator>
    <dc:date>2020-02-01T18:50:57Z</dc:date>
    <item>
      <title>Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759892#M42686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="480099" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/480099_star.png" /&gt;&lt;/P&gt;&lt;P&gt;Just like in the attached picture.&amp;nbsp;I would like to calculate the value for the field "indeks_star" with the formula: indeks_star =[TOT_65__] / [TOT_0_14] * 100&lt;/P&gt;&lt;P&gt;And&amp;nbsp;for&amp;nbsp;features where in the field&amp;nbsp;&lt;SPAN&gt;TOT_0_14 occurs 0 or in&amp;nbsp;[TOT_65__] occurs 0,&amp;nbsp;I would like the value -9999 to appear in the field indeks_star.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What formula to enter in the field calculator to simultaneously calculate all values for the field indeks_star?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 18:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759892#M42686</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2020-02-01T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759893#M42687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on field calculator, select Python as your parser (top radio button) and select 'show codeblock' which appears in the middle of the window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where it has whitespace below 'pre-logic script code' insert the code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;percentage&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;field1&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; field2&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;

    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; field1 &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;and&lt;/SPAN&gt; field2 &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;field1&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;field2&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;100.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;9999&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;in the bottom bit of whitespace it should have something like 'indeks_star =' above it in the greyed out area.&amp;nbsp; in the whitespace type out this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;percentage(!TOT_0_14!, !TOT_65!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759893#M42687</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-12-12T08:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759894#M42688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shouldn't it be the other way around?&lt;/P&gt;&lt;P&gt;no&amp;nbsp;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;percentage(!TOT_0_14!, !TOT_65!)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;but&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;percentage( !TOT_65!, !TOT_0_14!)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 19:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759894#M42688</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2020-02-01T19:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759895#M42689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends which way round you want it really, in your question you wanted _14/_65 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 19:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759895#M42689</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-01T19:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759896#M42690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just edited the post now. Sorry for the mistake.&amp;nbsp;Should be&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;[TOT_65__] / [TOT_0_14] * 100&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;so it will be&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;percentage( !TOT_65__!, !TOT_0_14!)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 20:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759896#M42690</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2020-02-01T20:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759897#M42691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeh should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 20:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759897#M42691</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-01T20:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759898#M42692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;many&amp;nbsp;features calculated correctly, many -9999(no problem), but there are also many cases when the value of the field indeks_star should be calculated, but a value of 0 for this field is created.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="480100" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/480100_star.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 20:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759898#M42692</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2020-02-01T20:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759899#M42693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it's doing integer division. I'll amend the code now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 20:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759899#M42693</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-01T20:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759900#M42694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all values seem fine now. thank you!!! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; I have to create one more field and calculate one more formula, will you wait 5 minutes? I'm already putting it here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 21:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759900#M42694</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2020-02-01T21:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759901#M42695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/480125_aprochow.png" /&gt;&lt;/P&gt;&lt;P&gt;AProchow = (TOT_65/TOT)*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if field TOT is 0 or field TOT_65__ is 0&amp;nbsp;&amp;nbsp;&amp;nbsp;then field&amp;nbsp;&amp;nbsp;AProchow&amp;nbsp;equals -9999&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 21:25:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759901#M42695</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2020-02-01T21:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759902#M42696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to let you suggest the code then we can look at it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 21:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759902#M42696</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-01T21:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759903#M42697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;def&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d74444; border: 0px; font-weight: inherit;"&gt;percentage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;field1&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;,&lt;/SPAN&gt; field2&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;if&lt;/SPAN&gt; field1 &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;0&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;and&lt;/SPAN&gt; field2 &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;0&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;return&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;float&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;field1&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;/&lt;/SPAN&gt; float&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;field2&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;*&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;100.0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;else&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;return&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;9999&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;percentage( !TOT_65__!, !TOT!)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759903#M42697</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2021-12-12T08:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759904#M42698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f600.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 21:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759904#M42698</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-01T21:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759905#M42699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;values seem correct, thanks for everything!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 21:43:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759905#M42699</guid>
      <dc:creator>RafaelMichael</dc:creator>
      <dc:date>2020-02-01T21:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating field values only for appropriate features using ArcMap</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759906#M42700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This type of basic calculation with a Null or zero check can be accomplished on one line using a Python &lt;A class="link-titled" href="https://docs.python.org/3/reference/expressions.html#conditional-expressions" title="https://docs.python.org/3/reference/expressions.html#conditional-expressions"&gt;conditional expressions, a.k.a., ternary operators,&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;9999&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; !TOT! &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; !TOT_65!&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;!TOT!&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 18:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-field-values-only-for-appropriate/m-p/759906#M42700</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-02-03T18:29:46Z</dc:date>
    </item>
  </channel>
</rss>

