<?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: Generate Crosstab in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174575#M33526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think for me it is easiest to create a new class variable that carries the Purchase info.&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Custom$&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender$&amp;nbsp;&amp;nbsp;&amp;nbsp; Product$&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #008080; background-color: #ffffff;"&gt;$16.&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card&lt;BR /&gt;Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Ben&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Cash&lt;BR /&gt;Bill&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Lindy Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Shary Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card&lt;BR /&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Billy Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tommy Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tommy Male&amp;nbsp; B&amp;nbsp; Cash&lt;BR /&gt;Benjum&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Linda Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Shiry Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;sort&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; custom gender payment product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;print&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;transpose&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=have &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; custom gender payment;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Purchase $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;2&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Purchase = cats(a,b);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;drop&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; _name_ a b;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;print&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;summary&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=have2 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;nway&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;completetypes&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Purchase gender payment;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=counts;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;print&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 20:31:25 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2014-04-09T20:31:25Z</dc:date>
    <item>
      <title>Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174572#M33523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a beginner of SAS and need your kind help for a SAS programming question. Any advice will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sample data set as attachment: Customs purchase product A or B or both using either Credit card or Cash. I would like to summarize the data as a crosstab in SAS ---- show how many customs purchase product A only or product B only or product A and B using either credit card or cash by gender. Is that possible in SAS? Thank you very much for your time and help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The crosstab I desire:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="upload_2014-4-8_21-59-56.png" class="bbCodeImage jiveImage" src="http://chandoo.org/forum/data/attachments/5/5487-86f9dc89a7e4e88e585a5fddbfd297e2.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 16:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174572#M33523</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-09T16:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174573#M33524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll need to pre-process the data to calculate your counts, because its a count distinct. Hard to tell as your sample data doesn't match your sample output, and the image is too small to see. &lt;/P&gt;&lt;P&gt;I'd suggest providing sample data with sample output that correlates to the the data. Preferably in a data step, like below. Based on the data below, what would expect the output table to look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input Custom$&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender$&amp;nbsp;&amp;nbsp;&amp;nbsp; Product$&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment $;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;Judi&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Judi&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Ben&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Tom&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Tom&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Bill&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Lindy&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Shary&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Judu&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Judu&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Billy&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Tommy&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Tommy&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Benjum&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Linda&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;Shiry&amp;nbsp;&amp;nbsp;&amp;nbsp; Female&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 18:09:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174573#M33524</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-04-09T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174574#M33525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for you reply.&amp;nbsp; Attached is the expected output (I manually count them) based on the sample data I attached in my original post.&amp;nbsp;&amp;nbsp; Could you please help me out?&amp;nbsp; Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="541"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="123"&gt; &lt;/TD&gt;&lt;TD class="xl73" colspan="2" width="233"&gt;Female&lt;/TD&gt;&lt;TD class="xl74" colspan="2" style="border-right: .5pt solid black; border-left: none;" width="185"&gt;Male&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt; &lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt;Credit Card&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Cash&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Credit Card&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Cash&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;Purchase A only&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;Purchase A and B&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;Purchase B only&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 18:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174574#M33525</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-09T18:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174575#M33526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think for me it is easiest to create a new class variable that carries the Purchase info.&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Custom$&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender$&amp;nbsp;&amp;nbsp;&amp;nbsp; Product$&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #008080; background-color: #ffffff;"&gt;$16.&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card&lt;BR /&gt;Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Ben&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Cash&lt;BR /&gt;Bill&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Lindy Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Shary Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card&lt;BR /&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Billy Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tommy Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tommy Male&amp;nbsp; B&amp;nbsp; Cash&lt;BR /&gt;Benjum&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Linda Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Shiry Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;sort&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; custom gender payment product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;print&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;transpose&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=have &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; custom gender payment;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Purchase $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;2&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Purchase = cats(a,b);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;drop&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; _name_ a b;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;print&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;summary&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=have2 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;nway&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;completetypes&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Purchase gender payment;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=counts;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;print&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 20:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174575#M33526</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-04-09T20:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174576#M33527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 class="fn n"&gt;&lt;/H1&gt;&lt;P&gt;Hello data_null_, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your reply.&amp;nbsp;&amp;nbsp; Since I am a beginner of SAS, could you please show me how to load my attached sample data into your codes and run them? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, could you please explain a little more about your following codes?&amp;nbsp; Thanks very much for your time and help&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;-------------------------------&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Purchase $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;2&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Purchase = cats(a,b);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;drop&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; _name_ a b;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;-------------------------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 20:56:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174576#M33527</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-09T20:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174577#M33528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be able to IMPORT the XLS with PROC IMPORT.&amp;nbsp; I'll leave that to you to research.&amp;nbsp; I just cut and pasted the data from EXCEL and translated the tabs to spaces so it could be read with"regular" list input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should look up the CATS function in the online documentation for a complete description.&amp;nbsp; And any of the other statement that are new to you also.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the values of A are blank or A; and B are blank or B so if the subject does both the result is AB or if only one A or B.&amp;nbsp; So now you have the three categories you need to summarize.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 21:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174577#M33528</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-04-09T21:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174578#M33529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your time and help....I really appreciate it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 00:38:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174578#M33529</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-10T00:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174579#M33530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easy for tabulate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data have;
