Printer Friendly
The Free Library
5,676,108 articles and books
Member login
User name  
Password 
 
Join us Forgot password?

Drilling for information.


Click on a number in a financial report and get all the details.

In the late 1980s, most accountants put aside their columnar pads and calculators and advanced to computers. In some respects, that was a big step, but in reality, very little actually changed: The financial reports were simply transferred from paper to the computer screen. Although the efficiency of report generation was improved, the reports were still static and what you saw on the screen, just as what you saw on the paper, was what you got. Unless extra information was added in a footnote Text that appears at the bottom of a page that adds explanation. It is often used to give credit to the source of information. When accumulated and printed at the end of a document, they are called "endnotes."  or an addendum addendum n. an addition to a completed written document. Most commonly this is a proposed change or explanation (such as a list of goods to be included) in a contract, or some point that has been subject of negotiation after the contract was originally proposed by , there was no way such a static report--whether it was prepared on paper or on the computer--would show where any of the numbers came from or how they were calculated.

Today's technology has given financial managers the opportunity to make reports both interactive and multidimensional mul·ti·di·men·sion·al  
adj.
Of, relating to, or having several dimensions.



multi·di·men
. Mind you, we're we're  

Contraction of we are.


we're we are
 not talking about leading-edge or tomorrow's technology. Set up properly, Microsoft Excel (tool) Microsoft Excel - A spreadsheet program from Microsoft, part of their Microsoft Office suite of productivity tools for Microsoft Windows and Macintosh. Excel is probably the most widely used spreadsheet in the world.

Latest version: Excel 97, as of 1997-01-14.
 call allow financial report viewers to dig below the surface of a statement and uncover the source of any number and how it was calculated--in effect, to add new dimensions to otherwise static reports. The technique is commonly called drill-down functionality.

Previously, we described how to distribute financial reports throughout an organization electronically rather than on paper (see "Financial Reports in a Snap," JofA, Apr. 00, page 31). Once freed from the paper medium, reports also can become dynamic and interactive. This article demonstrates how to achieve drill-down functionality by creating an interactive selling, general and administrative (SG&A) expense report.

THE ADVANTAGES

In a typical situation, a manager of a sales department receives a monthly SG&A report From the finance department--either on paper or via a computer network (see exhibit 1).

[Exhibit 1 ILLUSTRATION OMITTED]

Although the summary is useful each time you want more information about one of the numbers you've got to sift through another, more detailed report for backup details--a time-consuming job. However, if you set up the report with drill-down functionality, all you need to do is double-click on an account name, such as Travel in cell B10, and the software automatically drills down to reveal the underlying detail of the expenses in row 10, as shown in exhibit 2.

[Exhibit 2 ILLUSTRATION OMITTED]

Likewise, if you want to see the details on John Smith's travel accrual accrual,
n continually recurring short-term liabilities. Examples are accrued wages, taxes, and interest.
, click on the $5,000 item (F10) and the supporting information appears, as shown in exhibit 3. All the data are just a click away--a savings in time and effort.

[Exhibit 3 ILLUSTRATION OMITTED]

HOW TO DO IT

Here's how the process works: All the original source data for the drill-down file resides, of course, in the general ledger General Ledger

A company's accounting records. This formal ledger contains all the financial accounts and statements of a business.

Notes:
The ledger uses two columns: one records debits, the other has offsetting credits.
 database. Each month (or your preferred reporting period) you export that data into Access and establish a link between Access and Excel A full-featured spreadsheet for Windows and the Macintosh from Microsoft. It can link many spreadsheets for consolidation and provides a wide variety of business graphics and charts for creating presentation materials. . The data then flow into an Excel PivotTable, which manipulates the information so it's viewable in customizable ways. Although this article presents Access as an intermediate step between the general ledger and Excel, the database is necessary only if you want to automate To turn a set of manual steps into an operation that goes by itself. See automation.  the data import.

NOW FOR THE STEP-BY-STEP PROCESS

We'll begin by setting up the reports manually. Later we'll describe how to automate updating of data. First we need to export data from the general ledger into a text file. If you don't know Don't know (DK, DKed)

