Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
It should be: The row number of the last non-null value in the "Trial 3" column is 5, The row number of the last non-null value in the "Trial 4" column is 4.