title: Laravel Excel import multiple rows
body: <p>How to get data from multiple rows in Excel?</p>
  <p>Example in this Excel, I want get data from columns <code>kriteria 1</code> &amp; <code>kriteria 2</code> then save to table hasil &quot;nilai_awal&quot;</p>
  <p><a href="https://i.stack.imgur.com/wOjem.png" rel="nofollow noreferrer">Excel Example</a></p>
  <pre><code>public function collection(Collection $rows)
  {
      foreach ($rows as $row) 
      {
          Hasil::create([
              'kriteria_id'   =&gt; $row[29],
              'alternatif_id' =&gt; $row[30],
              'nilai_awal' =&gt; $row[14],
              ''
          ]);
      }
  }
  
  public function startRow(): int
  {
      return 2;
  }
  </code></pre>