"Don't know the trade." A Street expression used whenever one party lacks knowledge of a trade or receives conflicting instructions from the other party.
 how to do that, check with your accounting software vendor. You may be given several exporting options; exporting as a comma-delimited flat file works well. The minimum fields you need to export are month, department number, account number, account description, transaction description and transaction amount.

Import this file into an Access table to which you keep appending the current month's data. The table should contain all the fields you export from the general ledger. Depending on how much information you want to provide to your managers, you may want to include additional fields--for example, purchase order number, transaction date and invoice An itemized statement or written account of goods sent to a purchaser or consignee by a vendor that indicates the quantity and price of each piece of merchandise shipped.

A consular invoice is one used in foreign trade.
 number.

To import the file, click on the Tables tab in Access and on the New button to create a new table, as shown in exhibit 4.

[Exhibit 4 ILLUSTRATION OMITTED]

Select Import Table (see exhibit 4) and follow the directions in the following screen and browse (1) To view the contents of a file or a group of files. Browser programs generally let you view data by scrolling through the documents or databases. In a database program, the browse mode often lets you edit the data. See Web browser.  to your newly created flat data file. If your export includes field names, check the First Row Contains Field Names box as indicated in exhibit 5.

[Exhibit 5 ILLUSTRATION OMITTED]

Proceed through the wizard Instructional help in an application or system development environment that guides the user through a series of multiple choice questions to accomplish a task. For the most part, wizards are more effective than the help menus found in most applications, which often border on the atrocious.  screens, selecting In a New Table to create your transaction detail table as shown in exhibit 6.

[Exhibit 6 ILLUSTRATION OMITTED]

Select No Primary Key, as shown in exhibit 7, and click Finish.

[Exhibit 7 ILLUSTRATION OMITTED]

Now that the transaction-level detail table is in Access, set up the department reports in Excel--a separate workbook work·book  
n.
1. A booklet containing problems and exercises that a student may work directly on the pages.

2. A manual containing operating instructions, as for an appliance or machine.

3.
 for each department. Open a new workbook. Select PivotTable Report from the Data menu and then select External data source at the wizard (see exhibit 8). The external data source tells Excel to obtain the data for the reports from the just-created Access database.

[Exhibit 8 ILLUSTRATION OMITTED]

Now refer to the Access database by clicking the Get Data button (see exhibit 9). If your database isn't listed, select the New Data Source and follow the prompts. (For additional help on this step, refer to the JofA December 1999 article on spreadsheets The following is a list of spreadsheets. Freeware/open source software
Online spreadsheets

Main article: List of online spreadsheets
  • EditGrid [1]
  • Simple Spreadsheet [2]
  • wikiCalc
.) Select your transaction detail table and choose all the fields. Filter the records to include the date range you want. In this example, you want reports that show annual spending figures, so filter to include only transactions that are between the dates of 1/1/2000 to 12/31/2000 (see exhibit 10).

[Exhibits 9-10 ILLUSTRATION OMITTED]

Notice that exhibit 10 indicates a filter through 12/1/00--not 12/31/00. This is because in the data shown the first day of the month represents that month, so the January 2000 data are represented in the database as 1/1/00. Also, since this is a department workbook, you must filter the records to include only transactions for this department (see exhibit 11).

[Exhibit 11 ILLUSTRATION OMITTED]

To format the PivotTable, drag the gray field header (1) In a disk or tape file, a set of data that resides permanently at the beginning. It may be used for identification only (type of file, date of last update, etc.), or it may describe the structural layout of the contents, as is common with many document and database formats.  tabs to the locations shown in exhibit 12. Now double-click the account number and account description field tabs and indicate no subtotals, as shown in exhibit 13.

[Exhibits 12-13 ILLUSTRATION OMITTED]

After formatting the Account_num and Account_desc fields, return to the PivotTableWizard as shown in exhibit 12. Click Next and specify the location of your PivotTable. Also verify (1) To prove the correctness of data.

(2) In data entry operations, to compare the keystrokes of a second operator with the data entered by the first operator to ensure that the data were typed in accurately. See validate.
 that Enable drilldown is checked (as shown in exhibit 14) by clicking on PivotTable Options.

[Exhibit 14 ILLUSTRATION OMITTED]

