<?xml version="1.0" encoding="windows-1252"?>
<node id="991298" title="Re: Filtering an excel." created="2012-09-02 12:15:49" updated="2012-09-02 12:15:49">
<type id="11">
note</type>
<author id="198160">
CountZero</author>
<data>
<field name="doctext">
Assuming you already have an Excel spreadsheet, use [module:// Spreadsheet::ParseExcel::Simple] to read your spreadsheet row by row. Then check the value of the 'C' column in that row and if it meets your criterium, get the value of the other columns you need.&lt;p&gt;[module:// Spreadsheet::WriteExcel] has an &lt;c&gt;autofilter&lt;/c&gt; method, but it does NOT filter your data. It just sets up the autofilter function in the spreadsheet, so that when you next open the spreadsheet in Excel the autofilter is already installed for your use.&lt;p&gt;Note also that you cannot "edit" an existing spreadsheet with [module://Spreadsheet::WriteExcel]: it is strictly "write only"!&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-198160"&gt;
&lt;p&gt;CountZero&lt;/p&gt;&lt;p&gt;&lt;i&gt;A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity."&lt;/i&gt; - [http://www.canonical.org/~kragen/tao-of-programming.html|The Tao of Programming], 4.1 - Geoffrey James&lt;/p&gt;My blog: [http://imperialdeltronics.wordpress.com|Imperial Deltronics]
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
991263</field>
<field name="parent_node">
991263</field>
</data>
</node>
