<?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 Selecting variable columns from Excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-variable-columns-from-Excel/m-p/152069#M29662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am bringing in multiple Excel files into QV and wonder how to select only ceratin columns. If I bring in [Column Title] it works fine as Excel / QV can associate a column with a specific column. However I have a column title that varies from report to report as well as actual column. Here's a shot of the columns. I need get 2 columns Product Number &amp;amp; "yyyy-mm-dd Retail Units"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 518pt; border-collapse: collapse;" width="688"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 33pt; mso-width-source: userset; mso-width-alt: 1609;" width="44" /&gt;&lt;COL style="width: 38pt; mso-width-source: userset; mso-width-alt: 1865;" width="51" /&gt;&lt;COL style="width: 134pt; mso-width-source: userset; mso-width-alt: 6509;" width="178" /&gt;&lt;COL style="width: 49pt; mso-width-source: userset; mso-width-alt: 2377;" width="65" /&gt;&lt;COL style="width: 39pt; mso-width-source: userset; mso-width-alt: 1901;" width="52" /&gt;&lt;COL style="width: 38pt; mso-width-source: userset; mso-width-alt: 1828;" width="50" /&gt;&lt;COL style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;" width="84" /&gt;&lt;COL style="width: 52pt; mso-width-source: userset; mso-width-alt: 2523;" width="69" /&gt;&lt;COL style="width: 35pt; mso-width-source: userset; mso-width-alt: 1682;" width="46" /&gt;&lt;COL style="width: 37pt; mso-width-source: userset; mso-width-alt: 1792;" width="49" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="54" style="height: 40.5pt;"&gt;&lt;TD class="xl65" height="54" style="background-color: transparent; width: 33pt; height: 40.5pt; border: #ece9d8;" width="44"&gt;&lt;STRONG&gt;FL Ctgry&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: transparent; width: 38pt; border: #ece9d8;" width="51"&gt;&lt;STRONG&gt;Product Number&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: transparent; width: 134pt; border: #ece9d8;" width="178"&gt;&lt;STRONG&gt;Product Description&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: transparent; width: 49pt; border: #ece9d8;" width="65"&gt;&lt;STRONG&gt;Part Number&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 39pt; border: #ece9d8;" width="52"&gt;&lt;STRONG&gt;This Year Retail Units&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 38pt; border: #ece9d8;" width="50"&gt;&lt;STRONG&gt;Last Year Retail Units&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl68" style="background-color: transparent; width: 63pt; border: #ece9d8;" width="84"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;This Year Retail Dollars&lt;/TD&gt;&lt;TD class="xl68" style="background-color: transparent; width: 52pt; border: #ece9d8;" width="69"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;Last Year Retail Dollars&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 35pt; border: #ece9d8;" width="46"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;2010-06-26 Retail Inv&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 37pt; border: #ece9d8;" width="49"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;2010-06-26 Corp Inv Units&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Product Number is always in column 2 and is always called the same thing so it's easy. However column 2010-06-26 Retail Inv can be in column I, J or M and the name varies with the date of the report. The "Retail Inv" part is consitent. So I can't use @9 or the column name to get at the column I need.&lt;/P&gt;&lt;P&gt;I tried a transform to swap rows &amp;amp; columns but that did not seem to get me much further as I had a varaible numbers of fields.&lt;/P&gt;&lt;P&gt;Anyone have a hint on how to pull these 2 columns?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Aug 2010 19:11:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-06T19:11:41Z</dc:date>
    <item>
      <title>Selecting variable columns from Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-variable-columns-from-Excel/m-p/152069#M29662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am bringing in multiple Excel files into QV and wonder how to select only ceratin columns. If I bring in [Column Title] it works fine as Excel / QV can associate a column with a specific column. However I have a column title that varies from report to report as well as actual column. Here's a shot of the columns. I need get 2 columns Product Number &amp;amp; "yyyy-mm-dd Retail Units"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 518pt; border-collapse: collapse;" width="688"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 33pt; mso-width-source: userset; mso-width-alt: 1609;" width="44" /&gt;&lt;COL style="width: 38pt; mso-width-source: userset; mso-width-alt: 1865;" width="51" /&gt;&lt;COL style="width: 134pt; mso-width-source: userset; mso-width-alt: 6509;" width="178" /&gt;&lt;COL style="width: 49pt; mso-width-source: userset; mso-width-alt: 2377;" width="65" /&gt;&lt;COL style="width: 39pt; mso-width-source: userset; mso-width-alt: 1901;" width="52" /&gt;&lt;COL style="width: 38pt; mso-width-source: userset; mso-width-alt: 1828;" width="50" /&gt;&lt;COL style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;" width="84" /&gt;&lt;COL style="width: 52pt; mso-width-source: userset; mso-width-alt: 2523;" width="69" /&gt;&lt;COL style="width: 35pt; mso-width-source: userset; mso-width-alt: 1682;" width="46" /&gt;&lt;COL style="width: 37pt; mso-width-source: userset; mso-width-alt: 1792;" width="49" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="54" style="height: 40.5pt;"&gt;&lt;TD class="xl65" height="54" style="background-color: transparent; width: 33pt; height: 40.5pt; border: #ece9d8;" width="44"&gt;&lt;STRONG&gt;FL Ctgry&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: transparent; width: 38pt; border: #ece9d8;" width="51"&gt;&lt;STRONG&gt;Product Number&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: transparent; width: 134pt; border: #ece9d8;" width="178"&gt;&lt;STRONG&gt;Product Description&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: transparent; width: 49pt; border: #ece9d8;" width="65"&gt;&lt;STRONG&gt;Part Number&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 39pt; border: #ece9d8;" width="52"&gt;&lt;STRONG&gt;This Year Retail Units&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 38pt; border: #ece9d8;" width="50"&gt;&lt;STRONG&gt;Last Year Retail Units&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl68" style="background-color: transparent; width: 63pt; border: #ece9d8;" width="84"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;This Year Retail Dollars&lt;/TD&gt;&lt;TD class="xl68" style="background-color: transparent; width: 52pt; border: #ece9d8;" width="69"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;Last Year Retail Dollars&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 35pt; border: #ece9d8;" width="46"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;2010-06-26 Retail Inv&lt;/TD&gt;&lt;TD class="xl67" style="background-color: transparent; width: 37pt; border: #ece9d8;" width="49"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;2010-06-26 Corp Inv Units&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Product Number is always in column 2 and is always called the same thing so it's easy. However column 2010-06-26 Retail Inv can be in column I, J or M and the name varies with the date of the report. The "Retail Inv" part is consitent. So I can't use @9 or the column name to get at the column I need.&lt;/P&gt;&lt;P&gt;I tried a transform to swap rows &amp;amp; columns but that did not seem to get me much further as I had a varaible numbers of fields.&lt;/P&gt;&lt;P&gt;Anyone have a hint on how to pull these 2 columns?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 19:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-variable-columns-from-Excel/m-p/152069#M29662</guid>
      <dc:creator />
      <dc:date>2010-08-06T19:11:41Z</dc:date>
    </item>
  </channel>
</rss>

