<?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 Field Type Mismatch when merging excel files in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71429#M4110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to use the merge tool to combine nine excel files that I have imported into ArcGIS 10.3. When I did this, I got the error message "Failed on input OID could not write 'N/A' to output field Air_Temp." I went to the GDB and checked out the data type listed for this field (I got the data from someone else) and noticed that it was "double". I then realized that N/A is sprinkled throughout the data in all nine files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to deal with N/A and the resulting type mismatch when trying to merge these excel files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Mar 2015 20:54:47 GMT</pubDate>
    <dc:creator>MelvinShuster</dc:creator>
    <dc:date>2015-03-28T20:54:47Z</dc:date>
    <item>
      <title>Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71429#M4110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to use the merge tool to combine nine excel files that I have imported into ArcGIS 10.3. When I did this, I got the error message "Failed on input OID could not write 'N/A' to output field Air_Temp." I went to the GDB and checked out the data type listed for this field (I got the data from someone else) and noticed that it was "double". I then realized that N/A is sprinkled throughout the data in all nine files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to deal with N/A and the resulting type mismatch when trying to merge these excel files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 20:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71429#M4110</guid>
      <dc:creator>MelvinShuster</dc:creator>
      <dc:date>2015-03-28T20:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71430#M4111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are the field in excel explicitly formatted for the particular data type?​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 01:40:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71430#M4111</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-03-29T01:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71431#M4112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure the all of the excel files have the same field name, data types etc ? From what I understand that they have to be in the same data type, or field name etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this helps &lt;A href="https://www.youtube.com/watch?v=phtfoa2pv_E" title="https://www.youtube.com/watch?v=phtfoa2pv_E"&gt;Lab 3 - Part 1 - Preparing Excel Spread Sheets for ArcMap. - YouTube&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 03:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71431#M4112</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2015-03-29T03:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71432#M4113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan and Robert. I check and the same field in different excel files has different data types. When I go to change some of the field types to make them consistent, I get the response: "Unable to alter the field's type. The table or feature class is not empty."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on this? Can I somehow change the field type for a given field in order to make it consistent with the corresponding fields in the other excel files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 21:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71432#M4113</guid>
      <dc:creator>MelvinShuster</dc:creator>
      <dc:date>2015-03-29T21:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71433#M4114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;​another reason not to use Excel for data management...but I digress&lt;/P&gt;&lt;P&gt;If a field has mixed data types, it can only be 'fixed' by removing the erroneous data or, by adding a new field and copying over the correct data to it.&amp;nbsp; You will have to repeat this for all files.&amp;nbsp; It is a wise idea to define your field data type (ie number, text etc) prior to adding any data to it to ensure the correct data is there....doesn't help now, but it will in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 21:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71433#M4114</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-03-29T21:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71434#M4115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. I looked over the original excel data and discovered that N/A was entered whenever no data was collect. When I imported the data into ArcMap, the software, which, I just learned, scans the first eight records in order to determine the data type, found a mix of data types. In these cases it defaults to text. So the result was a sprinkling of text data types among the majority of double data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I went into the original excel data and deleted the N/A, leaving these cells blank, and imported the data again. This time the excel files merged fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for helping me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 16:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71434#M4115</guid>
      <dc:creator>MelvinShuster</dc:creator>
      <dc:date>2015-03-30T16:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71435#M4116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been using FME by Safe Software to manage my tabular datasets.&amp;nbsp; It works wonders with Excel and allows me to integrate the spreadsheets into my workflows.&amp;nbsp; If I cannot stop people from using Excel, then I need to work with what they give me.&amp;nbsp; I think FME has a free trial available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71435#M4116</guid>
      <dc:creator>JamesPierce</dc:creator>
      <dc:date>2015-03-31T18:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71436#M4117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt; ...&lt;STRONG&gt;&lt;EM&gt;another reason not to use Excel for data management...but I digress&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah....&amp;nbsp; What Don said....&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71436#M4117</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2015-03-31T18:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71437#M4118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everyone. I appreciate the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 15:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71437#M4118</guid>
      <dc:creator>MelvinShuster</dc:creator>
      <dc:date>2015-04-04T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71438#M4119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI melvin, can you mark this question as answered so that people won't think you still need help? Thanks!&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 23:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71438#M4119</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-04T23:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Mismatch when merging excel files</title>
      <link>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71439#M4120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reminder. Please let me know if I need to do anything else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 00:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-type-mismatch-when-merging-excel-files/m-p/71439#M4120</guid>
      <dc:creator>MelvinShuster</dc:creator>
      <dc:date>2015-04-05T00:18:37Z</dc:date>
    </item>
  </channel>
</rss>

