<?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 statement to color cells red or green in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774786#M1036635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a straight table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2015 18:25:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-12T18:25:19Z</dc:date>
    <item>
      <title>If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774784#M1036633</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 have an expression in the custom format cell area of my table and I want it to color the cell red if the value is 'N' and green if the value is 'Y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Complete&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; = 'N', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;red&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;(), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Complete&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; = 'Y', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;green&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #000000;"&gt;()) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;I have this expression that works, except if one value is 'Y' it colors the entire column green instead of just the individual cell.&amp;nbsp; Anyone have any idea why this is happening?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 18:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774784#M1036633</guid>
      <dc:creator />
      <dc:date>2015-01-12T18:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774785#M1036634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What kind of table are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 18:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774785#M1036634</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-12T18:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774786#M1036635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a straight table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 18:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774786#M1036635</guid>
      <dc:creator />
      <dc:date>2015-01-12T18:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774787#M1036636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using "Visual Cues" tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 18:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774787#M1036636</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-12T18:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774788#M1036637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using the custom format cell function go to the expressions tab and enter your expression in background color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75143" alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75143_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click the plus next to the expression you want to conditionally color and then click on background color and paste your expression into the definition box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 18:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774788#M1036637</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2015-01-12T18:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774789#M1036638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to your your "Expression" &amp;gt; Background Color &amp;gt; Write your "expression" for color change as showed in the image &amp;gt; OK &amp;gt; Apply &amp;gt; OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Cell Color Change.png" class="image-1 jive-image" src="/legacyfs/online/75138_Cell Color Change.png" style="height: 424px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 18:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774789#M1036638</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2015-01-12T18:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774790#M1036639</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;If the above suggestions doesn't work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the expression tab and expand your expression by clicking at '+ '. Choose text format apply like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((Complete= 'N',Red(),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 05:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774790#M1036639</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-01-13T05:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to color cells red or green</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774791#M1036640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Try this expression,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;if(Complete&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt; = 'N', &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(), &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;green&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 06:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-color-cells-red-or-green/m-p/774791#M1036640</guid>
      <dc:creator>tyagishaila</dc:creator>
      <dc:date>2015-01-13T06:01:52Z</dc:date>
    </item>
  </channel>
</rss>

