<?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: One cell from multiple sheets in excel to QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051893#M352946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the cell is always the same (B3) then you can use a transformation in the load script to remove the rows in the spreadsheet above B3 and add a "first 1" command before the load so you only load 1 row of data.&lt;/P&gt;&lt;P&gt;Then just select column B.&lt;/P&gt;&lt;P&gt;Finally use this load in your loop to get the data from all sheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 15:07:51 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2016-02-29T15:07:51Z</dc:date>
    <item>
      <title>One cell from multiple sheets in excel to QV</title>
      <link>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051889#M352942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone owns a code that allows to load data from one single cell from multiple sheets from excel to QV?&lt;/P&gt;&lt;P&gt;1. Sheet names are unknown.&lt;/P&gt;&lt;P&gt;2. The cell I need is in B3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the excel file and have been trying for a while.&lt;/P&gt;&lt;P&gt;Any ideas would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051889#M352942</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-02-29T14:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: One cell from multiple sheets in excel to QV</title>
      <link>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051890#M352943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i=1 TO 3&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, no labels, table is Sheet$(i));&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;NEXT &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051890#M352943</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2016-02-29T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: One cell from multiple sheets in excel to QV</title>
      <link>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051891#M352944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've checked this option:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4452"&gt;Load Multiple excel sheets using For loop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to update my task. Sheet names are not predefined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051891#M352944</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-02-29T14:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: One cell from multiple sheets in excel to QV</title>
      <link>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051892#M352945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyway you need to know names and count of sheet&lt;/P&gt;&lt;P&gt;You can use just several loads and concatenate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051892#M352945</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2016-02-29T14:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: One cell from multiple sheets in excel to QV</title>
      <link>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051893#M352946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the cell is always the same (B3) then you can use a transformation in the load script to remove the rows in the spreadsheet above B3 and add a "first 1" command before the load so you only load 1 row of data.&lt;/P&gt;&lt;P&gt;Then just select column B.&lt;/P&gt;&lt;P&gt;Finally use this load in your loop to get the data from all sheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 15:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051893#M352946</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-02-29T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: One cell from multiple sheets in excel to QV</title>
      <link>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051894#M352947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1456830107189141" jivemacro_uid="_1456830107189141" modifiedtitle="true"&gt;
&lt;P&gt;ODBC CONNECT TO [Excel Files;DBQ=C:\Users\Mindaugasb\Desktop\QV.xlsx];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tables:&lt;/P&gt;
&lt;P&gt;SQLtables;&lt;/P&gt;
&lt;P&gt;DISCONNECT;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR i = 0 to NoOfRows('tables')-1&lt;/P&gt;
&lt;P&gt;LET sheetName = purgeChar(purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39)), chr(36));&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;Load * ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FileBaseName()as File,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FileDir() as Dir,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FileName() as File_Name,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; '$(sheetName)' as Sheet_name,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RowNo() as nr&lt;/P&gt;
&lt;P&gt;From $(file)(ooxml, no labels, table is [$(sheetName)], filters(&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 1))&lt;/P&gt;
&lt;P&gt;));&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NEXT i&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The story is that I have faced few issues:&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;ODBC connection didn't work. IT guys installed QV for 64 bits. That solved the main problem.&lt;/LI&gt;&lt;LI&gt;I have found a script for loading data from multiple excel sheets in &lt;A href="https://community.qlik.com/docs/DOC-7860"&gt;Loading Multiple Excel Sheets Dynamically along with file name and sheet name&lt;/A&gt;. Made few changes.&lt;/LI&gt;&lt;LI&gt;To load only one cell I used Albert Colin advice and Transformed the excel table.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-cell-from-multiple-sheets-in-excel-to-QV/m-p/1051894#M352947</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-03-01T11:08:52Z</dc:date>
    </item>
  </channel>
</rss>

