home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / PCL60B.ZIP / PART5.EXE / SPTIPS.TUT < prev    next >
Text File  |  1993-07-13  |  18KB  |  354 lines

  1.        
  2.        The following information is reprinted with permission, Ultimate 
  3.        Power Tips 1.0A (c) 1992, 1993  Paul Scanlon, Scanlon Enterprises 
  4.        
  5.        ---------------------------------------------------------------- 
  6.  
  7.                             SPREADSHEET POWER TIPS
  8.  
  9.        ---------------------------------------------------------------- 
  10.  
  11.         Fast Navigation in 1-2-3
  12.  
  13.         Making changes to a massive 1-2-3 worksheet can require you to 
  14.         travel to a distant cell. If you forget where you started out, 
  15.         finding your way back, involves time consuming keystrokes. 
  16.         Before you begin a worksheet session, tap the <Plus> key. Once 
  17.         you find the data you're looking for, tap <ESC>, and the cursor 
  18.         jumps back to the starting point. Tap <ESC> again, and the plus 
  19.         sign disappears.
  20.  
  21.  
  22.  
  23.         Highlight Key Data in 1-2-3
  24.  
  25.         If your spreadsheets contain a multitude of individual line 
  26.         items, it's sometimes difficult for co-workers to spot an 
  27.         important bit of information, such as net income. You can use 1-
  28.         2-3's range unprotect command to highlight individual cells. 
  29.         Place the cell pointer on the desired cell, issue "/Range 
  30.         Unprotect", and press <ENTER> twice. On a color monitor the cell 
  31.         appears green; a monochrome monitor makes the cell brighter.
  32.  
  33.  
  34.  
  35.         To Cell and Back with 1-2-3
  36.  
  37.         With 1-2-3's Goto key, you can travel to any part of the 
  38.         worksheet. Press {F5} and use the cursor navigation keys to go 
  39.         to the next spot. To return to your starting point, just press 
  40.         {ESC}.
  41.  
  42.  
  43.  
  44.         Peruse and Use Faraway 1-2-3 Cells
  45.  
  46.  
  47.         Here's a way to display and use a distant cell of a large 1-2-3 
  48.         worksheet. At the Ready mode, type a plus sign and the cell 
  49.         address or range name, then press Calc. 1-2-3 will display the 
  50.         current value of the cell on the control panel. Press <ENTER> to 
  51.         store the value in the cell containing the cursor, or press 
  52.         <ESC> to clear the control panel and return to the Ready mode.
  53.  
  54.  
  55.  
  56.         Revealing 1-2-3 Formulas
  57.  
  58.         To view 1-2-3 formulas, users usually place the cell pointer on 
  59.         a cell and look in the control panel. If you want to see a 
  60.         formula in its cell, simply place the pointer on the cell and 
  61.         issue /RANGE FORMAT TEXT, press {Enter} then {Enter} again. 1-2-
  62.         3 displays the formula in that cell.
  63.  
  64.  
  65.  
  66.         1-2-3 Copy Controls Cursors
  67.  
  68.         1-2-3 users usually initiate the Copy command with the cell 
  69.         pointer in some cell in the source range. After 1-2-3 copies the 
  70.         range, it automatically returns the pointer. To have the pointer 
  71.         end up in the upper left cell of the target range, put the 
  72.         pointer there before you enter "/Copy" Then press "<ESC>" or 
  73.         <Backspace>, highlight the source range, and press <ENTER> 
  74.         twice.
  75.  
  76.  
  77.  
  78.         List 1-2-3 Named Ranges
  79.  
  80.         To view a list of named ranges in a 1-2-3 worksheet, press <F5> 
  81.         immediately followed by <F3>. Then select a range to go to or 
  82.         punch <F3> again to see the next five ranges. This technique is 
  83.         also useful when 1-2-3 prompts you to enter a range and you want 
  84.         to specify a previously created name.
  85.  
  86.  
  87.  
  88.         Find Optimal Solutions With What-If Solver
  89.  
  90.         Let's say, you're the treasurer of a pension fund. Your goal, is 
  91.         to invest your members' deposits, and reap the maximum risk. 
  92.         But, each investment presents different interest rates, 
  93.         maturation periods and risk levels, How do you decide where to 
  94.         put the money? You could use the time-honored (but imprecise) 
  95.         method of plugging guesses into data cells until the numbers 
  96.         "looked" right! But there's a better way, What-If Solver, is a 
  97.         1-2-3 add-in that finds optimal solutions for spreadsheet 
  98.         models. What-If Solver's nonlinear algorithms can handle a much 
  99.         broader range of problems than the linear methods found in 
  100.         Quattro or SuperCalc, and because its intuitive menus shield you 
  101.         from the esoteric of advanced mathematics, What-If Solver is 
  102.         much easier to use. Unlike similar products, What-If Solver 
  103.         works just fine on existing spreadsheet models and the 
  104.         documentation provides a number of clearly described case 
  105.         studies. What-If Solver is available from Frontline Systems, 140 
  106.         University Ave #100, Palo Alto, CA 94301, (800) 451-0300 ext. 55 
  107.         or (800) 452-2159 (by fax)...
  108.  
  109.  
  110.  
  111.         Spruce Up Your Charts With Text and Labels
  112.  
  113.  
  114.         Adding Free-Floating text to Excel charts is easy, but how to do 
  115.         it is not immediately obvious. Just select the chart and start 
  116.         typing. The text will appear in the formula bar. Press <ENTER>, 
  117.         and drag the new text item into place. Choose Format Text to 
  118.         alter its font or colors. If you want to emphasize the texts' 
  119.         subject with an arrow, choose Chart Add Arrow, then click on the 
  120.         end of the arrow and drag it into position. You can also use 
  121.         Excel's default label options. To put a title at the top of your 
  122.         chart, select Chart Attach Text Title, type the appropriate 
  123.         text, and press <ENTER>. Similarly, you can label the x and y 
  124.         axes using Chart Attach Text Category Axes and Chart Text Value 
  125.         Axes, respectively. You can alter an attached label's appearance 
  126.         with Format Text, but if you want to change its position, you 
  127.         must replace it with a Free-Floating label.
  128.  
  129.  
  130.  
  131.         Getting Weekdays into Your Spreadsheet
  132.  
  133.         Sometimes, it is required to list weekdays, and only weekdays, 
  134.         for a given month. Instead of looking at a calendar and manually 
  135.         entering numbers, you can use the following trick that 
  136.         automatically list days of the month, excluding weekends. To use 
  137.         this technique, enter a year value, such as "91" in cell C1. 
  138.         Enter a month (range of 1 to 12) in cell C2. You can use other 
  139.         cells, but you'll have to alter the cell numbers in this 
  140.         method's formula. Now move to cell C4 and enter the following 
  141.         formula: @IF( @MOD( @DATE( $C$1, $C$2,1),7) > 1,1,@IF( @MOD( 
  142.         @DATE( $C$1,$C$2,1),7) = 1,2,2)). Drop down one row to cell C5 
  143.         and enter @IF( @MOD( @DATE( $C$1, C4 + 1),7) > 1,1,@IF( @MOD( 
  144.         @DATE( $C$1,C4 + 1),7) = 1,2+C4,3 + C4)). Finally, replicate 
  145.         cell C5 to cells C6 through C26. This will display the weekday 
  146.         numbers for the month, which you  can use in expressions or 
  147.         simply as row labels. To skip holidays that occur during the 
  148.         week, simply enter the next day number manually. For example, if 
  149.         July 4th falls on a weekday, move to the cell with "4" and enter 
  150.         "5" to replace the formula. Subsequent cells will automatically 
  151.         be updated.
  152.  
  153.  
  154.  
  155.         Smart Consolidations
  156.  
  157.         With Excel 3.0, you can quickly consolidate totals from widely 
  158.         separate sections of a large worksheet or from a group of 
  159.         worksheets. First, open the relevant worksheet(s) and select the 
  160.         range where you want to consolidate the totals. Choose Data 
  161.         Consolidate, which brings up the Consolidate dialog box. Select 
  162.         the first range containing an amount to be aggregated, and click 
  163.         on the Add button in the dialog box. Repeat this process for all 
  164.         the relevant sections or files. Then click OK, or press <ENTER> 
  165.         to consolidate the totals. You can streamline the selection 
  166.         process when you've consolidating date from multiple files. Use 
  167.         similar file names for the relevant files (let's day they all 
  168.         begin with SALES) and the same cell reference for data 
  169.         consolidate, B4:B12 for example. Enter "SALES * .XLS!$B$4:$B$12" 
  170.         in the Reference text box, and Excel will include totals from 
  171.         all worksheets, even un-opened ones, whose names begin with the 
  172.         selected range (SALES example).
  173.  
  174.  
  175.  
  176.         Speed Up Your Macros With ECHO
  177.  
  178.         By default, Excel continuously displays a macro's progress on 
  179.         screen. Lengthy macros operate much faster when you use the 
  180.  
  181.         ECHO(FALSE) function to stop these time wasting screen updates. 
  182.         Don't use ECHO(FALSE) while debugging a long macro, or you won't 
  183.         know when it hits a snag. When you know a major section of the 
  184.         macro or subroutine is reliable, however, you can surround that 
  185.         section with ECHO(FALSE) at the start and ECHO(TRUE) at the end. 
  186.         When you're though debugging, use Formula Replace to strip out 
  187.         the scattered ECHO statements.
  188.  
  189.  
  190.  
  191.         Getting the Right Results With Visual Rounding
  192.  
  193.         Sometimes, when combining figures from several sections of one 
  194.         spreadsheet, or from linked spreadsheets, the totals are wrong. 
  195.         The problem, seems to be related to rounding. How can this 
  196.         problem be avoided ? Most times, you round numbers, to make them 
  197.         easier to read, but you don't want  to change the value of the 
  198.         numbers themselves. In that case, use format commands to limit 
  199.         the number of decimal places the spreadsheet should reveal. With 
  200.         "visual rounding" the numbers look the way you want but keep 
  201.         their exact value. If you use a rounding function, such as 
  202.         @ROUND, in 1-2-3 and Quatro Pro, or =ROUND in Excel, you change 
  203.         a number's value. Think of this as "mathematical rounding". If 
  204.         your report summaries contain formulas which add up tens or 
  205.         hundreds of values, rounded off with ROUND functions, your 
  206.         results can be inaccurate. But if you round all values that 
  207.         contribute to the to the final sum, visually rather than 
  208.         mathematically, your summaries would be on target. To see the 
  209.         difference, set up the following :
  210.  
  211.               A            B           C           D
  212.         1
  213.         2            $57,453.23   $57,453.23
  214.         3            $29,492.98   $29,492,98
  215.         4            $60,883.33   $60,883.33
  216.         5            ========     ========
  217.         6
  218.  
  219.         In 1-2-3 and Quatro Pro, enter @ROUND(@SUM(B2..B4),0) into cell 
  220.         B6. In Excel, use the formula =ROUND(SUM(B2:B4),0). The result 
  221.         is a value rounded mathematically, to the nearest dollar, with 
  222.         no record of whether the number was rounded up or down, or of 
  223.         what happened to the missing decimal places. Now, sum the values 
  224.         in Cells C2 to C4, and display the rounded result without losing 
  225.         track of the change. In 1-2-3 and Quatro Pro, enter @SUM(C2..C4) 
  226.         into cell C6. In Excel, enter =SUM(C2:C4). Then in 1-2-3, select 
  227.         /Range Format Currency, enter 0 and indicate cell C6. In Quatro 
  228.         Pro, indicate cell C6, select Style Numeric Format Currency, 
  229.         enter 0 and click enter. In Excel, indicate cell C6, select 
  230.         Format, Number and apply the format option that reads 
  231.         "$#,##0_);($#,##0). The formatted number is rounded visually, 
  232.         not mathematically. The cell format suppresses the decimal 
  233.         places and rounds to the nearest dollar.
  234.  
  235.  
  236.  
  237.         Quick Totals for 1-2-3
  238.  
  239.         After you have entered a column of numbers in 1-2-3 or a 
  240.         compatible spreadsheet program, you can use this macro to place 
  241.         a dashed line and an @SUM() function beneath the column quickly 
  242.         and easily. Enter the label "\-{down}@sum ({up2}.{end} {up})~ in 
  243.         an out of the way cell. Use "/Range Name Create" to name the 
  244.         range "\s". To use the macro, place the cell pointer in the cell 
  245.         directly below the column of numbers you want summed, and press 
  246.         <Alt>-S.
  247.  
  248.  
  249.  
  250.         Check Behind Lotus Express
  251.  
  252.         Selecting any Lotus Express accessory (Reader, Comm_Manager, 
  253.         etc...) pops up a window that obscures whatever else is on the 
  254.         screen. By pressing both {Shift} keys simultaneously, you can 
  255.         make the window temporarily disappear so that you can view the 
  256.         DOS prompt, application, or other Express accessory behind it. 
  257.         Releasing one or both {Shift} keys restores the current pop up 
  258.         window.
  259.  
  260.  
  261.  
  262.         Streamline Excel Macros With Subroutines
  263.  
  264.         Often a macro must repeat the same series of commands over and 
  265.         over. It's easier and more efficient to make those commands a 
  266.         subroutine, a macro within a macro. Here's a simple example. 
  267.         Suppose you want a macro to format several selected columns as 
  268.         percentages. First, use File New Macro sheet, and choose an out 
  269.         of the way area, in this example we'll start at cell A100. To 
  270.         name th subroutine, enter "FormulaPercent()" in cell A100, 
  271.         select Formula Define name, click on Command, and press <ENTER>. 
  272.         Type "=select("c")" in cell A101 and "=format.number("0.00%")" 
  273.         in cell A102. End the subroutine by entering "=return()" in cell 
  274.         A103. Now whenever you want a macro to apply the percentage 
  275.         format to the current column, in your worksheet, simply use the 
  276.         formula "=FormatPercent()" in that macro.
  277.  
  278.  
  279.  
  280.         Ranking Values With Excel
  281.  
  282.         Excel's powerful array feature lets you create a formula to 
  283.         compute ranks, and the ranks will adjust automatically if your 
  284.         numbers change. If the values to be ranked are in A1:A10, for 
  285.         example, type the following formula into cell B1: 
  286.         "=SUM(IF(A1>SAS:SAS10,1))+1" then press {Shift}&{Ctrl}&{Enter} 
  287.         to make this an array formula, indicated by surrounding curly 
  288.         braces. If braces do not appear, press {F2} and try again. Copy 
  289.         the formula to B2:B10, and the ranks will be calculated. With 
  290.         large ranges, however, recalculating these formulas can take a 
  291.         while, so you'll be wise to switch to manual recalc mode.
  292.  
  293.  
  294.  
  295.         Setting Date Formats in Worksheet Headers and Footers
  296.  
  297.         To print the current date in your 1-2-3 or Quattro Pro 
  298.         worksheet, place @ in the header or footer. The format of the 
  299.         printed date is determined by the format you select for the 
  300.         clock display on the status line. Reset the date's format with 
  301.         "/Options|Other|Clock" in Quattro Pro or "/Worksheet|Global | 
  302.         Default|Other|Clock" in 1-2-3.
  303.  
  304.  
  305.  
  306.         The Last Day of the Month
  307.  
  308.         Obtaining the Last Day of the Month in an expression similar to 
  309.         "@END_MONTH (argument)" or the beginning of the month via 
  310.         "@BEG_MONTH (argument)" as a serial date number can be 
  311.         accomplished, in Excel, 1-2-3 and Quatro Pro. In Excel, use the 
  312.         formula "=DATE(YEAR(A2),MONTH(A2),1) to obtain the first day of 
  313.  
  314.         a month, and "=DATE(YEAR(A2),MONTH(A2)+1,1)-1 for the last day 
  315.         of a month. 'A2' is the cell name containing the serial date, 
  316.         such as 32283 for 2/1491.  For 1-2-3 and Quatro, you can use 
  317.         "@DAY(YEAR(A2),MONTH(A2),1)" to get the first day of the month, 
  318.         but, you will have to use a manually constructed lookup table to 
  319.         find the serial number of the last day of the month. Using a 
  320.         manual table method, is NOT as reliable as the Excel formula, so 
  321.         it must contain error trapping to avoid out-of-range dates. To 
  322.         build the table, open a blank worksheet and enter the labels 
  323.         "FIRST", "DATE", "DAYS", "LAST", and "DATE", in cells A1 through 
  324.         E1. In A2 through E2, enter '0', '0', 'ERR', 'ERR' and 'ERR'. In 
  325.         cell A3, enter the formula "@DATE(90,1,1)" (assuming January 
  326.         1990 is the earliest month you need in the table). Enter "+A3" 
  327.         in cell B3. In cell C3, enter the number of days for the month 
  328.         of the date in A3. In cell D3, enter "+A3+C3-1". In cell E3, 
  329.         enter "+D3". Now copy the formula of B3-E3 to cells B4 - E27 
  330.         (rows 4 thru 27, columns B thru E), using "/CB3,E3 <ENTER>B4,E27 
  331.         <ENTER>". In cell A4, enter "+A3+C3", and enter "/CA4 <ENTER> 
  332.         A5,A27 <ENTER>" to duplicate the formula to cells A5 = A27. Set 
  333.         the cell pointer to cell B3 and enter "RFD4<END> <CURSOR 
  334.         DOWN><ENTER>" to format the entries in column B as "long 
  335.         international" dates. Place the pointer in cell E3 and repeat 
  336.         the date format keystrokes. Locate to cell C4, the number of 
  337.         days in February 1990 and press <Cursor Down>. Continue entering 
  338.         the appropriate number of days for each month. Finally, in cell 
  339.         C27, D27 & E27 enter 'ERR' and the table 'MONTH' with "\RNCMONTH 
  340.         <ENTER> A1,E27 <ENTER>". To use the table, enter a serial date 
  341.         (such as 33232) in cell A30, and the formula 
  342.         "@VLOOKUP(A30,MONTH,3)" in cell B30
  343.  
  344.  
  345.        Tutorial finished. Have you registered PC-Learn to receive your
  346.        bonus disks? Registration is encouraged. Shareware works on the
  347.        honor system! Send $25 to Seattle Scientific Photography, 
  348.        Department PCL6, PO Box 1506, Mercer Island, WA 98040. Latest 
  349.        version of PC-Learn and two bonus disks shipped promptly!
  350.  
  351.  
  352.  
  353.  
  354.