Download P Palmtop - HP Computer Museum
Transcript
You can easily change the selection criteria upon which Sales are being subtotaled by changing the field name in the criterion range and the record labels in cells G18 through G21. For example, let's say you wanted to look at a sales subtotal for a particular part numbers. PDA DEVELOPERS NORTH & PDA Expo Il t _ PALMTOPS, PDAs, PICs AND MOBILE COMPANIONS This is the only conference focused entirely on hand-held computers. There are three days for developers and system integrators. The fourth day is an end-user conference with exhibits open to the public at no charge. End-user conference tracks include corporate solutions, vertical markets, internet access, desktop connectivity, content creation, and more. Check out our web page for full details. 1. Go to cell 016 and type in Part. 2. Enter POI in cell G18, P02 in G19, P03 in G20, and P05 in G21. 3. Re-issue the Data Table command (points 1 to 3 above) or, simply press I!!) (TABLE). Then, add a description for each part number in column 1. (We'll use these later in custom reports.) Enter Monitors, Workstations, Servers and Disk Drives in cells 118, 119, 120 and 121, respectively. Your results should appear as shown at the bottom of this page. Wrap up this portion of the tutorial by giving the sales subtotals lookup table (the range from G18 to 121) a short name like LTB as an abbreviation for Lookup Table. To do this issue the command I MENU I Range Name ~reate . When it prompts you to Enter Name: type LTB and hit ~TERI . When it prompts you to Enter range: you can either highlight the cells in the range from G18 to 121 or type in G18 ..121 and hit IENTERI . SEPTEMBER 11 - 14, 1996. CHICAGO, IL CREATIVE DIGITAL INC., 293 CORBETT AVE., SAN FRANCISCO, CA 94714 475.627.4252 • 475.627.4922 (FAX) • CDI@CDPUBS.COM • HTTP://www.CDPUBS.COM Displaying the results In a report If you use the @DSUM approach on larger databases and with longer lists, you may occasionally want to subtotal the subtotals, or have them rearranged in a way that is easer to read. For example, in my profession 1 frequently need to take a client's general ledger database and summarize all the amounts in it into key financial statement categories. 1 then present the subtotal categories in an easyto-read financial statement. To create worksheets with great reporting flexibility, 1 use three areas in my worksheets: 1. The database range (B3 through 113 in the above example), 2. The lookup table which serves as an intermediate calculation table (G18 through 121 in the example above), 3,462 , 599 Part PART_PRI CLLI ST Part UnitPrice P91 1 , 999 ~g~ ~;ggg 2 P91 P92 P93 P95 9 275,999 1 , 125,999 2,962 , 599 9 3,462,599 Monitors Workstations Servers Disk Drives Sales subtotals report based on Part Number instead of Month. 3. A report range which looks up amounts and descriptions from the subtotals range using the @VLOOKUP formula discussed in the November/December 1995 article. (For instructional purposes this tutorial presents the database at the top of the worksheet with the report range at the bottom. However, a better habit is to have the report range at the top of the spreadsheet followed by the lookup table with the intermediate calculated results, which in turn is followed by the database at the bottom of the active spreadsheet area.) The @vlookup feature lets you keep a constant value (like the unit price of an item), or a longer description of the item, or the subtotals like those just calculated in a separate part of the spreadsheet. You can then use the @VLOOKUP formula in a report located elsewhere to access amounts and descriptions from the Lookup Table. In the above example, 1 could use a @VLOOKUP formula to display the subtotals calculated with the Data Table command in another part of the spreadsheet. (In the above example we're working on, we will create a report range later at C24 through H32.) Undesired results with @VLOOKUP When creating any report from results and data contained in a THEHPPALMTOPPAPER MAY/ JUNE 1996 49