title: excel - Copy values from table depending on value type
body: <p>I have the following table in sheet1(Export):</p>
  
  <pre><code>-----------------------------
  | col1 | col2 |..cN..|ctr_type|
  -----------------------------
  |value |value |valueN|CtrType1|
  -----------------------------
  |value |value |valueN|CtrType2|
  -----------------------------
  |value |value |valueN|CtrType3|
  -----------------------------
  |value |value |valueN|CtrType1|
  -----------------------------
  |value |value |valueN|CtrType3|
  -----------------------------
  |value |value |valueN|CtrType2|
  -----------------------------
  </code></pre>
  
  <p>Where <strong>ctr_type</strong> is the name of the <strong>sheet</strong> in which the afferent values must be copied.</p>
  
  <p>So my question is: how to copy values in their afferent sheets.</p>
  
  <p>One expected output would be that all the value from the table which have CtrType1 in the column ctr_type would be copied in a existin sheet with the name CtrType1.</p>
  
  <p>Thank you!</p>