You now have the basic PivotTable. To bring up the summary level report when first opening the Excel file (as shown in exhibit 1), simply click the Transaction description gray field tab (cell C7 in exhibit 1) and the hide detail button on the PivotTable toolbar A row or column of on-screen buttons used to activate functions in the application. Many toolbars are customizable, letting you add and delete buttons as required. Toolbars may be fixed in position or may float, which means they can be dragged to a more convenient location in the , as circled in red in exhibit 15.

[Exhibit 15 ILLUSTRATION OMITTED]

Congratulations, you have set up the basic report. Save it as "100.xls." To get more detail, double-click in any of the following areas:

* Account name: To show the various transaction descriptions within that account.

* Specific amount: To list all the transactions on a new tab.

* Travel expense total (or any oF the row totals): To list on a new tab all the transactions for travel occurring in all months.

* Column totals (such as Jan-00 total): To list on a new tab all January transactions.

AUTOMATING REPORTS

Manually updating these reports each month would be time-consuming. So the next steps show how to automate the process.

Start by creating a drill-down report administrator workbook in Excel, which we'll call the "admin.xls" which will be the control center for the monthly update process. Thus, when you are ready to update the reports every month, simply open the admin.xls workbook and proceed through each step outlined in it. Each step has a control (either a hyperlink A predefined linkage between one object and another. See hypertext.

hyperlink - anchor
 or a button) that triggers an action (see exhibit 16).

[Exhibit 16 ILLUSTRATION OMITTED]

Step 1: Import the general ledger flat file into Access. After the general ledger exports the transaction-level data, we need to bring it into Access with a macro which assumes that the export file you create always has the same name and is stored in the same folder In a graphical user interface (GUI), a simulated file folder that holds data, applications and other folders. Folders were introduced on the Xerox Star, then popularized on the Macintosh and later adapted to Windows and Unix. In Unix and Linux, as well as DOS and Windows 3. .

In Access, click on the Macros tab and New. Select TransferText and fill in the arguments as applicable (see exhibit 17). The TransferText command automates importing delimited de·lim·it   also de·lim·i·tate
tr.v. de·lim·it·ed also de·lim·i·tat·ed, de·lim·it·ing also de·lim·i·tat·ing, de·lim·its also de·lim·i·tates
To establish the limits or boundaries of; demarcate.
 text files into the appropriate table.

[Exhibit 17 ILLUSTRATION OMITTED]

For some imports, you may need to set up a Specification Name field to identify each field data type. Refer to Access's Help for further assistance on this.

Now, still in Access, create the form to make navigation easy by clicking the Forms tab and New. Select the Insert Hyperlink command and then the just-created macro and save the form. Go to Tools, Startup and specify the Display Form. Now when you open this database, the form opens automatically, and clicking the hyperlink imports the file.

To set up the admin.xls control center, open admin.xls and click on Insert, Hyperlink and browse to the Access database. Each month, when you're ready to create your reports, open admin.xls and click on the Step 1 hyperlink to open your Access database's opening form. Then click the hyperlink in the opening form to automatically import the current flat file. Close the Access database and you'll be back to your admin.xls spreadsheet spreadsheet

Computer software that allows the user to enter columns and rows of numbers in a ledgerlike format. Any cell of the ledger may contain either data or a formula that describes the value that should be inserted therein based on the values in other cells.
 and ready for Step 2.

Step 2: Opening the department workbooks. Automate the opening of the department workbooks in Excel with a macro--call it, say, OpenAll. Create the macro with the Visual Basic Editor (VBE See VESA BIOS Extension. ) by selecting Tools, Macro, Visual Basic Editor. Once in VBE, go to Insert, Module, and enter the following text exactly as shown--line breaks and all:
Sub OpenAll()
  `this macro will open all of the sga detail workbooks.
  `you need to manually add any new departments to the list.

  `open the workbooks listed here. (Add lines as necessary)
  Workbooks.Open ("100.xls")

  `activate this workbook
  ThisWorkbook.Activate
End Sub


For each Excel workbook that you want to open, insert in the OpenAll macro a line that reads: Wookbooks. Open ("XXX.xls"), where XXX is the file name of the workbook.

The macro assumes that the department workbooks reside in the same folder as the admin.xls file. If they don't, add the path to the open command. For example, Workbooks. Open ("\drilldown\100.xls").

