<?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 How do i count a value from an excel file, using SAS EG? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-i-count-a-value-from-an-excel-file-using-SAS-EG/m-p/83315#M7987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a file an excel file of 1048575 rows .&lt;/P&gt;&lt;P&gt;This is an example of the three lines.&lt;/P&gt;&lt;P&gt;Column A is the user_id&lt;/P&gt;&lt;P&gt;Column B-T represents values which may occur repeatedly through the file.&lt;/P&gt;&lt;P&gt;Column V1 to V3 is the count of the values from (B-T)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the COUNTIF method on Excel but required me to do it manually lines by lines. &lt;BR /&gt;Hence, would like to know if SAS EG could support that large a file and if there is any SAS Code which allows me to count the frequency of the value automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(Click on the pic to see it clearly)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="3262" alt="prt scr 1.jpg" class="jive-image-thumbnail jive-image" height="734" src="https://communities.sas.com/legacyfs/online/3262_prt scr 1.jpg" width="678" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2013 15:43:24 GMT</pubDate>
    <dc:creator>cody_q</dc:creator>
    <dc:date>2013-03-20T15:43:24Z</dc:date>
    <item>
      <title>How do i count a value from an excel file, using SAS EG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-i-count-a-value-from-an-excel-file-using-SAS-EG/m-p/83315#M7987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a file an excel file of 1048575 rows .&lt;/P&gt;&lt;P&gt;This is an example of the three lines.&lt;/P&gt;&lt;P&gt;Column A is the user_id&lt;/P&gt;&lt;P&gt;Column B-T represents values which may occur repeatedly through the file.&lt;/P&gt;&lt;P&gt;Column V1 to V3 is the count of the values from (B-T)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the COUNTIF method on Excel but required me to do it manually lines by lines. &lt;BR /&gt;Hence, would like to know if SAS EG could support that large a file and if there is any SAS Code which allows me to count the frequency of the value automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(Click on the pic to see it clearly)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="3262" alt="prt scr 1.jpg" class="jive-image-thumbnail jive-image" height="734" src="https://communities.sas.com/legacyfs/online/3262_prt scr 1.jpg" width="678" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 15:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-i-count-a-value-from-an-excel-file-using-SAS-EG/m-p/83315#M7987</guid>
      <dc:creator>cody_q</dc:creator>
      <dc:date>2013-03-20T15:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do i count a value from an excel file, using SAS EG?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-i-count-a-value-from-an-excel-file-using-SAS-EG/m-p/83316#M7988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two options:&lt;/P&gt;&lt;P&gt;The cell references don't change so you should be able to automate your countif in Excel. It'll be slow because you have a big table, but easily done.&lt;/P&gt;&lt;P&gt;Fix your range in the first one using the $ signs or highlighting the range in the formula and pressing F4.&amp;nbsp; The second reference is the list you're looking for, assuming you know it &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;Countif($A$1:$Z$256, ZZ24);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, import your data into SAS - that many rows won't be an issue, but you'll want to verify that all the . and numbers come in as the appropriate type.&lt;/P&gt;&lt;P&gt;Transpose or restructure your data so that each record is an individual-response rather than multiple response per row. &lt;/P&gt;&lt;P&gt;Run a proc freq summary or summarize task on the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hardest part will be the import, in my opinion. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 16:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-i-count-a-value-from-an-excel-file-using-SAS-EG/m-p/83316#M7988</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-03-20T16:32:30Z</dc:date>
    </item>
  </channel>
</rss>

