When doing financial reporting, you usually want to report some monetary figures from the General Ledger (GL) over a period or at a certain date.
Using traditional and general purpose reporting tools such as Crystal Report or Ms Query, you would need to create a custom query using multiple tables. This can become complex rapidly even when you’re not using Departments or projects.
Although XLGL has custom querying tools as well, it offers a nice alternative, both easier to use and more flexible: the worksheet function.
An XLGL worksheet function is a regular Excel worksheet function. It takes parameters, does some calculation and return a result in a cell. The only difference is that the XLGL function will fetch data from your Simply Accounting file as needed to perform its calculation.
For example, entering the following formula in a cell:
=XGLP(4010, “August”)
will return the amount of all transaction posted to account 4010 in August of the current fiscal year. Of course, the account number and the period can reside in other cell that you reference in your function:
=XGLP($A4,$ C$1)
Although you can learn the function and parameter name, XLGL offers a nice drag and drop interface integrated with Excel. You can drag a function, drop it in a cell, set up the parameter using an easy Wizard and then copy the formula to other part of the worksheet.

The following online videos shows how to build a complete Income Statement using this method:
http://www.logicimtech.com/learnxlgl.aspx
Here are some more example of how the XGLP function can be used:
=XGLP(“Revenue”, “August”, “December”, “0100″)
will return the total amount for all revenue accounts using department 0100 for transaction made between August and December.
=XGLP(“5010, 5020″, “First Quarter”,,,”ACME Novelty Ltd.”)
will return all purchase made at ACME Novelty Ltd. in account 5010 and 5020 in the first quarter of the current fiscal year.
Of course, the power of the worksheet function is best shown not in its individual use, but when use to create a full report (see video above). Once you have report finished in this way, you can just change the period to update everything very rapidly.
Next time, we’ll continue our financial reporting tour with another function use to get the balance of an account.
Is there some type of financial reporting you think would be difficult to do using this method? Let us know!