After you finish the macro, close the VBE and insert a button by selecting View, Toolbars and the Forms menu. Click on the button command on the forms toolbar (see exhibit 18,) and click in the appropriate place in your spreadsheet (I placed my button in the Step 2 section of my workbook). When prompted to assign a macro, indicate the macro you just created, OpenAll Now when you click the button, all your drill-down reports will open.

[Exhibit 18 ILLUSTRATION OMITTED]

Step 3: Refreshing the PivotTables. You now need to set up an additional macro to refresh (1) To continuously charge a device that cannot hold its content. CRTs must be refreshed, because the phosphors hold their glow for only a few milliseconds. Dynamic RAM chips require refreshing to maintain their charged bit patterns. See vertical scan frequency and redraw.  the PivotTables. Open the VBE and enter the following text under your previous macro, OpenAll:
Sub RefreshAllOpenBooks()
  `this will refresh the pivot table in each open book

  For Each w In Workbooks
    Workbooks(w.Name).Activate
    `if workbook is visible
    If ActiveWindow.Visible = True Then
    `if workbook is not this workbook
    If w.Name <> ThisWorkbook.Name Then
       Workbooks(w.Name).RefreshAll

`modify the name of your fields as applicable
ActiveSheet.PivotTables("PivotTable1").PivotSelect
 "Account_num[All]", xlLabelOnly
   Selection.ShowDetail = True

ActiveSheet.PivotTables("PivotTable1").PivotSelect
 "Account_desc[All]", xlLabelOnly
 Selection.ShowDetail = True

ActiveSheet.PivotTables("PivotTable1"). PivotSelect
  "Account_desc[ALL]", xlLabelOnly
   Selection.ShowDetail = False

        End If
     End If
  Next w
End Sub


Note: Where it says, "`modify the name of your fields as applicable," you need to replace Account_num and Account_desc with the corresponding names of your fields if they are different. Also, if you named your PivotTable something other than the default name, "PivotTable1," you need to change the text in the code above to reflect the name you selected. Those six lines of code The statements and instructions that a programmer writes when creating a program. One line of this "source code" may generate one machine instruction or several depending on the programming language. A line of code in assembly language is typically turned into one machine instruction.  are not mandatory, so you can delete To remove an item of data from a file or to remove a file from the disk. See file wipe, trash and undelete.

1. (operating system) delete - (Or "erase") To make a file inaccessible.
 them if they cause problems. They tell Excel to hide the detail so that users initially see the summary level, with all details hidden.

Now close the editor and insert a button at the Step 3 section of the workbook and assign this macro, Refresh AllOpenBooks. Now when you click this button, all your workbooks will pull the current month information into your PivotTable from Access. When running the macro, only the department and admin.xls workbooks should be open.

