title: My If function won't be taken into account
body: <p>The macro starts going through every cells from N19 to C14 (left to right). But when  it get to C19; problem is it goes to B14 which is out side the table.</p>
  
  <p>I have tried including a few statements like End IF and thought of using the while function but seemed to complexify the problem. </p>
  
  <pre><code>Sub Testtask()
      Dim i As Long, j As Long
      For j = -14 To 3  
          For i = 14 To 19 
              Cells(i, -j).Select
          Next i
      Next j
  End Sub
  </code></pre>
  
  <p>The image shows my working sheet and the table related to in the question:</p>
  
  <p><a href="https://i.stack.imgur.com/votb8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/votb8.png" alt="The image shows my working sheet and the table related to in the question"></a></p>