<?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: Using COUNT and BETWEEN function together in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878265#M991143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, which is great! However, I am confronted with another issue. The rule says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have 4 to 8 questions, and if 2 or more has 10 marks and ALL THE REST of the questions has marks between 7 and 9, say 'Excellent', otherwise 'Good'.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The first and second part is fine which is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;=3 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;=8 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=2 AND ...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;not sure how to write the last part to say...if the REST OF THE QUESTIONS have marks between 7 and 9, say 'excellent', or 'good'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I thought of adding, count({&amp;lt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'&amp;gt;7 &amp;lt;9'}&amp;gt;}Questions)"&amp;gt;=5 &amp;lt;=8", 'Excellent', 'Good') but not sure if I am doing the right thing.&lt;/SPAN&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 13:03:50 GMT</pubDate>
    <dc:creator>infock12</dc:creator>
    <dc:date>2015-07-15T13:03:50Z</dc:date>
    <item>
      <title>Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878256#M991134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good morning! I would like to use COUNT and BETWEEN function together. I am trying to count the total number of questions and apply another condition. For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;"=4 &amp;lt;=7", &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=3, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;= {'7', '8', '9', '10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;3, 'Excellent', 'Good.'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to say if the total number of questions are between 4 and 7, and&lt;/P&gt;&lt;P&gt;if &amp;gt;3 questions have more than 10 marks,&lt;/P&gt;&lt;P&gt;and if the rest all the questions have more than 7 marks, say 'Excellent', otherwise 'Good'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;1. The above function does not work, and it seems that the problem lies in the first IF and between,&amp;nbsp; i.e., [&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;"=4 &amp;lt;=7"]. If I apply if(count(Questions)&amp;gt;=3, it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. The third IF statement, i.e., &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;= {'7', '8', '9', '10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) works fine, but how can I count the marks that are more than 7? Rather than saying Marks={'7', '8', '9', '10'}. When I gave {&amp;gt;7}, it does not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t doesn't stop there, I will have to write this for questions less than 4, and questions more than 7 but if I can get the first part right, I can build the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 09:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878256#M991134</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T09:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878257#M991135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You'll have to split that into two conditions with an AND:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&amp;gt;4 AND&amp;nbsp; &lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&amp;lt;=7, ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;To count the mark larger&amp;nbsp; than or equal to 7 use:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #800000;"&gt;Marks&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= {'&amp;gt;=7'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 09:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878257#M991135</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-15T09:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878258#M991136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If what &lt;A _jive_internal="true" href="https://community.qlik.com/people/gwassenaar"&gt;Gysbert&lt;/A&gt;‌ has shared with you doesn't solve your problem, would you be able to share a sample data with your expected output??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878258#M991136</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-15T10:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878259#M991137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert for the quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sun, I will try and work on it and put the sample if it doesn't work. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878259#M991137</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T10:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878260#M991138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert and Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax seems to be working but not getting the desired output. I am using the following expression and I am sure by looking at the script, you will be able to ascertain what I am trying to get. I have attached the files too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=10 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;20, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=2, 'Excellent',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=20 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;40, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=4, 'Excellent',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=40 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;60, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=6, 'Excellent',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=10 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;20, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'&amp;gt;=7 &amp;lt;=9'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=3, 'Good',&lt;BR /&gt; 'Insufficient')))))))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The script will be much longer than this and I will have to include multiple combinations, but I thought I would start with this. Not sure what I am doing wrong. Any help is much appreciated. I want the result to look something like the below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92926_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 11:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878260#M991138</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T11:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878261#M991139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to change your if statement to something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(count(Questions)&amp;gt;=10 AND&amp;nbsp; count(Questions)&amp;lt;20 and Count({&amp;lt;Marks = {'10'}&amp;gt;}Questions)&amp;gt;=2, 'Excellent',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(count(Questions)&amp;gt;=20 AND&amp;nbsp; count(Questions)&amp;lt;40 and Count({&amp;lt;Marks = {'10'}&amp;gt;}Questions)&amp;gt;=4, 'Excellent',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(count(Questions)&amp;gt;=40 AND&amp;nbsp; count(Questions)&amp;lt;63 and Count({&amp;lt;Marks = {'10'}&amp;gt;}Questions)&amp;gt;=4, 'Excellent',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(count(Questions)&amp;gt;=10 AND&amp;nbsp; count(Questions)&amp;lt;20 and Count({&amp;lt;Marks = {'&amp;gt;=7 &amp;lt;=9'}&amp;gt;}Questions)&amp;gt;=3, 'Good',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Insufficient'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 11:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878261#M991139</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-15T11:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878262#M991140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the attached App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 11:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878262#M991140</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-07-15T11:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878263#M991141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunindia, I will try that and let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878263#M991141</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T12:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878264#M991142</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;I think you missed the attachment. Besides, I am using the developer edition, so I would appreciate if you could post the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878264#M991142</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T12:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878265#M991143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, which is great! However, I am confronted with another issue. The rule says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have 4 to 8 questions, and if 2 or more has 10 marks and ALL THE REST of the questions has marks between 7 and 9, say 'Excellent', otherwise 'Good'.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The first and second part is fine which is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;=3 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;=8 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=2 AND ...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;not sure how to write the last part to say...if the REST OF THE QUESTIONS have marks between 7 and 9, say 'excellent', or 'good'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I thought of adding, count({&amp;lt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'&amp;gt;7 &amp;lt;9'}&amp;gt;}Questions)"&amp;gt;=5 &amp;lt;=8", 'Excellent', 'Good') but not sure if I am doing the right thing.&lt;/SPAN&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878265#M991143</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T13:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878266#M991144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I completely understand your conditions. Would you be able to list out all possible conditions with there expected results if there are not too many of them. For instance with this if statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=if(count(Questions)&amp;gt;=10 AND&amp;nbsp; count(Questions)&amp;lt;20 and Count({&amp;lt;Marks = {'10'}&amp;gt;}Questions)&amp;gt;=2, 'Excellent',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if(count(Questions)&amp;gt;=20 AND&amp;nbsp; count(Questions)&amp;lt;40 and Count({&amp;lt;Marks = {'10'}&amp;gt;}Questions)&amp;gt;=4, 'Excellent',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if(count(Questions)&amp;gt;=40 AND&amp;nbsp; count(Questions)&amp;lt;63 and Count({&amp;lt;Marks = {'10'}&amp;gt;}Questions)&amp;gt;=4, 'Excellent',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if(count(Questions)&amp;gt;=10 AND&amp;nbsp; count(Questions)&amp;lt;20 and Count({&amp;lt;Marks = {'&amp;gt;=7 &amp;lt;=9'}&amp;gt;}Questions)&amp;gt;=3, 'Good',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'Insufficient'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The first statement means that&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If Count of questions is between 10 and 19 and if the Mark 10 Scores are more than 2 then its excellent.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Likewise can you list all your conditions....&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878266#M991144</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-15T13:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878267#M991145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for not being so clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have got the first statement right, which is&lt;/P&gt;&lt;P&gt;If Count of questions is between 10 and 19 and if the Mark 10 Scores are more than 2 (AND IF ALL THE REST OF THE QUESTIONS HAVE MARKS BETWEEN 7 AND 9) then it is excellent, otherwise 'Good' - I have added the condition I wanted to add in brackets and capitalised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the below and it works but wanted to confirm if it is the right way to go? Or if there is an alternative way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;10 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;20 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Rating&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'10'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=2 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Rating&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'&amp;gt;=7 &amp;lt;=9'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)=('&amp;gt;=3 &amp;lt;20'), 'Excellent', 'Good')))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The whole exercise is a bit complicated and it keeps evolving as I go along!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878267#M991145</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T13:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878268#M991146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try if this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style=": ; color: #575757; font-family: arial, helvetica, sans-serif;"&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;((Count(Questions)&amp;gt;10 and Count(Questions)&amp;lt;20 and Count({&amp;lt;Rating = {'10'}&amp;gt;} Questions)&amp;gt;=2) or&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; (Count({&amp;lt;Rating = {'&amp;gt;=7&amp;lt;=9'}&amp;gt;} Questions&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; color: #575757; font-family: arial, helvetica, sans-serif;"&gt;) &amp;gt;=3 and Count({&amp;lt;Rating = {'&amp;gt;=7&amp;lt;=9'}&amp;gt;} Questions) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; color: #575757; font-family: arial, helvetica, sans-serif;"&gt;&amp;lt;20), 'Excellent', 'Good'))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878268#M991146</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-15T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using COUNT and BETWEEN function together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878269#M991147</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;Sorry, connecting with OR statement didn't work, but the one I sent in the earlier post works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;10 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;20 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'&amp;gt;=7 &amp;lt;=9'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;=3 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'&amp;gt;=5 &amp;lt;=6'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;=2 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Marks&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = {'&amp;gt;=5 &amp;lt;=6'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Questions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;=4, 'Excellent', 'Good') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Typed in as Rating instead of Marks in my previous post.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-COUNT-and-BETWEEN-function-together/m-p/878269#M991147</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-07-15T13:59:28Z</dc:date>
    </item>
  </channel>
</rss>

