cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-1962%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EV%C3%A9rification%20des%20donn%C3%A9es%20avec%20les%20limites%20de%20test%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1962%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ESalut%20les%20gars%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%20Existe-t-il%20un%20moyen%20de%20v%C3%A9rifier%20chaque%20valeur%20de%20cellule%20d'une%20colonne%20par%20rapport%20aux%20limites%20de%20test%20de%20la%20colonne%20et%20de%20d%C3%A9cider%20si%20le%20test%20a%20r%C3%A9ussi%20ou%20%C3%A9chou%C3%A9%26nbsp%3B%3F%20Par%20exemple%2C%20si%20une%20colonne%20contient%2010%20lignes%20de%20donn%C3%A9es%20et%20si%205%20des%2010%20lignes%20%C3%A9chouent%20aux%20limites%20de%20test%20pour%20cette%20colonne%2C%20j'aimerais%20voir%20un%20message%20dans%20une%20case%20indiquant%20que%20la%20colonne%20%C2%AB%26nbsp%3BX%26nbsp%3B%C2%BB%20a%20%C3%A9chou%C3%A9.%20%3CBR%20%2F%3E%3CBR%20%2F%3EMerci.%3C%2FLINGO-BODY%3E%0A%20%0A%20%0A%20%20%3CLINGO-SUB%20id%3D%22lingo-sub-1963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%26nbsp%3B%3A%20V%C3%A9rification%20des%20donn%C3%A9es%20avec%20les%20limites%20de%20test%3C%2FLINGO-SUB%3E%0A%20%20%3CLINGO-BODY%20id%3D%22lingo-body-1963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EQuelqu'un%20a-t-il%20des%20commentaires%20%3F%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar

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?

Recommended Articles