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 revision
Previous revision
gl_excel:avgbal [2010/06/14 19:28 UTC] – use include plugin to include parameter sections in current page mwolfegl_excel:avgbal [2023/07/24 14:33 UTC] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== AvgBal =====+====== AvgBal ======
 This is the average balance function.  It returns the daily average balance of a GL account for a given month (or span of months). This is the average balance function.  It returns the daily average balance of a GL account for a given month (or span of months).
  
-#CodeBlock[AvgBal(AcctNum, AvgBalDate, PosNeg, StartDate)]#+**AvgBal(AcctNum, AvgBalDate, //PosNeg////StartDate//)** 
 +==== Example Usage ==== 
 +  * **=AvgBal("1010-000", "7/31/2009")**  Returns the daily average balance for account 1010-000 during the month of July, 2009. 
 +  * **=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. 
 +  * **=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 Parameters ==== 
 +{{section>parameters#acctnum}} 
 +{{section>parameters#avgbaldate}} 
 +==== Optional Parameters ==== 
 +{{section>parameters#posneg}} 
 +{{section>parameters#startdate}}
  
-=== Parameters === 
- 
-{{page>parameters#acctnum}} 
-{{page>parameters#avgbaldate}} 
-{{page>parameters#posneg}} 
-{{page>parameters#startdate}} 
  • gl_excel/avgbal.1276543681.txt.gz
  • Last modified: 2010/06/14 19:28 UTC
  • by mwolfe