title: How to add data in more columns to a row which has already been written in Excel using axlsx in Ruby on Rails
body: <p>I am using axlsx to create Excel sheets in Ruby on Rails</p>
  
  <p>Say, I use something like this code to add data to a row</p>
  
  <pre><code>some_array.each do |element| #array has a few hundreds of elements
    sheet.add_row [element.dcol1, element.dcol2, element.dcol3] #start from row1 of Excel sheet
    # the above statement would print data into columns A, B &amp; C
  end
  </code></pre>
  
  <p>This loop above adds a few hundreds of records to the Excel in 3 columns - <code>A, B &amp; C</code></p>
  
  <p>Now, I would like to add completely different data (say from <code>some_other_array</code>); I would like to start printing this array <code>again from row1</code> in Excel but from say <code>column J</code></p>
  
  <p>How do I do this?</p>