&amp;nbsp;&amp;nbsp; input Custom$&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender$&amp;nbsp;&amp;nbsp;&amp;nbsp; Product$&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment &amp;amp;$16.; 
&amp;nbsp;&amp;nbsp; cards; 
Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card
Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
Ben&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash
Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash
Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Cash
Bill&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card
Lindy Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash
Shary Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card
Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
Billy Male&amp;nbsp; A&amp;nbsp; Cash
Tommy Male&amp;nbsp; A&amp;nbsp; Cash
Tommy Male&amp;nbsp; B&amp;nbsp; Cash
Benjum&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card
Linda Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash
Shiry Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
;;;;
&amp;nbsp;&amp;nbsp; run; 
proc format;
value $fmt
 'A'='Purchase A only'
 'B'='Purchase B only'
 ;
run;
options missing=0;
proc tabulate data=have;
class custom gender product payment;
table product='' all='Purchase A and B',gender=''*payment=''*n=''*format=best8.0;
format product $fmt18.;
run;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 03:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174579#M33530</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-04-10T03:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174580#M33531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello data_null_,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to generate a crosstab output but failed.&amp;nbsp; I searched online but still cannot figure out what's wrong?&amp;nbsp; Please help me out.&amp;nbsp;&amp;nbsp; Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------- Codes I added ---------------&lt;/P&gt;&lt;P&gt;proc tabulate data=have2;&lt;/P&gt;&lt;P&gt;class Purchase gender payment;&lt;/P&gt;&lt;P&gt;table Purchase, gender*payment;&lt;/P&gt;&lt;P&gt;/*output out=counts;*/&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------ Error message I got ------------&lt;/P&gt;&lt;P&gt;ERROR: Variable Purchase in list does not match type prescribed for this list.&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 15:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174580#M33531</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-10T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174581#M33532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; I run your codes and realize that customers who purchase both A and B are counted twice.&amp;nbsp; Do you know how to fix it?&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 15:43:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174581#M33532</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-10T15:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174582#M33533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Customers are being counted twice because that's how you designed the table.&amp;nbsp; The programming only does what you asked it to do.&amp;nbsp; How would you like to redesign your table?&amp;nbsp; Would you like three columns, instead of two, for each gender (cash only, credit card only, and both cash and credit card)?&amp;nbsp; Entirely apart from writing a program, you have to design what you would like the output to be in cases where a customer used both purchasing methods.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 16:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174582#M33533</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-04-10T16:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174583#M33534</link>
      <description>&lt;P&gt;&lt;EM&gt;Editor's Note: Thanks to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15410"&gt;@data_null__&lt;/a&gt;&amp;nbsp;and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;for both providing alternatives for creating the desired table.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about this?&lt;/P&gt;
