I have a excel which looks like this :
Now On everyday basis I receive a excel file like the above one What I want to is terminate the process if either of the two rows of the status column contain the status as inactive
For eg : I want to terminate my program if the excel is as below :
OR
In all i just want to terminate my program if the status column contains the word Inactive and I want to also state the row number which contains the word Inactive