<?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: Convert Excel formula into QlikView Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362080#M417293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To simplify use this&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Match(Right(G2,2), '7R',&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; '8R',&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; '8E'),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit;"&gt;(If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,19), 2, 'FALSE') &amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,22), 2, 'FALSE') &amp;amp; '-KYZ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,19), 2, 'FALSE') &amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(AL2 = 'SINGLE', Above(ApplyMap('Meter Conversion Chart', H2),3,22), 2, 'FALSE')))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 06:59:23 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-07-25T06:59:23Z</dc:date>
    <item>
      <title>Convert Excel formula into QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362077#M417290</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;Please help me to convert Excel formula into QlikView Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(OR(RIGHT(G2,2)="7R",RIGHT(G2,2)="8R",RIGHT(G2,2)="8E"),CONCATENATE(IF(AL2="SINGLE",VLOOKUP(H2,'Meter Conversion Chart'!$A$3:$B$19,2,FALSE),VLOOKUP(H2,'Meter Conversion Chart'!$H$3:$I$22,2,FALSE)),"-KYZ"),IF(AL2="SINGLE",VLOOKUP(H2,'Meter Conversion Chart'!$A$3:$B$19,2,FALSE),VLOOKUP(H2,'Meter Conversion Chart'!$H$3:$I$22,2,FALSE)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot:(Sample Data)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PIC_01.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171222_PIC_01.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PIC_02.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/171223_PIC_02.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrance A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362077#M417290</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2017-07-25T06:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel formula into QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362078#M417291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(Match(Right(G2,2), '7R',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(Match(Right(G2,2), '8R',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(Match(Right(G2,2), '8E', &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,19), 2, 'FALSE') &amp;amp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,22), 2, 'FALSE') &amp;amp; '-KYZ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,19), 2, 'FALSE') &amp;amp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(AL2 = 'SINGLE', Above(ApplyMap('Meter Conversion Chart', H2),3,22), 2, 'FALSE')))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362078#M417291</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-25T06:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel formula into QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362079#M417292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you plz share dummy data and expected result , it is not clear since there are hidden columns which you need in vlookup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362079#M417292</guid>
      <dc:creator>mangalsk</dc:creator>
      <dc:date>2017-07-25T06:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel formula into QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362080#M417293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To simplify use this&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Match(Right(G2,2), '7R',&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; '8R',&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; '8E'),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit;"&gt;(If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,19), 2, 'FALSE') &amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,22), 2, 'FALSE') &amp;amp; '-KYZ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(If(AL2 = 'SINGLE', Above(ApplyMap('&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Meter Conversion Chart&lt;/SPAN&gt;', H2),3,19), 2, 'FALSE') &amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(AL2 = 'SINGLE', Above(ApplyMap('Meter Conversion Chart', H2),3,22), 2, 'FALSE')))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362080#M417293</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-25T06:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel formula into QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362081#M417294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lawrance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use below sample QlikView expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15009678784361652" jivemacro_uid="_15009678784361652"&gt;
&lt;P&gt;If([Meter Phase Name] = 'SINGLE',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ApplyMap('Map_Meter_Conversion_A', OldSize),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ApplyMap('Map_Meter_Conversion_B', OldSize)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;&amp;amp; If(Match(Right([Equipment Model Type],2), '7R', '8R', '8E'),'-KYZ')&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Note: Please create two mapping tables - &lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;STRONG&gt;Map_Meter_Conversion_A &amp;amp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;Map_Meter_Conversion_B tables to use &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;ApplyMap('Map_Meter_Conversion_A', OldSize)&amp;nbsp; &amp;amp; ApplyMap('Map_Meter_Conversion_B', OldSize) functions respectively.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul Pawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Excel-formula-into-QlikView-Script/m-p/1362081#M417294</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-07-25T07:33:29Z</dc:date>
    </item>
  </channel>
</rss>

