<?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 to count in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187145#M303954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so the way that I understand this is that you want the ID variable, questionnaire type, and the number of variables that they answered. So essentially your final table should only include 3 variables, ID, Questionnaire type, and count. Also I didn't really understand your comment about adding 1 to total, so I can't really address that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this you have a couple of options, but I think that the easiest and fastest way is to use both SQL and datastep. &lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table good as&lt;/P&gt;&lt;P&gt;select distinct ID, q_type, (max(Q1)) as Q1, (max(Q2)) as Q2, (max(Q3)) as Q3, (max(Q4)) as Q4, (max(Q5)) as Q5,&lt;/P&gt;&lt;P&gt;(max(Q6)) as Q1, (max(Q7)) as Q7, (max(Q8)) as Q8, (max(Q9)) as Q9, (max(Q10)) as Q10&lt;/P&gt;&lt;P&gt;from bad&lt;/P&gt;&lt;P&gt;group by ID, q_type;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;/*The sql code takes the maximum value of any of the responses which will leave a null value for those which only have null values*/&lt;/P&gt;&lt;P&gt;data good;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set good;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array Que (10) Q1-Q10;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i = 1 to 10;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if que(i) = . then que(i) = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count = sum(Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; keep id q_type count;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;/*Converting all of these to 0's just allows sum to do its job without a whole lot of issues, and then you can just keep the three variables that you wanted*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you actually wanted values for the responses then other code would need to be written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2014 00:20:58 GMT</pubDate>
    <dc:creator>overmar</dc:creator>
    <dc:date>2014-01-03T00:20:58Z</dc:date>
    <item>
      <title>how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187144#M303953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data Have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="777"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="73"&gt;Q_TYPE&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q3&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q4&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q5 &lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q6&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q7&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q8&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q9&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Q10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A02&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;A03&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;E&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA WANT: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="841"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="73"&gt;Q_TYPE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q2&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q3&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q4&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q5 &lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q6&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q7&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q8&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q9&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Q10&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;COUNT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" 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;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" 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;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A01&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A02&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;A03&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;E&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable Q_type is Questionnaire Type, each questionnaire could have 10 questions or less, whatever answered, are listed there as some 1-10 values, otherwise are NULL.&lt;/P&gt;&lt;P&gt;Want to count for each ID, each questionnaire type, how many questions were answered. There are cases for same ID, same questionnaire answered several times, then keep the last answered one as final answer, that is, only add 1 to total count.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Hope I explained my question clearly enough. &lt;/P&gt;&lt;P&gt;Thank you,and happy new year!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 22:22:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187144#M303953</guid>
      <dc:creator>peppapig</dc:creator>
      <dc:date>2014-01-02T22:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187145#M303954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so the way that I understand this is that you want the ID variable, questionnaire type, and the number of variables that they answered. So essentially your final table should only include 3 variables, ID, Questionnaire type, and count. Also I didn't really understand your comment about adding 1 to total, so I can't really address that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this you have a couple of options, but I think that the easiest and fastest way is to use both SQL and datastep. &lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table good as&lt;/P&gt;&lt;P&gt;select distinct ID, q_type, (max(Q1)) as Q1, (max(Q2)) as Q2, (max(Q3)) as Q3, (max(Q4)) as Q4, (max(Q5)) as Q5,&lt;/P&gt;&lt;P&gt;(max(Q6)) as Q1, (max(Q7)) as Q7, (max(Q8)) as Q8, (max(Q9)) as Q9, (max(Q10)) as Q10&lt;/P&gt;&lt;P&gt;from bad&lt;/P&gt;&lt;P&gt;group by ID, q_type;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;/*The sql code takes the maximum value of any of the responses which will leave a null value for those which only have null values*/&lt;/P&gt;&lt;P&gt;data good;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set good;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array Que (10) Q1-Q10;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i = 1 to 10;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if que(i) = . then que(i) = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count = sum(Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; keep id q_type count;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;/*Converting all of these to 0's just allows sum to do its job without a whole lot of issues, and then you can just keep the three variables that you wanted*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you actually wanted values for the responses then other code would need to be written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 00:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187145#M303954</guid>
      <dc:creator>overmar</dc:creator>
      <dc:date>2014-01-03T00:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187146#M303955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an one step data step approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by id q_type;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array q q1-q10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array _q(1:10)&amp;nbsp; _temporary_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if first.q_type then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ct=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i=1 to dim(_q);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; _q(i)=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; do i=1 to dim(q);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ct+(q(i) ne 'NULL')*_q(i);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if q(i) ne 'NULL' then _q(i)=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; count=ifn(last.q_type,ct,.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; drop i ct;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 01:49:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187146#M303955</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2014-01-03T01:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187147#M303956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be an issue that could use the UPDATE statement.&amp;nbsp; It will allow you to collapse all of the variables to the last non-missing value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data have ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; input id $ q_type $ q1-q10 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A . . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A 1 . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A 2 . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A . . . 6 . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A . . . 7 . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A . . . 4 . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A . . . . . . 3 . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 A . . . . . . 4 . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . . . . 5 . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . . . . 7 . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . . . . 8 . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . . 5 . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . . 6 . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . . 7 . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . 3 . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 B . . . 4 . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C 1 . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C 2 . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C 3 . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . 5 . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . 6 . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . . . . . 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . . . . . 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . . . 4 . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . . . 5 . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . . . 6 . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . 7 . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . 8 . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . . 9 . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . 7 . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . 5 . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A01 C . . . . 4 . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A02 D . . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A03 E . . . . . . . . . .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data counts ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; update have(obs=0) have ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; by id q_type ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; if last.q_type then count=&lt;SPAN style="font-family: 'courier new', courier;"&gt;n(of q1-q10)&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; output;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; keep count ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; merge have counts;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; * NO BY STATEMENT ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 17:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187147#M303956</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-01-04T17:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187148#M303957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that Haikuo's code does what you want.&amp;nbsp; The following, methinks, is simply a slightly simpler version of the same approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by id q_type;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array q q1-q10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array _q(10)&amp;nbsp; _temporary_;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; if first.q_type then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call missing(of _q(*));&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do _n_=1 to dim(q);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if q(_n_) then _q(_n_)=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if last.q_type then count=max(0,sum(of _q(*)));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 18:22:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187148#M303957</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-01-04T18:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187149#M303958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely nicer approach, Art! I think you may not need "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;retain _q:;&lt;/SPAN&gt;" as temporary array is retained by default?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 19:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187149#M303958</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2014-01-04T19:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187150#M303959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="5068" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: Guess what: I don't know everything and just learned something new.&amp;nbsp; Yes, you are indeed correct!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.&amp;nbsp; Happy New Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 19:42:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187150#M303959</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-01-04T19:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187151#M303960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Art&lt;/P&gt;&lt;P&gt;I think there is an argument for retaining the retain as an explicit statement in this case.&amp;nbsp; As the statement is interpreted at compile time it does not make the code any less efficient but it does act to signal (to anyone who has to maintain the code) that the value is being retained.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard now back in NZ&lt;/P&gt;&lt;P&gt;And a prosperous New Year to you &lt;/P&gt;&lt;P&gt;PS was stoked at the poke in your Christmas joke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jan 2014 11:35:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count/m-p/187151#M303960</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2014-01-05T11:35:52Z</dc:date>
    </item>
  </channel>
</rss>

