gl_excel:lineaverage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gl_excel:lineaverage [2010/06/18 21:24 UTC] – corrected to show StartDate parameter mwolfegl_excel:lineaverage [2023/07/24 14:33 UTC] (current) – external edit 127.0.0.1
Line 2: Line 2:
 This is the user report line average balance function.  It returns the daily average balance for a user report line during a given month. This is the user report line average balance function.  It returns the daily average balance for a user report line during a given month.
  
-%InlineCode{LineAverage(UserRpt, LineCode, AvgBalDate, //Company//, //PosNeg//, //StartDate//)}%+**LineAverage(UserRpt, LineCode, AvgBalDate, //Company//, //PosNeg//, //StartDate//)**
  
 ==== Example Usage ==== ==== Example Usage ====
-  * %InlineCode{=LineAverage("BALCON", "A01", "7/31/2009")}%  Returns the daily average balance for line A01 of the BALCON user report during the month of July, 2009. +  * **=LineAverage("BALCON", "A01", "7/31/2009")**  Returns the daily average balance for line A01 of the BALCON user report during the month of July, 2009. 
-  * %InlineCode{=LineAverage("BALCON", "A01", "3/17/2009", , "C")}%  Returns 'Debit Balance' because the daily average balance for line A01 of the BALCON user report during the month of March 2009 is a debit balance and the "C" in our formula told Excel to only display the balance if it was a credit.  See below for more information about the PosNeg parameter.+  * **=LineAverage("BALCON", "A01", "3/17/2009", , "C")**  Returns 'Debit Balance' because the daily average balance for line A01 of the BALCON user report during the month of March 2009 is a debit balance and the "C" in our formula told Excel to only display the balance if it was a credit.  See below for more information about the PosNeg parameter.
     * Note the extra comma between the AvgBalDate and the PosNeg parameter.  That must be included because the Company parameter is not specified.     * Note the extra comma between the AvgBalDate and the PosNeg parameter.  That must be included because the Company parameter is not specified.
-  * %InlineCode{=LineAverage("BALCON", "A01", "6/30/2009", , , "1/1/2009")}%  Returns the daily average balance for line A01 of the BALCON user report during the first two quarters of 2009.  +  * **=LineAverage("BALCON", "A01", "6/30/2009", , , "1/1/2009")**  Returns the daily average balance for line A01 of the BALCON user report during the first two quarters of 2009.  
     * Note the two extra commas between the AvgBalDate and the StartDate.  They must be included because the Company and PosNeg parameters are not specified.     * Note the two extra commas between the AvgBalDate and the StartDate.  They must be included because the Company and PosNeg parameters are not specified.
  
-==== Required Paramaters ====+==== Required Parameters ====
 {{section>parameters#userrpt}} {{section>parameters#userrpt}}
 {{section>parameters#linecode}} {{section>parameters#linecode}}
 {{section>parameters#avgbaldate}} {{section>parameters#avgbaldate}}
 ==== Optional Parameters ==== ==== Optional Parameters ====
 +
 {{section>parameters#company}} {{section>parameters#company}}
 {{section>parameters#posneg}} {{section>parameters#posneg}}
  • gl_excel/lineaverage.1276896287.txt.gz
  • Last modified: 2010/06/18 21:24 UTC
  • by mwolfe