&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;IMG class="jive-image" alt="4-10-2014 2-46-23 PM.png" src="https://communities.sas.com/legacyfs/online/5949_4-10-2014 2-46-23 PM.png" border="0" /&gt;&lt;/DIV&gt;
&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; have;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; Custom$&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender$&amp;nbsp;&amp;nbsp;&amp;nbsp; Product$&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); background-color: rgb(255, 255, 255);"&gt;$16.&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 192);"&gt;Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card&lt;BR /&gt;Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Ben&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Cash&lt;BR /&gt;Bill&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Lindy Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Shary Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card&lt;BR /&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Billy Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tommy Male&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Tommy Male&amp;nbsp; B&amp;nbsp; Cash&lt;BR /&gt;Benjum&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;Linda Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash&lt;BR /&gt;Shiry Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;sort&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; custom gender payment product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;transpose&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;=have &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;=have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; custom gender payment;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; product;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; have2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; Purchase $&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Purchase = cats(a,b);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;drop&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; _name_ a b;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;summary&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;=have2 &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;nway&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;completetypes&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; Purchase gender payment;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;output&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;=counts;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;print&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;tabulate&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;=counts;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; Purchase gender payment;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; _freq_;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 255); background-color: rgb(255, 255, 255);"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; purchase=&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 128); background-color: rgb(255, 255, 255);"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt; ,gender=&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 128); background-color: rgb(255, 255, 255);"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;*payment=&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 128); background-color: rgb(255, 255, 255);"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;*_freq_=&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 128); background-color: rgb(255, 255, 255);"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;*sum=&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 128); background-color: rgb(255, 255, 255);"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;*format=&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128); background-color: rgb(255, 255, 255);"&gt;f8.0&lt;/SPAN&gt;; &lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 128); background-color: rgb(255, 255, 255);"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Sep 2017 18:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174583#M33534</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2017-09-06T18:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174584#M33535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works!&amp;nbsp; Thanks lot....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 20:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174584#M33535</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-10T20:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174585#M33536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. Not realize the problem is a little complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data have;
&amp;nbsp;&amp;nbsp; input Custom$&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender$&amp;nbsp;&amp;nbsp;&amp;nbsp; Product$&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment &amp;amp;$16.; 
&amp;nbsp;&amp;nbsp; cards; 
Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card
Judi&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
Ben&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash
Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; A&amp;nbsp; Cash
Tom&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Cash
Bill&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card
Lindy Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash
Shary Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card
Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
Billy Male&amp;nbsp; A&amp;nbsp; Cash
Tommy Male&amp;nbsp; A&amp;nbsp; Cash
Tommy Male&amp;nbsp; B&amp;nbsp; Cash
Benjum&amp;nbsp;&amp;nbsp; Male&amp;nbsp; B&amp;nbsp; Credit Card
Linda Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Cash
Shiry Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Credit Card
;;;;
&amp;nbsp;&amp;nbsp; run; 
proc sql;
create table x as
 select * from have group by custom,gender,payment having count(*)=1
&amp;nbsp; union corr
 select custom,gender,payment,'AB' as product from have group by custom,gender,payment having count(*)=2
 ;
quit;
proc format;
value $fmt
 'A'='Purchase A only'
 'B'='Purchase B only'
 'AB'='Purchase A and B'
 ;
run;
options missing=0;
proc tabulate data=x;
class gender product payment;
table product='',gender=''*payment=''*n=''*format=best8.0;
format product $fmt18.;
run;
 


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: xia keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 03:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174585#M33536</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-04-11T03:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174586#M33537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great!&amp;nbsp;&amp;nbsp; Thank you so much for your time and effort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 13:38:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174586#M33537</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-11T13:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174587#M33538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one thing I am worried about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; A&amp;nbsp; Credit Card&lt;/P&gt;&lt;P&gt;Judu&amp;nbsp; Female&amp;nbsp;&amp;nbsp; B&amp;nbsp; Cash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you are going to count ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 14:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174587#M33538</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-04-11T14:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174588#M33539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&amp;nbsp; One more thing I really need your kind help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to import the sample file (attached in my original post) into SAS but failed.&amp;nbsp;&amp;nbsp; Could you please let me know what's wrong are my codes?&amp;nbsp; Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;---------------- Codes I used ------------------&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; work.mydata&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'C:\SAS\Output\Customer Sample.csv'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;informat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; Custom &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;$10.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;informat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; Gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;$10.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;informat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; Product &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;$10.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;informat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; Payment &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;$10.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;input&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Custom $&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender $&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product $&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;contents&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=work.mydata;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;----------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;---------- Error message ---------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;ERROR: No DATALINES or INFILE statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;ERROR: Extension for physical file name "C:\SAS\Output\Customer Sample.csv" does not correspond&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to a valid member type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;WARNING: The data set WORK.MYDATA may be incomplete. When this step was stopped there were 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 5 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;WARNING: The data set WORK.INFILE may be incomplete. When this step was stopped there were 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 5 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;WARNING: Data set WORK.INFILE was not replaced because this step was stopped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;---------------------------------------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 14:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174588#M33539</guid>
      <dc:creator>qazwsxedc</dc:creator>
      <dc:date>2014-04-11T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Crosstab in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174589#M33540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Courier New'; color: navy; background-color: white;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; work.mydata &lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;&lt;STRONG&gt;you missed ';'&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 15:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-Crosstab-in-SAS/m-p/174589#M33540</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-04-11T15:07:18Z</dc:date>
    </item>
  </channel>
</rss>

