<?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: Grouping a range in an IF statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676870#M245629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The codes are numeric and are at equal intervals?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 18:38:50 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2014-09-23T18:38:50Z</dc:date>
    <item>
      <title>Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676869#M245628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Is there a way to group a range within an IF statement without having to list each item on its own line? I have commodity codes in a range of 5201 thru 5251 and I need to group them into T-SLEEVES. I know I can do this individually but I would rather do this in less than 50 lines if possible. Please advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 18:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676869#M245628</guid>
      <dc:creator />
      <dc:date>2014-09-23T18:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676870#M245629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The codes are numeric and are at equal intervals?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 18:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676870#M245629</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-23T18:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676871#M245630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample of so code that already works:&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;If(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*5002*'), 'D-SLEEVES',&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*5004*'), 'D-SLEEVES',&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*5005*'), 'D-SLEEVES',&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*5006*'), 'D-SLEEVES',&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*5007*'), 'D-SLEEVES', etc...&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; So since I need to use single quotes around the commodity code '5002', does that mean there are text and not numeric?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 20:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676871#M245630</guid>
      <dc:creator />
      <dc:date>2014-09-23T20:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676872#M245631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think QV would treat them as numeric.&lt;/P&gt;&lt;P&gt;Can you use a wildcard character around '50**' for different intervals?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 21:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676872#M245631</guid>
      <dc:creator />
      <dc:date>2014-09-23T21:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676873#M245632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use wildcard characters but I am not sure what you mean for different intervals. I do not want to type 50 lines of "IF" statement to assign this group to T-SLEEVES (see example above). Since these values are concurrent (one after another), is there a way I can do this assignment, in the script, in less lines?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 21:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676873#M245632</guid>
      <dc:creator />
      <dc:date>2014-09-23T21:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676874#M245633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '500*'), 'D-SLEEVES',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;f(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '501*'), 'D-SLEEVES',&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '502*'), 'D-SLEEVES',&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '503*'), 'D-SLEEVES',&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '504*'), 'D-SLEEVES',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and so on.&amp;nbsp; Maybe not the most elegant solution but saves you a lot of lines.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676874#M245633</guid>
      <dc:creator />
      <dc:date>2014-09-24T12:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676875#M245634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=If([CommodityCode]&amp;gt;= &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;5201 And &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[CommodityCode] &amp;lt;= 5251, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;T-SLEEVES')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676875#M245634</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-24T12:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676876#M245635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or use a list of codes and sleeves (INLINE or an Excel sheet) in combination with ApplyMap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code_Sleeves:&lt;/P&gt;&lt;P&gt;MAPPING INLINE [&lt;/P&gt;&lt;P&gt;CommunityCodeShort, Sleeves&lt;/P&gt;&lt;P&gt;5002, D-SLEEVES&lt;/P&gt;&lt;P&gt;5004, D-SLEEVES&lt;/P&gt;&lt;P&gt;5005, D-SLEEVES&lt;/P&gt;&lt;P&gt;5006, D-SLEEVES&lt;/P&gt;&lt;P&gt;5007, D-SLEEVES&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('Code_Sleeves',Left([CommunityCode],4),'Nothing Found')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or something like that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676876#M245635</guid>
      <dc:creator />
      <dc:date>2014-09-24T13:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676877#M245636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will give this a try.&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>Wed, 24 Sep 2014 17:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676877#M245636</guid>
      <dc:creator />
      <dc:date>2014-09-24T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676878#M245637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would not work because it will bring in commodities that are NOT in the same group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 17:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676878#M245637</guid>
      <dc:creator />
      <dc:date>2014-09-24T17:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676879#M245638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will keep this in mind.&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>Wed, 24 Sep 2014 17:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676879#M245638</guid>
      <dc:creator />
      <dc:date>2014-09-24T17:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676880#M245639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try to use this code, the script bombs. Is it because I have IF statements that are using the WILDMATCH and I can not mix the two?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 18:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676880#M245639</guid>
      <dc:creator />
      <dc:date>2014-09-24T18:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping a range in an IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676881#M245640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your usage of&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CommodityCode]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '*5002*'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sugests, that there might be more than just those 4 numerical characters contained in your &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 11px;"&gt;CommodityCode field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have sample data to clarify?&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 22:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-a-range-in-an-IF-statement/m-p/676881#M245640</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-24T22:45:26Z</dc:date>
    </item>
  </channel>
</rss>

