Home : VTWO
Q11303 - INFO: VTWO

VTWO returns the daily text value when it occurs for a variable.  If the variable is setup to allow symbols (ie <, >, ND entries) or is a text parameter, will return the text value. 

SYNTAX:

VTWO(VarNum,Offset, Optional Decimal_Places,  Optional NoValuePrint)

VarNum:  The variable number to get the average for.

Offset:Sets which value to return.  For example, a setting of 1 means return the 1st value found in the report dates, 2 means return the 2nd value found, etc…

Decimal_Places: Number of decimal places to display.  Ignored for Text Variables. 

NoValuePrint:  Text or value to print if no value found. 

NOTES:

In Design, Spread Reports use Locate, Daily Values to place this formula on a report.

EXAMPLES:

VTWO(11,1,2) Returns the first result (with symbols - <,>...) found in the date range to 2 decimal places. 

VTWO(941,2,0,"XXXX") Returns the second result found for variable 941 (a text variable).  If a second value is not found, returns "XXXX"

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 6/3/2008 5:13 PM.
Last Modified on 6/3/2008 5:13 PM.
Last Modified by Scott Dorner.
Article has been viewed 3577 times.
Rated 2 out of 10 based on 2 votes.
Print Article
Email Article