- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Checking data with test limits
Removed
Message was edited by: mpb
Message was edited by: mpb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Checking data with test limits
Ok I am trying something like this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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:
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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?
- « Previous
-
- 1
- 2
- Next »