<?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: Comparing two worksheets in Excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523531#M1140702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've checked and Qlikview will accept .xls .XLS and .xlsx, so it's not that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have the line of code for the ODBC CONNECT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2013 16:00:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-10T16:00:49Z</dc:date>
    <item>
      <title>Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523524#M1140695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon/evening/morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a spreadsheet that is the source for several other reports that have been heavily macro'd.&amp;nbsp; There is a new spreadsheet that is going to replace it as the source, but there are several new columns that were added, but not at the end they have been mixed within so the column order is shifted.&amp;nbsp; So what I would like to do is Qlikview join the two and determine which ones are the same and which are new and what their respective location is.&amp;nbsp; I have attached the two in a workbook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what I was wondering based on the attached...how can I determine the location and the ID to know which is new and which is changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e BMR ID is in A1 for both,&amp;nbsp; GEO Share Early is in the new sheet in AH1, but is not in the Current.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 19:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523524#M1140695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-07T19:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523525#M1140696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would worry with the order of the columns as long as the header names are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can simply join them in a table using a concatenate load like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;FROM [Book1.xlsx] (ooxml, embedded labels, table is [current sheet];&lt;/P&gt;&lt;P&gt;Concatenate(Table)&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM [Book1.xlsx] (ooxml, embedded labels, table is [New sheet];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything should fall into place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 22:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523525#M1140696</guid>
      <dc:creator />
      <dc:date>2013-10-07T22:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523526#M1140697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;Thanks for the reply, but in my case I want to know what the columns are as it will check the macro.&amp;nbsp; Qlikview doesn't care about the order just that each header is unique...Excel does. When the column location isn't the same the macro isn't capable of finding it, thus causing errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 14:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523526#M1140697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523527#M1140698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use an Excel ODBC connection to interrogate the data as this ...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ODBC&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;CONNECT&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Excel Files;DBQ=C\SourceData.xls]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;SQLColumns&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Disconnect&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ODBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;CONNECT&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Excel Files;DBQ=C\SourceData2.xls]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;SQLColumns&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Disconnect&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;You can then retrieve the ORDINAL position of the columns for comparison. You may need to set up the User DSN using the Microsoft Excel driver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;flipside&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 14:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523527#M1140698</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-10-10T14:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523528#M1140699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;flipside.&amp;nbsp; I have an error External table is not in the expectd format.&amp;nbsp; I have mapped the drive and the excel is 97-2003 format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 15:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523528#M1140699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T15:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523529#M1140700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a quick sanity check, do the file extension on the files match those in the ODBC CONNECT line in your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 15:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523529#M1140700</guid>
      <dc:creator />
      <dc:date>2013-10-10T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523530#M1140701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so my guess is no?&amp;nbsp; the file is capital .XLS and the map is .xls (lower case)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 15:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523530#M1140701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T15:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523531#M1140702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've checked and Qlikview will accept .xls .XLS and .xlsx, so it's not that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have the line of code for the ODBC CONNECT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 16:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523531#M1140702</guid>
      <dc:creator />
      <dc:date>2013-10-10T16:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523532#M1140703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that is what I am trying to get to.&amp;nbsp; Apologize as I am not very versed in scripting...so in the edit script I hit the connect ODBC then a window opens for connect to data source...I then select Excel files. then a window opens for the drive that I mapped.&amp;nbsp; I then select one of the files I want then the window with the error pops up?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 16:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523532#M1140703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T16:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523533#M1140704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Typically I just hit the table files button and go to the Excel file...only ODBC connections I have done are Access databases&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 16:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523533#M1140704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T16:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523534#M1140705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, no worries - I've just testing one theory and I get the same error. I created a .CSV and manually renamed it to .XLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you open the target file and do a save as, making sure you save it as Excel Worksheet format and then try the ODBC connector, I think it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 16:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523534#M1140705</guid>
      <dc:creator />
      <dc:date>2013-10-10T16:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523535#M1140706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if helps&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sem título.png" class="jive-image" src="/legacyfs/online/47491_Sem título.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 16:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523535#M1140706</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-10T16:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523536#M1140707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.&amp;nbsp; that is what I needed.&amp;nbsp; Also the ODBC connection once I save as the files then it worked...it also gave me even more information as using the SQL columns I can now determine if any of the changed columns also were different formats...text vs numeric&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 16:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523536#M1140707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T16:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two worksheets in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523537#M1140708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if you managed to get the ODBC connection working in the end. The error could be because of the driver associated with the DSN. If the driver assigned to that DSN is Excel 4.0 then it wouldn't work with .xlsx files. You can go to Data Sources under Control Panel &amp;gt; Administrator Tools, or go direct to it from Qlikview script under Tools &amp;gt; ODBC Administrator 32-bit (64-bit). Highlight the DSN and click 'configure' to see the settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In practice you would be better to create your own DSN, rather than tweak the existing DSN which might be used by something else, by clicking add and choosing the relevant driver. If a suitable driver doesn't show then it would need installing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do something similar with OLE DB drivers (&lt;A href="http://www.connectionstrings.com/excel/"&gt;http://www.connectionstrings.com/excel/&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 09:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-worksheets-in-Excel/m-p/523537#M1140708</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-10-11T09:00:21Z</dc:date>
    </item>
  </channel>
</rss>

