title: Read only one cellvalue of an excel using POI HSSF API
body: <p><img src="https://i.stack.imgur.com/zalop.png" alt="enter image description here"></p>
  
  <p>I have to read only one column from the excel say the column is "C4" the value is <strong>280000</strong></p>
  
  <p>I have used apache POI .</p>
  
  <p>I iterated each row and each column and checked the value and I get the answer.</p>
  
  <p>Is there any other shortcut to get the value .</p>
  
  <p>My code is </p>
  
  <pre><code>Row row = sheet.getRow(3);
              for (int columnCount = 0; columnCount &lt; 13; columnCount++)
              {
                Cell  cell = row.getCell(columnCount);
               if (cell.getCellType() != Cell.CELL_TYPE_BLANK)
                      {
                        switch (columnCount)
                          {
                              case 2:
                                  System.out.println("Value "+cell.getStingCellValue());
                                  break;
                           }
                       }
              }
  </code></pre>