cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

Checking data with test limits

Hi Guys,

Is there any way I can check each cell value in a column against the column's test limits and decide if the test has passed or failed? For example if a column has 10 rows of data and if 5 out of the 10 rows fail the test limits for that column, I would like to see a message in a box that says column 'X' failed.

Thanks.
13 REPLIES 13
mpb
mpb
Level VII

Re: Checking data with test limits

Removed

Message was edited by: mpb

Re: Checking data with test limits

Ok I am trying something like this:

Re: Checking data with test limits

You use the Column function to reference a column
e.g. colRef = Column("test")
To reference a cell within the column you specify the row number
e.g. cellValue = colRef[5]
If you use the For Each construction then [] will reference the current row for each iteration of the loop. The following code will work for you:

Re: Checking data with test limits

Why not use the formula editor as explained to you by Lou? Then you wont have to worry about writing code?