<?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 can i count the number of observation that meet 2 conditions from 2 different variables? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846621#M36903</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if a='x' and b='y' then count+1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that what you want?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2022 15:07:28 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-11-28T15:07:28Z</dc:date>
    <item>
      <title>How can i count the number of observation that meet 2 conditions from 2 different variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846618#M36902</link>
      <description>&lt;P&gt;Hi, i need to count the number of observation that meets 2 conditions: i need to count the observations if column a is valued x and column b is valued y. Can you help?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 15:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846618#M36902</guid>
      <dc:creator>ari2495</dc:creator>
      <dc:date>2022-11-28T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can i count the number of observation that meet 2 conditions from 2 different variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846621#M36903</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if a='x' and b='y' then count+1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that what you want?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 15:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846621#M36903</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-11-28T15:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can i count the number of observation that meet 2 conditions from 2 different variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846624#M36904</link>
      <description>yes but I need a total sum</description>
      <pubDate>Mon, 28 Nov 2022 15:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846624#M36904</guid>
      <dc:creator>ari2495</dc:creator>
      <dc:date>2022-11-28T15:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can i count the number of observation that meet 2 conditions from 2 different variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846625#M36905</link>
      <description>&lt;P&gt;That is the number in the last observation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can use PROC FREQ.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 15:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846625#M36905</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-11-28T15:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can i count the number of observation that meet 2 conditions from 2 different variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846640#M36906</link>
      <description>&lt;P&gt;by using proc freq statement , you count the no of observation&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 16:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-i-count-the-number-of-observation-that-meet-2-conditions/m-p/846640#M36906</guid>
      <dc:creator>Arungauti</dc:creator>
      <dc:date>2022-11-28T16:26:56Z</dc:date>
    </item>
  </channel>
</rss>

