gl_excel:avgbal

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
gl_excel:avgbal [2010/06/17 19:28 UTC] mwolfegl_excel:avgbal [2010/06/18 14:37 UTC] – added Example Usage mwolfe
Line 3: Line 3:
  
 %InlineCode{AvgBal(AcctNum, AvgBalDate, //PosNeg//, //StartDate//)}% %InlineCode{AvgBal(AcctNum, AvgBalDate, //PosNeg//, //StartDate//)}%
 +==== Example Usage ====
 +  * %InlineCode{=AvgBal("1010-000", "7/31/2009")}%  Returns the daily average balance for account 1010-000 during the month of July, 2009.
 +  * %InlineCode{=AvgBal("1010-000", "6/30/2009", ,"1/1/2009")}%  Returns the daily average balance for account 1010-000 during the first two quarters of 2009.  
 +    * Note the extra comma between the AvgBalDate and the StartDate.  That must be included because the PosNeg parameter is not specified.
 +  * %InlineCode{=AvgBal("1010-000", "3/17/2009", "C", "10/22/2008")}%  Returns 'Debit Balance' because the daily average balance for account 1010-000 for the last quarter of 2008 and first quarter of 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.
 +  
 ==== Required Paramaters ==== ==== Required Paramaters ====
 {{section>parameters#acctnum}} {{section>parameters#acctnum}}
  • gl_excel/avgbal.txt
  • Last modified: 2023/07/24 14:33 UTC
  • by 127.0.0.1