<?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: How to use Match in Nested IFs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321492#M845285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archana,&lt;/P&gt;&lt;P&gt;I think using Match() function there is a very smart option but Match() function returnna a number.&lt;/P&gt;&lt;P&gt;E.g. Match(vdOne, 'One', 'Two', 'Three') returns 1 as variable vdOne containe 'One' value. So in your case you should put:&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;IF(Job='0','&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Mng &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '8', 'Mng &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '10', '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '11', '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;STRONG style="font-style: inherit; font-family: inherit; color: #0000ff;"&gt;MATCH&lt;/STRONG&gt;(Jobcode,'11111', '22222','33333',44444') &amp;gt; 0, 'SrMgr',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;MATCH&lt;/STRONG&gt;(Jobcode,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;'11111', '22222','33333',44444&lt;/SPAN&gt;') = 0, 'Dir',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'No')))))) as "NeedAgreement"&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;Hope it serves,&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;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2017 19:27:50 GMT</pubDate>
    <dc:creator>hector_munoz</dc:creator>
    <dc:date>2017-03-31T19:27:50Z</dc:date>
    <item>
      <title>How to use Match in Nested IFs</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321490#M845283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;I need help with the below IF statement. I am trying to use MATCH to look at multiple vales in a field.This is not working. &lt;/P&gt;&lt;P&gt;Is MATCH the correct function to use in this case? Can someone please suggest the right way to go about this. &lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='0','&lt;SPAN style="font-size: 13.3333px;"&gt;Mng &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '8', 'Mng &lt;SPAN style="font-size: 13.3333px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '10', '&lt;SPAN style="font-size: 13.3333px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '11', '&lt;SPAN style="font-size: 13.3333px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;STRONG style="color: #0000ff;"&gt;MATCH&lt;/STRONG&gt;(Jobcode,'11111', '22222','33333',44444'), 'SrMgr',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;STRONG style="color: #ff0000;"&gt;NOT MATCH&lt;/STRONG&gt;(Jobcode,&lt;SPAN style="font-size: 13.3333px;"&gt;'11111', '22222','33333',44444&lt;/SPAN&gt;'), 'Dir',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'No')))))) as "NeedAgreement"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;*******************************************************************************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Archana&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&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/How-to-use-Match-in-Nested-IFs/m-p/1321490#M845283</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Match in Nested IFs</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321491#M845284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Match returns 0 if no match and 1,2,3,4 in this case depending on which jobcode matched.&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Job='0','&lt;SPAN style="font-size: 13.33px;"&gt;Mng &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '8', 'Mng &lt;SPAN style="font-size: 13.33px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '10', '&lt;SPAN style="font-size: 13.33px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '11', '&lt;SPAN style="font-size: 13.33px;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;MATCH&lt;/STRONG&gt;&lt;/SPAN&gt;(Jobcode,'11111', '22222','33333',44444')&amp;gt;0, 'SrMgr',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;MATCH&lt;/STRONG&gt;&lt;/SPAN&gt;(Jobcode,&lt;SPAN style="font-size: 13.33px;"&gt;'11111', '22222','33333',44444&lt;/SPAN&gt;')=0, 'Dir',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'No')))))) as "NeedAgreement"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 19:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321491#M845284</guid>
      <dc:creator>craigsutton</dc:creator>
      <dc:date>2017-03-31T19:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Match in Nested IFs</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321492#M845285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archana,&lt;/P&gt;&lt;P&gt;I think using Match() function there is a very smart option but Match() function returnna a number.&lt;/P&gt;&lt;P&gt;E.g. Match(vdOne, 'One', 'Two', 'Three') returns 1 as variable vdOne containe 'One' value. So in your case you should put:&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;IF(Job='0','&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Mng &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '8', 'Mng &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '10', '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '11', '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Dir&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;STRONG style="font-style: inherit; font-family: inherit; color: #0000ff;"&gt;MATCH&lt;/STRONG&gt;(Jobcode,'11111', '22222','33333',44444') &amp;gt; 0, 'SrMgr',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND &lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;MATCH&lt;/STRONG&gt;(Jobcode,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;'11111', '22222','33333',44444&lt;/SPAN&gt;') = 0, 'Dir',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'No')))))) as "NeedAgreement"&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;Hope it serves,&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;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 19:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321492#M845285</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-03-31T19:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Match in Nested IFs</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321493#M845286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=IF(Job='0','Mng Dir',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '8', 'Mng Dir',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '10', 'Dir',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='9' AND Level = '11', 'Dir',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' AND MATCH(Jobcode,'11111', '22222','33333','44444' ) &amp;gt; 0, 'SrMgr',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Job='2' and MATCH(Jobcode,'11111', '22222','33333','44444') = 0, 'Dir',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'No'))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158545_1.PNG" style="height: 357px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 19:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321493#M845286</guid>
      <dc:creator>selcukcadir</dc:creator>
      <dc:date>2017-03-31T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Match in Nested IFs</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321494#M845287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hector - &lt;SPAN style="font-size: 10pt;"&gt;This works. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you Thank you Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 19:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321494#M845287</guid>
      <dc:creator />
      <dc:date>2017-03-31T19:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Match in Nested IFs</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321495#M845288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Cadir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 19:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Match-in-Nested-IFs/m-p/1321495#M845288</guid>
      <dc:creator />
      <dc:date>2017-03-31T19:41:06Z</dc:date>
    </item>
  </channel>
</rss>

