How to Fill Down using xlsxwriter
<p>Is there a function to fill down a column? I am trying to write a formula into C2 and then want it to fill down to the end of the data. I feel that there is an easy way to do this, but I haven't found anything through googling yet. Any help is appreciated!</p>

<pre><code>worksheet.write(1,2, '=IF(ISNUMBER(SEARCH("21",B2)),"x","")')
</code></pre>

<p>That is the code that I have to fill C2 with. Then I want that formula to fill down adjusting the B2 as it fill down. Just as it would if you double-clicked the bottom right corner of the cell in excel.</p>