Step 4. Saving and closing the workbooks. Open the VBE and insert the following text under your previous macro, RefreshAllOpenBooks:
Sub SaveAndCloseAll()
  `this will save and close all open workbooks

  For Each w In Workbooks
     Workbooks(w.Name).Activate
     `if workbook is visible
     If ActiveWindow.Visible = True Then
        `if workbook is not this workbook
        If w.Name <> ThisWorkbook.Name Then
           Workbooks(w.Name).Save
           Workbooks(w.Name).Close
        End If
      End If
   Next w
End Sub


Close the editor and create a button at Step 4 in your workbook and assign this macro, SaveAndCloseAll to the button. When you click this button, your department workbooks will save and close.

Although it took a lot of steps to create this automated au·to·mate  
v. au·to·mat·ed, au·to·mat·ing, au·to·mates

v.tr.
1. To convert to automatic operation: automate a factory.

2.
 drill-down feature, you'll surely bless bless  
tr.v. blessed or blest , bless·ing, bless·es
1. To make holy by religious rite; sanctify.

2. To make the sign of the cross over so as to sanctify.

3. To invoke divine favor upon.
 it each month when you can provide a full, interactive report with just a few mouse clicks. Now that you have the basic steps, you can create drill-down reports for other financial activities.

USEFUL REFERENCES

The PivotTable function has extremely wide applications. For more on how it's used, see "Add Perspective to Spreadsheets,"JofA, Dec.98, page 9, or www.aicpa.org/pubs/jofa/dec 1998/lacher.html. That article demonstrates many of the basic features of PivotTables and describes how to set one up.

This article focuses on one narrow application of Pivot Tables See multidimensional views. , namely drill-down technology, incorporating an advanced feature--linking a database to a spreadsheet. If you are not familiar with the process, refer to "Spreadsheet, Meet Database; Database, Meet Spreadsheet," JofA, Dec.99, page 33 or www.aicpa.org/pubs/ jofa/dec1999/haase/techwk.html.

EXECUTIVE SUMMARY

* TODAY'S TECHNOLOGY GIVES FINANCIAL MANAGERS the opportunity to create interactive, multidimensional reports. With the click of a few buttons, you can prepare up-to-date financial reports automatically.

* IN ADDITION, THE REPORTS CAN PROVIDE drill-down functionality. Click on a number in the report, and the underlying support data appear.

* THE MECHANISM APPLIES the PivotTable function of Microsoft Excel.

* DATA ARE COLLECTED AUTOMATICALLY from your accounting software database and imported into an Access database, where they are then brought into Excel.

* THE BENEFITS OF SUCH A PROCESS ARE THAT

* You can provide reports that are truly interactive.

* Managers can open one report and see both the summary view and the detail behind any number in the report.

* The report expands and collapses as the user desires.

An Invitation

If you have a special how-to technology topic you would like the JofA to consider for inclusion in this series, or an application shortcut (1) In Windows, a shortcut is an icon that points to a program or data file. Shortcuts can be placed on the desktop or stored in other folders, and double clicking a shortcut is the same as double clicking the original file.  you devised and would like to share with other professionals, contact Senior Editor Stanley Stanley, town (1991 pop. 1,557), capital of the Falkland Islands, S Atlantic Ocean, on East Falkland island. It is the main port and trading center of the islands. The name is sometimes written as Port Stanley.  Zarowin. His e-mail address See Internet address.

e-mail address - electronic mail address
 is zarowin@mindspring.com.

JEFF Jeff

boob who usually bungles Mutt’s schemes. [Comics: Berger, 48]

See : Dimwittedness
 LENNING, CPA (Computer Press Association, Landing, NJ) An earlier membership organization founded in 1983 that promoted excellence in computer journalism. Its annual awards honored outstanding examples in print, broadcast and electronic media. The CPA disbanded in 2000. , is the accounting manager at Interpore Cross International, Irvine, California Irvine is an incorporated city in Orange County, California, United States. It is a planned city, mainly developed by the Irvine Company since the 1960s. Formally incorporated on December 28 1971, the 69.7 square mile (180.5 km²) city has a population of 202,079 (as of 2007). . He also heads a consulting firm Noun 1. consulting firm - a firm of experts providing professional advice to an organization for a fee
consulting company

business firm, firm, house - the members of a business organization that owns or operates one or more establishments; "he worked for a
, Click Consulting. His e-mail address is jeff@lenning.com. His Web site is at www.lenning.com/consulting.
COPYRIGHT 2000 American Institute of CPA's
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2000, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

 Reader Opinion

Title:

Comment:



 

Article Details
Printer friendly Cite/link Email Feedback
Title Annotation:computerized financial reports
Author:Lenning, Jeff
Publication:Journal of Accountancy
Article Type:Product/Service Evaluation
Geographic Code:1USA
Date:Aug 1, 2000
Words:2590
Previous Article:The allure of the Internet start-up.
Next Article:New rules, new responsibilities.(audit committees of corporate boards of directors)
Topics:



Related Articles
Tax Boot Camp: gear up--next training planned for January. (News & Trends).
An insider's view of the new, computerized CPA exam.
Don't miss this year's Tax Booth Camp.(News & Trends; California Society of Certified Public Accountants)(Brief Article)
Enlist now!(Tax Boot Camp seminars)(Brief Article)
Trade skills program upgraded.(In Brief)(Brief Article)
CPA exam candidates can now book date for computerized test.(Brief Article)
Robot graders.(Update: education news from schools, businesses, research and government agencies)
Exploration boom revives Kirkland Lake.(Special Report: Timiskaming & Region)(Kirkland Lake diamond drilling company)
Victor's influence spreads.(SPECIAL REPORT: ABORIGINAL BUSINESS)
Mystery drilling: ancient teeth endured dental procedures.(This Week)

Terms of use | Copyright © 2009 Farlex, Inc. | Feedback | For webmasters | Submit articles