<?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 with multiples values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-with-multiples-values/m-p/535230#M199968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your multiples value in increasing order then--&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;if(VAR&amp;gt;=1 AND VAR&amp;lt;=4000,'A','B')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR TRY THIS&lt;/P&gt;&lt;P&gt;if(ROWNO()&amp;gt;=1 OR ROWNO()&amp;lt;=4000,'A','B')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 13:25:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-29T13:25:28Z</dc:date>
    <item>
      <title>IF with multiples values</title>
      <link>https://community.qlik.com/t5/QlikView/IF-with-multiples-values/m-p/535229#M199967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find a way to write an IF condition with mutliples values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this: &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=IF(MATCH(VAR,1,2,3,4,5,6),'A','B')&lt;/SPAN&gt; but the problem is that I have 4000 VAR entries and as a consequence it's not returning any results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am starting with Qlikview and wondering if there is a way I could do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Geoffroy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-with-multiples-values/m-p/535229#M199967</guid>
      <dc:creator />
      <dc:date>2013-07-29T13:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF with multiples values</title>
      <link>https://community.qlik.com/t5/QlikView/IF-with-multiples-values/m-p/535230#M199968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your multiples value in increasing order then--&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;if(VAR&amp;gt;=1 AND VAR&amp;lt;=4000,'A','B')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR TRY THIS&lt;/P&gt;&lt;P&gt;if(ROWNO()&amp;gt;=1 OR ROWNO()&amp;lt;=4000,'A','B')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-with-multiples-values/m-p/535230#M199968</guid>
      <dc:creator />
      <dc:date>2013-07-29T13:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: IF with multiples values</title>
      <link>https://community.qlik.com/t5/QlikView/IF-with-multiples-values/m-p/535231#M199969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answers. I am sorry but I think I didn't give enough details of what I am trying to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at this formula: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=IF(MATCH(VAR,1,2,3,4,5,6),'A','B')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAR is corresponding to the first names of my customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to match those first names to an Excel file I have with a list of 4000 female names. Then, I want within an IF condition tells wether or not the first names are female names. Someting like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(MATCH(Firstnames, A, B, C, D, .... E), 'Female', 'Male')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-with-multiples-values/m-p/535231#M199969</guid>
      <dc:creator />
      <dc:date>2013-07-29T13:34:04Z</dc:date>
    </item>
  </channel>
</rss>

