<?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 Excel filter bug in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-filter-bug/m-p/228246#M14439</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just lost a few hair follicles to what I think is an Excel bug, wanted to share and solicit any thoughts.&amp;nbsp;&amp;nbsp; I think this is an Excel bug, not a SAS bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used tagsets.excelxp to produce a report that had autofilter turn on for the first two columns, e.g.:&lt;/P&gt;&lt;PRE&gt;ods tagsets.excelxp file='d:\junk\filters.xls' 
  style=minimal
  options(autofilter='1-2')
;
proc print data=sashelp.class;
run;
ods tagsets.excelxp close;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open that file in Excel 2010, if I click one of the two filter buttons to sort the data, it sorts columns 1-2, but does not sort columns 3-6.&amp;nbsp; So it breaks all the rows.&amp;nbsp;It does not give me the warning prompt "Do you want to expand the selection".&amp;nbsp; Even if I select the whole sheet, it stil doesn't sort correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amusingly (?) this only seems to happen when there are multiple autofilter columns but not all columns autofiltered.&amp;nbsp; If there is one autofilter column, I get the warning prompt and it will then sort correctly if I choose expand.&amp;nbsp; If ALL columns are autofilter, it sorts correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to replicate the problem just typing data into Excel, without involving SAS/tagsets.excelxp.&amp;nbsp; Anyone else care to test more recent versions of Excel and see if the problem exists?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2015 18:27:55 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2015-10-02T18:27:55Z</dc:date>
    <item>
      <title>Excel filter bug</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-filter-bug/m-p/228246#M14439</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just lost a few hair follicles to what I think is an Excel bug, wanted to share and solicit any thoughts.&amp;nbsp;&amp;nbsp; I think this is an Excel bug, not a SAS bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used tagsets.excelxp to produce a report that had autofilter turn on for the first two columns, e.g.:&lt;/P&gt;&lt;PRE&gt;ods tagsets.excelxp file='d:\junk\filters.xls' 
  style=minimal
  options(autofilter='1-2')
;
proc print data=sashelp.class;
run;
ods tagsets.excelxp close;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open that file in Excel 2010, if I click one of the two filter buttons to sort the data, it sorts columns 1-2, but does not sort columns 3-6.&amp;nbsp; So it breaks all the rows.&amp;nbsp;It does not give me the warning prompt "Do you want to expand the selection".&amp;nbsp; Even if I select the whole sheet, it stil doesn't sort correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amusingly (?) this only seems to happen when there are multiple autofilter columns but not all columns autofiltered.&amp;nbsp; If there is one autofilter column, I get the warning prompt and it will then sort correctly if I choose expand.&amp;nbsp; If ALL columns are autofilter, it sorts correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to replicate the problem just typing data into Excel, without involving SAS/tagsets.excelxp.&amp;nbsp; Anyone else care to test more recent versions of Excel and see if the problem exists?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 18:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-filter-bug/m-p/228246#M14439</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2015-10-02T18:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Excel filter bug</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-filter-bug/m-p/228286#M14440</link>
      <description>&lt;P&gt;I try to use any sorts in Excel as little as I can get away with as only sorting some columns has been around since the first time used Excel, sometime around 1993.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-filter-bug/m-p/228286#M14440</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-10-02T20:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Excel filter bug</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-filter-bug/m-p/228375#M14445</link>
      <description>Hi:&lt;BR /&gt;  I think this is really something that you should work on with Tech Support. They can test your issue and come up with a change if one is needed.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 05 Oct 2015 02:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-filter-bug/m-p/228375#M14445</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-10-05T02:46:25Z</dc:date>
    </item>
  </channel>
</rss>

