<?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: Calculating Field Values from multiple attribute tables in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149025#M5032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There are common fields between the five tables that I need to average but not in the attribute table that I need the calculated value to go.&lt;BR /&gt;&lt;BR /&gt;I'm thinking there might be a way to use update cursor to do this?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need some common attribute to join the values in A,B,C,D,E to a particular record in X. There has to be some way to link them together.&amp;nbsp; Joel's recommendation (Joins &amp;amp; Calc) is good. Update cursor is basically the same thing as a CalcField.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 17:39:02 GMT</pubDate>
    <dc:creator>GhislainPrince</dc:creator>
    <dc:date>2013-03-27T17:39:02Z</dc:date>
    <item>
      <title>Calculating Field Values from multiple attribute tables</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149022#M5029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an attribute table (let's call it table X) that I need to calculate field values for. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have five additional attribute tables (lets call these tables A,B,C,D,E) that contain field 1. For each record in each table (A,B,C,D,E) I need to get an average for these five records and have that average recorded its corresponding field in table X. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example looking at record ID1 in all tables, A=1 B=2 C=1 D=3 E=5 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The value for record 1 in table X would = 2.4 ((1+2+1+3+5)/5))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The calculate field tool appears to only let you calculate a field value based on other fields in the same table. I need to calculate fields based on fields in other tables. Can I do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 15:37:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149022#M5029</guid>
      <dc:creator>RachelAlbritton1</dc:creator>
      <dc:date>2013-03-25T15:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Field Values from multiple attribute tables</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149023#M5030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rachel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a common attribute between all of the tables?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so you could join all of the tables together and use the calculate field tool and then remove the join.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 23:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149023#M5030</guid>
      <dc:creator>JoelCalhoun</dc:creator>
      <dc:date>2013-03-25T23:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Field Values from multiple attribute tables</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149024#M5031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Rachel,&lt;BR /&gt;&lt;BR /&gt;Is there a common attribute between all of the tables?&lt;BR /&gt;&lt;BR /&gt;If so you could join all of the tables together and use the calculate field tool and then remove the join.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are common fields between the five tables that I need to average but not in the attribute table that I need the calculated value to go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm thinking there might be a way to use update cursor to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 13:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149024#M5031</guid>
      <dc:creator>RachelAlbritton1</dc:creator>
      <dc:date>2013-03-26T13:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Field Values from multiple attribute tables</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149025#M5032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There are common fields between the five tables that I need to average but not in the attribute table that I need the calculated value to go.&lt;BR /&gt;&lt;BR /&gt;I'm thinking there might be a way to use update cursor to do this?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need some common attribute to join the values in A,B,C,D,E to a particular record in X. There has to be some way to link them together.&amp;nbsp; Joel's recommendation (Joins &amp;amp; Calc) is good. Update cursor is basically the same thing as a CalcField.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:39:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-field-values-from-multiple-attribute/m-p/149025#M5032</guid>
      <dc:creator>GhislainPrince</dc:creator>
      <dc:date>2013-03-27T17:39:02Z</dc:date>
    </item>
  </channel>
</rss>

