<?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: If statment with a lower and upper limit in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97732#M759888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, it was my greater than smaller than logic that was incorrect. Thank you for your help, wish I asked this earlier instead of spending days trying to figure out why its not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2018 15:15:36 GMT</pubDate>
    <dc:creator>isciberras</dc:creator>
    <dc:date>2018-08-17T15:15:36Z</dc:date>
    <item>
      <title>If statment with a lower and upper limit</title>
      <link>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97728#M759884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Hi everyone, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;I was hoping to pick your brains to understand why the following code does not work &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;I have a column with multiple values which I would like to categorise into buckets according to value. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(0) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(10), '&amp;lt;£10',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(10) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(50), '£10 - £50',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(50) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(100), '£50 - £100',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(100) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(499), '£100 - £499',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(500) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(999), '£500 - £999',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(1000) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(5000), '£1k - £5k',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(5000) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(10000), '£5k - £10k',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(10000) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(50000), '£10k - £50k',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(50000) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(100000), '£50k - £100k',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(100000) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(500000), '£100k - £500k',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(1000000) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(10000000), '1M – 10M',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &amp;gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(10000000) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #800000; font-family: 'Courier New'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(900000000000000000000000000), '&amp;gt;10m')))))))))))) &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[SumGroupings]&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the result is usually '&amp;gt;10m' even though the column value has a vast range of values from very small to very large figures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone happen to know why this is happening? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97728#M759884</guid>
      <dc:creator>isciberras</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: If statment with a lower and upper limit</title>
      <link>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97729#M759885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you &amp;lt; and &amp;gt;= signs are incorrect... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(num(value) &lt;SPAN style="color: #ff0000;"&gt;&amp;gt;&lt;/SPAN&gt; num(0) and num(value) &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;=&lt;/SPAN&gt; num(10), '&amp;lt;£10',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(10) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(50), '£10 - £50',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(50) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(100), '£50 - £100',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(100) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(499), '£100 - £499',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(500) and&amp;nbsp; num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(999), '£500 - £999',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(1000) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(5000), '£1k - £5k',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(5000) and&amp;nbsp; num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(10000), '£5k - £10k',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(10000) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(50000), '£10k - £50k',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(50000) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(100000), '£50k - £100k',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(100000) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(500000), '£100k - £500k',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(1000000) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(10000000), '1M – 10M',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;gt;&lt;/STRONG&gt; num(10000000) and num(value) &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt; num(900000000000000000000000000), '&amp;gt;10m')))))))))))) as [SumGroupings]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 14:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97729#M759885</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-17T14:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: If statment with a lower and upper limit</title>
      <link>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97730#M759886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And you might be able to do away with num() functions all together&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&amp;gt;&lt;/SPAN&gt; 0 and value &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;=&lt;/SPAN&gt; 10, '&amp;lt;£10',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 10 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 50, '£10 - £50',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 50 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 100, '£50 - £100',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 100 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 499, '£100 - £499',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 500 and&amp;nbsp; value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 999, '£500 - £999',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 1000 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 5000, '£1k - £5k',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 5000 and&amp;nbsp; value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 10000, '£5k - £10k',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 10000 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 50000, '£10k - £50k',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 50000 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 100000, '£50k - £100k',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 100000 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 500000, '£100k - £500k',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 1000000 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 10000000, '1M – 10M',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; 10000000 and value &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt; 900000000000000000000000000, '&amp;gt;10m')))))))))))) as [SumGroupings]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 14:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97730#M759886</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-17T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: If statment with a lower and upper limit</title>
      <link>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97731#M759887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another and even easier and more performant approach would be to use a pick(match()) for it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= pick(match(-1, value &amp;lt; 10, value &amp;lt; 50, ...), '&amp;lt;10', '&amp;lt;50', ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ps&lt;/STRONG&gt;: the origin idea to compare conditions against TRUE is from Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 14:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97731#M759887</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-08-17T14:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: If statment with a lower and upper limit</title>
      <link>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97732#M759888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, it was my greater than smaller than logic that was incorrect. Thank you for your help, wish I asked this earlier instead of spending days trying to figure out why its not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 15:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statment-with-a-lower-and-upper-limit/m-p/97732#M759888</guid>
      <dc:creator>isciberras</dc:creator>
      <dc:date>2018-08-17T15:15:36Z</dc:date>
    </item>
  </channel>
</rss>

