Getting the value of specific cells in an Excel file

One of the good things about Excel files is that they give you the freedom to write anywhere on the sheets, which sometimes is good if you want to prioritize the look and feel. However, that could cause troubles when it's time to automatically process the data in those files. Suppose that you have an Excel file with values for a couple of variables you'd like to set, as shown in the following screenshot:

Getting the value of specific cells in an Excel file

In this example, you want to set values for three variables: Year, ProductLine, and Origin. The problem is, that you don't know where in the sheet that table is. It can be anywhere, near the upper ...

Get Pentaho Data Integration Cookbook Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.