<?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: several condition in Excel in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243550#M4265</link>
    <description>u can use case or switch statement in the macros or VBA programming not in excel forumla.&lt;BR /&gt;&lt;BR /&gt;&amp;amp;&amp;amp; and || cannot be used in excel&lt;BR /&gt;&lt;BR /&gt;Ganesh</description>
    <pubDate>Thu, 08 Apr 2004 09:52:54 GMT</pubDate>
    <dc:creator>Ganesh Babu</dc:creator>
    <dc:date>2004-04-08T09:52:54Z</dc:date>
    <item>
      <title>several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243544#M4259</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm really dumb with Excel. How do write the equivalent of this in Excel :&lt;BR /&gt;&lt;BR /&gt;if (cell=value1) or (cell=value2) or (cell=value3)&lt;BR /&gt;then cell2=new_value&lt;BR /&gt;else cell2=default_value&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2004 08:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243544#M4259</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-04-08T08:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243545#M4260</link>
      <description>Microsoft explains the syntax of the IF function thusly: &lt;BR /&gt;&lt;BR /&gt;=IF(logical_test,value_if_true,value_if_false) &lt;BR /&gt;&lt;BR /&gt;What that means, simply put, is this: &lt;BR /&gt;&lt;BR /&gt;=IF("if the condition stated here is true", then enter "this value, else enter "this value") &lt;BR /&gt;&lt;BR /&gt;A practical example would be a spreadsheet containing exam marks for students. Perhaps you wanted to see at a glance who had failed and who had passed. An IF function would be perfect for this. Let's assume the marks are in column B, starting from row 4. Our formula would look like this: &lt;BR /&gt;&lt;BR /&gt;=IF(B4&amp;gt;50, "Pass", "Fail") &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2004 09:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243545#M4260</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-04-08T09:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243546#M4261</link>
      <description>HEre it is&lt;BR /&gt;&lt;BR /&gt;Copy the below formula to Cell2 (in your question).  I have assumed that cell = A2 in my formula.. u can change it to your actual cell number..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=IF(OR(A2=1,A2=2,A2=3),4,0)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ganesh</description>
      <pubDate>Thu, 08 Apr 2004 09:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243546#M4261</guid>
      <dc:creator>Ganesh Babu</dc:creator>
      <dc:date>2004-04-08T09:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243547#M4262</link>
      <description>Also i have assumed&lt;BR /&gt;&lt;BR /&gt;value1=1&lt;BR /&gt;value2=2&lt;BR /&gt;value3=3&lt;BR /&gt;new_value=4&lt;BR /&gt;default_value=0&lt;BR /&gt;&lt;BR /&gt;Just in case u need a different value.. u can change in the formula..&lt;BR /&gt;&lt;BR /&gt;Ganesh</description>
      <pubDate>Thu, 08 Apr 2004 09:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243547#M4262</guid>
      <dc:creator>Ganesh Babu</dc:creator>
      <dc:date>2004-04-08T09:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243548#M4263</link>
      <description>If function Can be Nested up to 7 times.&lt;BR /&gt;&lt;BR /&gt;Nested IF functions are a simple way to do a complex conditional formula. Nested IF functions allow you to use up to seven IF functions to impose conditions. &lt;BR /&gt;&lt;BR /&gt;Essentially, the way a nested if statement would work is like this: &lt;BR /&gt;&lt;BR /&gt;=IF("if this condition stated here is true", then enter "this value, else if("if this condition stated here is true", then enter "this value, else enter"this value"))&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Bruno&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2004 09:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243548#M4263</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-04-08T09:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243549#M4264</link>
      <description>Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;So there are no instruction like case or switch in the Excel syntax ?&lt;BR /&gt;&lt;BR /&gt;Another question, the &amp;amp;&amp;amp; and || operator cannot be used ?&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
      <pubDate>Thu, 08 Apr 2004 09:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243549#M4264</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-04-08T09:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243550#M4265</link>
      <description>u can use case or switch statement in the macros or VBA programming not in excel forumla.&lt;BR /&gt;&lt;BR /&gt;&amp;amp;&amp;amp; and || cannot be used in excel&lt;BR /&gt;&lt;BR /&gt;Ganesh</description>
      <pubDate>Thu, 08 Apr 2004 09:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243550#M4265</guid>
      <dc:creator>Ganesh Babu</dc:creator>
      <dc:date>2004-04-08T09:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: several condition in Excel</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243551#M4266</link>
      <description>Hi&lt;BR /&gt;If you know like behavior, you can also define of the functions personalized.&lt;BR /&gt;Bruno</description>
      <pubDate>Thu, 08 Apr 2004 09:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/several-condition-in-excel/m-p/3243551#M4266</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-04-08T09:58:35Z</dc:date>
    </item>
  </channel>
</rss>

