home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _F3C11337F7EA493991E1C6A333C2A947 < prev    next >
Text File  |  2003-03-07  |  102KB  |  2,424 lines

  1. Using tables and charts
  2.  
  3. WordPerfect lets you create tables and charts.
  4.  
  5. Tables let you organize data in rows and columns of cells. Tables can contain text or graphics and can be formatted. You can use tables to present lists, schedules, financial data, comparisons, and summaries.
  6.  
  7. Charts can enhance the presentation of data in a document. You can use data charts to display comparisons, trends, and statistics, or you can use organization charts to display an organization's structure.
  8.  
  9. In this section, you'll learn about
  10.  
  11.   creating tables
  12.   
  13.   exporting tables to spreadsheets
  14.   
  15.   selecting and moving table components
  16.   
  17.   setting and inserting rows and columns in tables
  18.   
  19.   joining and splitting table cells
  20.   
  21.   deleting tables and table components
  22.   
  23.   sorting data in tables
  24.   
  25.   navigating named tables, table components, or floating cells
  26.   
  27.   locking table cells
  28.   
  29.   displaying table gridlines and formula indicators
  30.   
  31.   adding diagonal lines to table cells
  32.   
  33.   rotating table cell contents and skewing cells
  34.   
  35.   adjusting table column widths
  36.   
  37.   creating table header rows and adjusting table rows
  38.   
  39.   applying fills, lines, and color to tables
  40.   
  41.   applying borders to tables
  42.   
  43.   creating table styles
  44.   
  45.   changing text alignment
  46.   
  47.   applying and customizing numeric formats
  48.   
  49.   naming tables
  50.   
  51.   using operators
  52.   
  53.   entering formulas in tables
  54.   
  55.   calculating formulas in tables
  56.   
  57.   creating charts
  58.   
  59. For more information about table functions, see "Reference: Using tables and charts."
  60.  
  61. Creating tables
  62.  
  63. A table consists of rows, which run horizontally, and columns, which run vertically. Rows and columns intersect to create cells. A cell is like a small editing window in which you can insert text, graphics, numbers, or formulas. The cells in a table are labeled alphabetically from left to right and numerically from top to bottom.
  64.  
  65. The following image shows a table with: 1) rows and 2) columns.
  66.  
  67. You can create a table anywhere in a document window. When a table is in a graphics box, text can flow around the table.
  68.  
  69. You can create a floating cell, which is a single table cell that exists outside of a table. A floating cell can contain formulas, text, or numbers and can be linked to other parts of the document or to other documents to present a snapshot of information, such as a sales total.
  70.  
  71. You can create a table by importing a spreadsheet or database from applications like Quattro Pro, Lotus 1-2-3, and Microsoft Excel. You can also export a table to these applications.
  72.  
  73. You can also create a table by converting text. Tables can also be converted into text.
  74.  
  75. To create a table
  76.  
  77. 1    Click Table  Create.
  78.  
  79. 2    Type values in the following boxes:
  80.  
  81.   Columns
  82.   
  83.   Rows
  84.   
  85. 3    Click Create.
  86.  
  87. You can also    
  88.  
  89. Create a table in a graphics box    Enable the Drag to create a new table check box, click Create, and drag a rectangle anywhere in a document.
  90.  
  91. Create a floating cell    In the Create area, enable the Floating cell option.
  92.  
  93. Tips
  94.  
  95.   You can also create a table by clicking the Table QuickCreate button on the toolbar and dragging to specify the number of rows and columns for the table.
  96.   
  97.   If the Shadow Cursor is enabled, you can create a table by dragging a rectangle and clicking Table in the QuickMenu.
  98.   
  99. To create a table by importing a spreadsheet or database
  100.  
  101. 1    Click Insert  Spreadsheet/database  Import.
  102.  
  103. 2    Choose a format from the Data type list box.
  104.  
  105. 3    Choose Table from the Import as list box.
  106.  
  107. 4    In the Filename box, type the folder and name of the file you want to import.
  108.  
  109. If you want to search for the file, click the Browse button and choose the drive and folder where the file is stored.
  110.  
  111. Notes
  112.  
  113.   When you import a spreadsheet workbook, WordPerfect imports only the first sheet.
  114.   
  115.   A spreadsheet's functions will not work in WordPerfect after you import the spreadsheet.
  116.   
  117. To convert text to a table
  118.  
  119. 1    Select tabular text.
  120.  
  121. 2    Click Table  Convert.
  122.  
  123. 3    In the Text delimiters area, enable one of the following options:
  124.  
  125.   Commas- converts each comma in the text to a column
  126.   
  127.   Tabs -converts each tab in the text to a column
  128.   
  129.   Paragraphs-converts each paragraph mark in the text to a column
  130.   
  131.   User defined-convert each defined item in the text to a column
  132.   
  133. If you enable the User defined option, you can type an item in the User defined box.
  134.  
  135.  
  136.  
  137. You can also    
  138.  
  139. Make the column size match the size of the text    In the Format area, enable the Size column to fit option.
  140.  
  141. Make the columns equal size    In the Format area, enable the Equal column widths option.
  142.  
  143. Choose a table format    Click SpeedFormat.
  144.  
  145.  
  146.  
  147. Note
  148.  
  149.   Tables converted from tabular text may contain extra rows or cells. For information about joining extra rows or cells, see "Joining and splitting table cells." For information about deleting extra rows or cells, see "Deleting tables and table components."
  150.   
  151. Tip
  152.  
  153.   You can also convert a table to text. Select the table cells you want to convert, click Table  Convert, and enable the option you want to use.
  154.   
  155. To convert parallel columns to a table
  156.  
  157. 1    Select parallel columns.
  158.  
  159. 2    Click Table  Convert.
  160.  
  161. 3    In the Text delimiters area, enable the Parallel column option.
  162.  
  163. Exporting tables to spreadsheets
  164.  
  165. You can export a table created in WordPerfect to a spreadsheet application, such as Quattro Pro, Lotus 1-2-3, or Microsoft Excel. If more than one table exists in the WordPerfect document, each table becomes one sheet in the spreadsheet application, with the first table becoming sheet one, the second table becoming sheet two, and so on.
  166.  
  167. To export a table to a spreadsheet
  168.  
  169. 1    Click File  Save as.
  170.  
  171. 2    Choose the drive and folder where you want to save the file.
  172.  
  173. 3    Type a filename in the Filename box.
  174.  
  175. 4    Choose a file type from the File type list box.
  176.  
  177. 5    Click Save.
  178.  
  179. Notes
  180.  
  181.   When you want only one table in a document exported, you have to select the table before exporting it.
  182.   
  183.   When you export a table, only the values and text in each cell are exported. Any formulas and functions within the cells are lost.
  184.   
  185. Selecting and moving table components
  186.  
  187. You must select a table or table component before you can perform a procedure, such as changing the number of rows or columns in the table or copying the format of one table cell to another. You can also select table components by using QuickSelect or Row/column indicators.
  188.  
  189. You can copy, cut, and paste table components. You can copy the format of a table cell and apply the formatting to another cell or group of cells. Formatting includes attributes, such as line style, line color, or fill, but does not include cell contents, such as text or formulas.
  190.  
  191. To select a table
  192.  
  193. 1    Click anywhere in a table.
  194.  
  195. 2    Click Edit  Select  Select table.
  196.  
  197. To select a table or table components by using QuickSelect
  198.  
  199.  
  200.  
  201. To select    Do the following
  202.  
  203. A cell    In the table, move the pointer until it changes to an arrow pointing upward or to the left, and click.
  204.  
  205. A row    In the table, move the pointer until it changes to an arrow pointing to the left, and double-click.
  206.  
  207. A column    In the table, move the pointer until it changes to an arrow pointing upward, and double-click.
  208.  
  209. The entire table    In the table, move the pointer until it changes to an arrow pointing upward or to the left, and triple-click.
  210.  
  211.  
  212.  
  213. Tip
  214.  
  215.   You can also select a cell by clicking in a cell and pressing SHIFT + F8.
  216.   
  217. To select rows, columns, or tables by using Row/column indicators
  218.  
  219.  
  220.  
  221. To select    Do the following
  222.  
  223. A row    Right-click in a table, and click Row/column indicators. Click the row indicator next to the row (for example, 1, 2, and so on).
  224.  
  225. A column    Right-click in a table, and click Row/column indicators. Click the column indicator above the column (for example, A, B, and so on).
  226.  
  227. The entire table    Right-click in a table, and click Row/column indicators. Click the rectangle in the top-left corner of the row and column indicators (the cursor becomes a double-headed corner arrow).
  228.  
  229.  
  230.  
  231. Tip
  232.  
  233.   You can also select rows, columns, and tables by clicking Table  Row/col indicators.
  234.   
  235. To copy table components
  236.  
  237. 1    Select a range of cells, a row, or a column.
  238.  
  239. 2    Click Edit  Copy.
  240.  
  241. 3    Enable one of the following options:
  242.  
  243.   Selection-copies only the selected cells
  244.   
  245.   Row-copies the selected row
  246.   
  247.   Column-copies the selected column
  248.   
  249.   Cell-copies the selected cell to the Clipboard, or down, or to the right a specified number of times
  250.   
  251. 4    Click where you want to paste the cells, row, or column.
  252.  
  253. 5    Click Edit  Paste.
  254.  
  255. Tips
  256.  
  257.   If you want to move a selected range of cells, a row, or a column, click Edit  Cut.
  258.   
  259.   You can also copy table components by selecting a range of cells, a row, or a column, right-clicking, and clicking Copy.
  260.   
  261. To copy the format of a table cell
  262.  
  263. 1    Click a formatted cell.
  264.  
  265. 2    Click Format  QuickFormat.
  266.  
  267. A check mark beside the menu command indicates that the command is enabled.
  268.  
  269. 3    Enable the Selected table cells option.
  270.  
  271. 4    Click OK.
  272.  
  273. The pointer changes to the QuickFormat paintbrush cursor.
  274.  
  275. 5    Click the cells you want to format.
  276.  
  277. Tip
  278.  
  279.   You can disable QuickFormat by clicking a cell and clicking Format  QuickFormat.
  280.   
  281. Setting and inserting rows and columns in tables
  282.  
  283. You can set the number of rows and columns in a table. You can also insert columns or rows in a table. New columns or rows have the same formatting as the column or row in which the cursor is positioned.
  284.  
  285. To set the number of rows and columns in a table
  286.  
  287. 1    Select a table.
  288.  
  289. 2    Click Table  Format.
  290.  
  291. 3    Click the Table tab.
  292.  
  293. 4    In the Table size area, type values in the following boxes:
  294.  
  295.   Columns
  296.   
  297.   Rows
  298.   
  299. Tip
  300.  
  301.   If you add columns and you want all the columns to be the same width, select a row and click Table  Equal column widths.
  302.   
  303. To insert a column or row in a table
  304.  
  305. 1    Right-click where you want to insert the column or row, and click Insert.
  306.  
  307. 2    Enable one of the following options:
  308.  
  309.   Columns-lets you specify the number of columns you want to insert
  310.   
  311.   Rows-lets you specify the number of rows you want to insert
  312.   
  313. 3    Enable one of the following options:
  314.  
  315.   Before-inserts new columns or rows before the row in which the cursor is positioned
  316.   
  317.   After-inserts new columns or rows after the row in which the cursor is positioned
  318.   
  319. Tips
  320.  
  321.   If you insert a column, enable the Keep column widths the same check box to prevent the existing columns from changing width when the new column is added.
  322.   
  323.   You can also insert a row by clicking the Insert row button on the property bar.
  324.   
  325. Joining and splitting table cells
  326.  
  327. You can join or split tables and table cells. Except for individually formatted cells, the second table acquires the formatting of the first table. When you join selected cells, the formatting of the top left cell is used for all the joined cells. You can also split any table horizontally into two tables. When you split table cells, each selected cell divides in two. The new cells have the same format as the original cell.
  328.  
  329. To join table cells
  330.  
  331. 1    Select the cells you want to join.
  332.  
  333. 2    Click Table  Join  Cell.
  334.  
  335. Tip
  336.  
  337.   You can also join table cells by clicking Table  Join  QuickJoin and selecting the cells you want to join.
  338.   
  339. To join two tables
  340.  
  341. 1    Click View  Reveal Codes.
  342.  
  343. 2    In the Reveal Codes window, delete all hard return codes and any other codes or text between the [Tbl Off] code of the first table and the [Tbl Def] code of the second table.
  344.  
  345. 3    Click in the first table.
  346.  
  347. 4    Click Table  Join  Table.
  348.  
  349. To split a table cell
  350.  
  351. 1    Click in a cell.
  352.  
  353. 2    Click Table  Split  Cell.
  354.  
  355. 3    Enable one of the following options and type a value:
  356.  
  357.   Columns-splits a table cell into columns
  358.   
  359.   Rows-splits a table cell into rows
  360.   
  361. Tips
  362.  
  363.   You can also split table cells by clicking the QuickSplit row button, the QuickSplit column button, or the QuickSplit columns and rows button on the property bar, and clicking in a table cell. When the QuickSplit row button, the QuickSplit column button, or the QuickSplit columns and rows button appears pressed, you can also hold down SHIFT to toggle to the QuickJoin tool.
  364.   
  365.   You can toggle back and forth between splitting cells and rows by clicking the QuickSplit row button or the QuickSplit column button, and holding down ALT.
  366.   
  367. To split a table
  368.  
  369. 1    Click where you want to divide a table.
  370.  
  371. 2    Click Table  Split  Table.
  372.  
  373. 3    Click View  Reveal Codes.
  374.  
  375. 4    In the Reveal Codes window, place the cursor between the [Tbl Off] code of the first table and the [Tbl Def] code of the second table, and press ENTER a few times to separate the two tables.
  376.  
  377. Deleting tables and table components
  378.  
  379. You can delete a row, column, or an entire table. If you want to maintain the table structure, you can delete the contents only or formulas only. When you delete a row, column, or an entire table, you can delete the data, the structure, or only the formulas.
  380.  
  381. To delete a table row or column
  382.  
  383. 1    Select a row or column, and click Table  Delete.
  384.  
  385. 2    Enable one of the following options:
  386.  
  387.   Rows-lets you specify the number of rows to delete
  388.   
  389.   Columns-lets you specify the number of columns to delete
  390.   
  391. If you want to delete only the contents of a row or column, enable the Cell contents only option.
  392.  
  393. To delete a table formula without deleting cell contents
  394.  
  395. 1    Click in the cell containing a formula and click Table  Delete.
  396.  
  397. 2    Enable the Formulas only option.
  398.  
  399. To delete the contents or structure of an entire table
  400.  
  401. 1    Select a table.
  402.  
  403. 2    Click Table  Delete.
  404.  
  405. 3    Enable one of the following options:
  406.  
  407.   Entire table-deletes the contents and structure
  408.   
  409.   Table contents only-deletes the contents
  410.   
  411.   Formulas only-deletes the formulas
  412.   
  413. Tip
  414.  
  415.   You can also delete table contents by selecting a table, right-clicking, and clicking Delete.
  416.   
  417. Sorting data in tables
  418.  
  419. You can sort data in an individual column, in several columns, or in an entire table. For example, you can sort a list of names alphabetically, or you can sort a list of historical dates chronologically.
  420.  
  421. To sort data in a table column
  422.  
  423. 1    Select a column.
  424.  
  425. 2    Click the Sort table button on the property bar.
  426.  
  427. 3    Choose one of the following options:
  428.  
  429.   Alpha ascending-sorts data alphabetically from A to Z
  430.   
  431.   Alpha descending-sorts data alphabetically from Z to A
  432.   
  433.   Numeric ascending-sorts data numerically from lowest number to highest number
  434.   
  435.   Numeric descending-sorts data numerically from highest number to lowest number
  436.   
  437.   Dates ascending-sorts data chronologically from the oldest date to the most recent date
  438.   
  439.   Dates descending-sorts data chronologically from the most recent date to the oldest date
  440.   
  441. Note
  442.  
  443.   If you use header rows in a table, they will not be sorted with the rest of the data in the table.
  444.   
  445. Tip
  446.  
  447.   You can sort more than one column at a time by selecting a group of columns or the entire table.
  448.   
  449. Navigating named tables, table components, or floating cells
  450.  
  451. You can go to named tables, table components, or floating cells in the active document.
  452.  
  453. To go to a named table
  454.  
  455. 1    Click Edit  Go to.
  456.  
  457. 2    Choose Table from the Go to what list.
  458.  
  459. 3    Choose a table from the Select table list box.
  460.  
  461. 4    Click Go to.
  462.  
  463.  
  464.  
  465. You can also    
  466.  
  467. Go to a table component    Choose a table component from the Cell/range list box.
  468.  
  469. Go to a floating cell    Choose a floating cell from the Cell/range list box.
  470.  
  471.  
  472.  
  473. Tip
  474.  
  475.   You can also go to a named table, table component, or floating cell by clicking Table  Names.
  476.   
  477. Locking table cells
  478.  
  479. Locking a table cell prevents changes to the cell data. You can also disable a locked cell temporarily to edit the data in a cell.
  480.  
  481. To lock a table cell
  482.  
  483. 1    Select a cell.
  484.  
  485. 2    Click Table  Format.
  486.  
  487. 3    Click the Cell tab.
  488.  
  489. 4    In the Cell attributes area, enable the Lock cell to prevent changes check box.
  490.  
  491. To disable all locked table cells temporarily
  492.  
  493. 1    Select a table.
  494.  
  495. 2    Click Table  Format.
  496.  
  497. 3    Click the Table tab.
  498.  
  499. 4    Enable the Disable locks in all cells check box.
  500.  
  501. Displaying table gridlines and formula indicators
  502.  
  503. When a document contains many tables or heavily formatted tables, you can use table gridlines to make the document display faster.
  504.  
  505. Table gridlines are dimmed, dotted lines that replace lines and fill in a table. However, tables print with the lines and fill styles you have selected. You can choose to always display table gridlines.
  506.  
  507. You can also display the table formula indicators as blue markers in the bottom corner of a table cell.
  508.  
  509. To display table gridlines
  510.  
  511.   Click View  Table gridlines.
  512.   
  513. A check mark next to the Table gridlines command indicates that the table gridlines are displayed.
  514.  
  515. To display table gridlines by default
  516.  
  517. 1    Click Tools  Settings.
  518.  
  519. 2    Click Display.
  520.  
  521. 3    Click the Document tab.
  522.  
  523. 4    In the Show area, enable the Table gridlines check box.
  524.  
  525. To display table formula indicators
  526.  
  527. 1    Click Tools  Settings.
  528.  
  529. 2    Click Display.
  530.  
  531. 3    Click the Document tab.
  532.  
  533. 4    In the Show area, enable the Table formula indicators check box.
  534.  
  535. Adding diagonal lines to table cells
  536.  
  537. You can add diagonal lines to a table cell. Diagonal lines divide the cell visually but do not split the cell in two. You can place data, such as dates and times, on both sides of the line in the cell.
  538.  
  539. To add diagonal lines to a table cell
  540.  
  541. 1    Select a cell or a group of cells, and click Table  Format.
  542.  
  543. 2    Click the Cell tab.
  544.  
  545. 3    In the Draw diagonal line in cell area, enable one of the following options:
  546.  
  547.   Upper right to lower left
  548.   
  549.   Upper left to lower right
  550.   
  551.   Both
  552.   
  553. Note
  554.  
  555.   The line style and color of the diagonal line is the same as the line style and color of the table lines; however, you cannot draw diagonal lines in some line styles, such as double lines.
  556.   
  557. Rotating table cell contents and skewing cells
  558.  
  559. You can rotate the contents of a table cell counterclockwise. Rotated text is placed in a text box.
  560.  
  561. You can skew (slant) the top row or the left or right column of a table. You can also change the skew angle and specify other skew options.
  562.  
  563. The following image shows several examples of skew table presets.
  564.  
  565. When you change the skew of the top row, you can square the edge of the first or last column to create a box effect. This prevents the cells from extending beyond the edge of the table.
  566.  
  567. To rotate table cell contents
  568.  
  569. 1    Select a cell.
  570.  
  571. 2    Click Table  Format.
  572.  
  573. 3    Click the Cell tab.
  574.  
  575. 4    Choose one of the following from the Rotate list box:
  576.  
  577.   90 degrees
  578.   
  579.   180 degrees
  580.   
  581.   270 degrees
  582.   
  583. Note
  584.  
  585.   When you rotate a table cell containing a formula, the formula is permanently replaced by its result.
  586.   
  587. To edit rotated table cell contents
  588.  
  589. 1    Right-click the contents in a rotated cell, and click Content.
  590.  
  591. 2    Click Edit.
  592.  
  593. 3    In the Text Box Editor, edit the text.
  594.  
  595. 4    Click File  Close.
  596.  
  597. Note
  598.  
  599.   When you edit rotated text, the Text Box Editor displays the text in a separate editing window.
  600.   
  601. Tip
  602.  
  603.   You can also open the Text Box Editor by clicking the rotated cell contents.
  604.   
  605. To skew cells in a table
  606.  
  607. 1    Select a table.
  608.  
  609. 2    Click Table  Format.
  610.  
  611. 3    Click the Skew tab.
  612.  
  613. 4    Choose the cells you want skewed from the Skew settings list.
  614.  
  615. 5    Click More.
  616.  
  617. 6    From the Skew rows list box, choose one of the following:
  618.  
  619.   None-lets you leave the top row unskewed
  620.   
  621.   Top-lets you specify the skew angle for the top row
  622.   
  623. 7    From the Skew columns list box, choose one of the following:
  624.  
  625.   None-lets you leave the columns unskewed
  626.   
  627.   Left column-lets you specify the skew angle for the left column
  628.   
  629.   Right column-lets you specify the skew angle for the right column
  630.   
  631.  
  632.  
  633. You can also    
  634.  
  635. Create a 90-degree angle with the first column and the top row    Enable the Square first column check box.
  636.  
  637. Create a 90-degree angle with the last column and the top row    Enable the Square last column check box.
  638.  
  639. Join the edge of the first or last column with the top row    Enable the Join corners check box.
  640.  
  641. Modify the skew angle of the top row, left column, or right column    Type a skew angle in the appropriate Angle box.
  642.  
  643.  
  644.  
  645. Notes
  646.  
  647.   The Square first column and Square last column check boxes are available only if the top row is skewed. The Join corners check box is available only if the left or right column is skewed.
  648.   
  649.   You may need to increase the row height of a skewed row to accommodate the text. For information about changing the height of a row, see "To change the height of a table row."
  650.   
  651. Tip
  652.  
  653.   To prevent text from slanting, disable the Skew text check box.
  654.   
  655. Adjusting table column widths
  656.  
  657. You can specify an exact table column width, change unequal table columns so that they have equal widths, or change table column widths automatically.
  658.  
  659. To specify an exact table column width
  660.  
  661. 1    Select a column.
  662.  
  663. 2    Click Table  Format.
  664.  
  665. 3    Click the Column tab.
  666.  
  667. 4    In the Column width area, type a value in the Width box.
  668.  
  669. Tip
  670.  
  671.   Enable the Always keep width the same check box to maintain the current column width regardless of changes in the width of other columns or changes in the settings of left and right column margins.
  672.   
  673. To change unequal table columns to have equal widths
  674.  
  675. 1    Select two or more cells from adjacent columns.
  676.  
  677. 2    Click Table  Equal column widths.
  678.  
  679. To adjust table column widths automatically
  680.  
  681. 1    Click in a table.
  682.  
  683. 2    Click Table  Size column to fit.
  684.  
  685. Note
  686.  
  687.   The Size column to fit option changes a table column to the width of the widest text in the column cells.
  688.   
  689. Creating table header rows and adjusting table rows
  690.  
  691. You can create a table header row. A header row displays at the top of the page each time the table spans a page break.
  692.  
  693. You can allow a table row to continue across pages. You can also change the height of a table row and the number of text lines per row, and you can align a table between the left and right page margins.
  694.  
  695. To create a table header row
  696.  
  697. 1    Select a row or several rows.
  698.  
  699. 2    Click Table  Format.
  700.  
  701. 3    Click the Row tab.
  702.  
  703. 4    Enable the Header row check box.
  704.  
  705. To continue a table row across pages
  706.  
  707. 1    Select a row or several rows
  708.  
  709. 2    Click Table  Format.
  710.  
  711. 3    Click the Row tab.
  712.  
  713. 4    Enable the Divide row across pages check box.
  714.  
  715. To change the height of a table row
  716.  
  717. 1    Select a row or several rows.
  718.  
  719. 2    Click Table  Format.
  720.  
  721. 3    Click the Row tab.
  722.  
  723. 4    Enable one of the following options:
  724.  
  725.   Single line only-sizes the row to fit one line of text, and hides extra text
  726.   
  727.   Multiple lines-expands the row to fit more than one line of text
  728.   
  729. 5    Enable one of the following options:
  730.  
  731.   Automatic-lets you specify a height based on text height
  732.   
  733.   Fixed-lets you specify a row height measurement
  734.   
  735. Note
  736.  
  737.   When you specify a fixed row height, the row stays at that height no matter how much text you insert in any cell in the row. As a result, some text might not display in a cell.
  738.   
  739. Tip
  740.  
  741.   You can also change a row's height by pointing to the top or bottom line until it changes into a double arrow, and dragging.
  742.   
  743. To set the horizontal position of a table
  744.  
  745. 1    Select a table.
  746.  
  747. 2    Click Table  Format.
  748.  
  749. 3    Click the Table tab.
  750.  
  751. 4    From the Table position on page list box, choose one of the following options:
  752.  
  753.   Left-aligns the table to the left of the page
  754.   
  755.   Right-aligns the table to the right of the page
  756.   
  757.   Center-centers the table on the page
  758.   
  759.   Full-aligns the table to fit across the page
  760.   
  761. Note
  762.  
  763.   If the table is not sized to fit the page margins, the table size remains unchanged when the margins change. To specify that a table resizes with the margins, choose Full from the Table position on page list box.
  764.   
  765. Tip
  766.  
  767.   You can also set the horizontal position by choosing From left edge from the Table position on page list box and typing a value.
  768.   
  769. Applying fills, lines, and color to tables
  770.  
  771. You can change the fill, line style, and line color of a cell, a group of cells, or an entire table. WordPerfect lets you create contrast between cells, rows, and columns by applying an alternating fill to a table. A fill style consists of a fill type and foreground and background colors. A fill type can be either a pattern, such as a checkerboard or fill percentage, or a gradient, which displays a progression between two colors that follows a linear, radial, conical, or square path.
  772.  
  773. You can apply an alternating fill to a table to create contrast between cells, rows, and columns.
  774.  
  775. The following image shows a table with an alternating fill applied.
  776.  
  777. A line style can include several lines together, such as a double line or triple line, and the lines can vary in thickness and style. A line style consists of lines that surround the selection (outside lines) and lines within the selection (inside lines). You can edit the two types of lines separately.
  778.  
  779. To change the fill of a table cell
  780.  
  781. 1    Select a cell.
  782.  
  783. 2    Click Table  Borders/fill.
  784.  
  785. 3    Click the Cell tab.
  786.  
  787. If you want to change the fill of a group of table cells, enable one of the following options in the Apply lines to area:
  788.  
  789.   Outside of current selection-lets you change attributes for the group of cells as if it were one cell
  790.   
  791.   Each cell in selection-lets you change attributes for each selected cell in the group of cells
  792.   
  793. 4    Click a fill style on the Fill palette.
  794.  
  795. 5    Click a fill color on the Foreground or Background palettes.
  796.  
  797.  
  798.  
  799. You can also    
  800.  
  801. Change the line style of a table cell    Click a line style on the Left, Right, Top, Bottom, or Outside line palettes.
  802.  
  803. Change the line color of a table cell    Click a line color on the Color palette.
  804.  
  805.  
  806.  
  807. To change the fill of all cells in a table
  808.  
  809. 1    Select a table.
  810.  
  811. 2    Click Table  Borders/fill.
  812.  
  813. 3    Click the Table tab.
  814.  
  815. 4    Click a fill style on the Pattern palette.
  816.  
  817. 5    Click a fill color on the Foreground or Background palettes.
  818.  
  819.  
  820.  
  821. You can also    
  822.  
  823. Change the line style of all table cells    Click a line style on the Line palette.
  824.  
  825. Change the line color of all table cells    Click a line color on the Color palette.
  826.  
  827.  
  828.  
  829. Note
  830.  
  831.   A fill style is set to None by default. You must choose a fill style for the foreground and background colors to take effect.
  832.   
  833. To apply an alternating fill to a table
  834.  
  835. 1    Select a table, and click Table  Borders/fill.
  836.  
  837. 2    Click the Table tab.
  838.  
  839. 3    From the Type list box, choose one of the following options:
  840.  
  841.   Rows
  842.   
  843.   Columns
  844.   
  845.   Both
  846.   
  847. 4    In the Fill area, click a fill style on the Pattern palette.
  848.  
  849. 5    In the Alternating fill area, click a fill style on the Pattern palette.
  850.  
  851. 6    In the Fill area, click a fill color on the Foreground or Background palettes.
  852.  
  853. 7    In the Alternating fill area, click a fill color on the Foreground or Background palettes.
  854.  
  855. 8    In the Fill area, type the number of columns or rows for each fill style in the Span count box.
  856.  
  857. 9    In the Alternating fill area, type the number of columns or rows for each fill style in the Span count box.
  858.  
  859. Applying borders to tables
  860.  
  861. You can add a border style to a table. You can choose one of the border styles provided with WordPerfect or create a custom border with line style, line color, drop shadow, and fill options, then name that style so that you can apply it to other tables in your document. You can also set a standard look for all tables in a document by defining a table style as the default setting. The line, fill, and border settings you create will be the default for other tables in this and other documents that use the same template.
  862.  
  863. To apply a border to a table
  864.  
  865. 1    Select a table.
  866.  
  867. 2    Click Table  Borders/fill.
  868.  
  869. 3    Click the Table tab.
  870.  
  871. 4    Click a border style on the Border palette.
  872.  
  873. To create a table border style
  874.  
  875. 1    Select a table, and click Table  Borders/fill.
  876.  
  877. 2    Click the Table tab.
  878.  
  879. 3    Click Styles.
  880.  
  881. 4    In the Graphics styles dialog box, click Create.
  882.  
  883. 5    In the Create border style dialog box, type a name for the style in the Style name box.
  884.  
  885. 6    Enable one of the following check boxes:
  886.  
  887.   Left
  888.   
  889.   Right
  890.   
  891.   Top
  892.   
  893.   Bottom
  894.   
  895.   All
  896.   
  897. 7    Click a line style on the Line style palette.
  898.  
  899. 8    In the Border options area, click a line color on the Color palette.
  900.  
  901. 9    In the Drop shadow area, choose a shadow type, color, and width.
  902.  
  903. Tip
  904.  
  905.   You can also to edit a table border style by choosing a style in the Graphics styles dialog box and clicking Edit.
  906.   
  907. To customize a table border style for the current table
  908.  
  909. 1    Select a table.
  910.  
  911. 2    Click Table  Borders/fill.
  912.  
  913. 3    Click the Table tab.
  914.  
  915. 4    Click a border style on the Border palette.
  916.  
  917. 5    Click Custom.
  918.  
  919. 6    In the Customize border dialog box, enable one of the following check boxes:
  920.  
  921.   Left
  922.   
  923.   Right
  924.   
  925.   Top
  926.   
  927.   Bottom
  928.   
  929.   All
  930.   
  931. 7    Click a line style on the Line style palette.
  932.  
  933. 8    In the Border options area, click a line color on the Color palette.
  934.  
  935. 9    In the Drop shadow area, choose a shadow type, color, and width.
  936.  
  937. To set a standard look for tables
  938.  
  939. 1    Select a table, and click Table  Borders/fill.
  940.  
  941. 2    Click the Table tab.
  942.  
  943. 3    Click a border style on the Border palette.
  944.  
  945. 4    In the Table border area, click a color on the Color palette.
  946.  
  947. 5    Click a line style on the Line palette.
  948.  
  949. 6    In the Default cell lines area, click a line color on the Color palette.
  950.  
  951. 7    In the Fill area, click a fill style on the Pattern palette.
  952.  
  953. 8    In the Fill area, click a fill color on the Foreground or Background palettes.
  954.  
  955. 9    Click Default settings.
  956.  
  957. Creating table styles
  958.  
  959. WordPerfect lets you create a table style by using the formatting of a table from a document. When you save a table style, you can associate it with a specific template or with the active document only, or you can save it as a separate file. Saving a table style as a separate file is useful if you plan to use the table style with a different template or on a different computer.
  960.  
  961. You can also format a table by using a preset style. For example, you can give a table a new look by applying a business or decorative style.
  962.  
  963. You can rename and retrieve a table style that you have created and saved as a file; however, you cannot rename the preset table styles provided with WordPerfect.
  964.  
  965. You can also delete a table style that you have created and saved; however, you cannot delete the preset table styles provided with WordPerfect.
  966.  
  967. To format a table using a preset style
  968.  
  969. 1    Select a table.
  970.  
  971. 2    Click Table  SpeedFormat.
  972.  
  973. 3    Choose a table style from the Available styles list box.
  974.  
  975. 4    Click Apply.
  976.  
  977. To create a table style
  978.  
  979. 1    Create a table that contains at least three rows and three columns.
  980.  
  981. 2    Apply any text formatting, lines, borders, and fill that you want for the table style.
  982.  
  983. 3    Select the table, and click Table  SpeedFormat.
  984.  
  985. 4    Click Options  Setup.
  986.  
  987. 5    In the Table style settings dialog box, enable the Current document option.
  988.  
  989. If you want to save a table style to a specific template, enable one of the following options:
  990.  
  991.   Default template-associates the table style with the default template
  992.   
  993.   Additional objects template-associates the table style with an additional objects template
  994.   
  995. 6    Click OK.
  996.  
  997. 7    Click Create.
  998.  
  999. 8    In the Create table style dialog box, type a name for the new style.
  1000.  
  1001. To save a table style as a separate file
  1002.  
  1003. 1    Create a table that contains at least three rows and three columns.
  1004.  
  1005. 2    Apply any text formatting, lines, borders, and fill that you want for the table style.
  1006.  
  1007. 3    Select the table, and click Table  SpeedFormat.
  1008.  
  1009. 4    Click Options  Save as.
  1010.  
  1011. 5    Type a path and filename in the Filename box.
  1012.  
  1013. To rename a table style
  1014.  
  1015. 1    Select a table.
  1016.  
  1017. 2    Click Table  SpeedFormat.
  1018.  
  1019. 3    Choose a table style from the Available styles list box.
  1020.  
  1021. 4    Click Options  Rename.
  1022.  
  1023. 5    Type a new name in the Filename box.
  1024.  
  1025. To retrieve a table style
  1026.  
  1027. 1    Select a table.
  1028.  
  1029. 2    Click Table  SpeedFormat.
  1030.  
  1031. 3    Click Options  Retrieve.
  1032.  
  1033. If you have styles saved in different locations, click Options  Setup, and click the location of the styles you want to retrieve.
  1034.  
  1035. 4    Type a path and filename in the Filename box.
  1036.  
  1037. To delete a table style
  1038.  
  1039. 1    Select a table.
  1040.  
  1041. 2    Click Table  SpeedFormat.
  1042.  
  1043. 3    Choose a table style from the Available styles list box.
  1044.  
  1045. 4    Click Options  Delete.
  1046.  
  1047. Changing text alignment
  1048.  
  1049. WordPerfect lets you change the alignment of text in a cell, column, or table, and you can adjust the amount of white space around text in a cell. You can also customize how numbers are displayed and printed in a table or floating cell, and you can change the placement of decimal points in numbers.
  1050.  
  1051. To change the alignment of text in a cell
  1052.  
  1053. 1    Select a cell, and click Table  Format.
  1054.  
  1055. 2    Click the Cell tab.
  1056.  
  1057. 3    Choose an alignment from the following list boxes:
  1058.  
  1059.   Horizontal
  1060.   
  1061.   Vertical
  1062.   
  1063.  
  1064.  
  1065. You can also    
  1066.  
  1067. Change the alignment of text in a row    In the Properties for table format dialog box, click the Row tab. Choose an alignment from the following list boxes:
  1068.  
  1069. Top
  1070.  
  1071. Bottom
  1072.  
  1073. Change the alignment of text in a column    In the Properties for table format dialog box, click the Column tab. Choose an alignment option from the Horizontal list box.
  1074.  
  1075. Change the alignment of text in a table    In the Properties for table format dialog box, click the Table tab. Choose an alignment option from the Horizontal list box.
  1076.  
  1077.  
  1078.  
  1079. Tip
  1080.  
  1081.   To insert a tab in a table cell, press CTRL + TAB.
  1082.   
  1083. Applying and customizing numeric formats
  1084.  
  1085. Numeric formats determine how numbers are used, displayed, and printed in a table or floating cell. For example, you can format numbers as currency, and then customize the format so that it displays with or without the currency symbol or commas. WordPerfect lets you customize the date and time format by displaying numbers, text, or both.
  1086.  
  1087. You can also change the placement of decimal points in a table column or in an entire table. You can specify the number of digits that are placed after the decimal point, or you can place the decimal point at a specific distance from the right margin.
  1088.  
  1089. To apply a numeric format
  1090.  
  1091. 1    Select a table.
  1092.  
  1093. 2    Click Table  Numeric format.
  1094.  
  1095. 3    Click one of the following tabs:
  1096.  
  1097.   Cell-lets you define cell properties
  1098.   
  1099.   Column-lets you define column properties
  1100.   
  1101.   Table-lets you define table properties
  1102.   
  1103. 4    Enable a numeric format option.
  1104.  
  1105. If you want to customize a numeric format, click Custom, and modify any options.
  1106.  
  1107. Note
  1108.  
  1109.   Customizing options vary depending on the numeric format you choose.
  1110.   
  1111. Tips
  1112.  
  1113.   To apply a numeric format to all new tables, click Use as default.
  1114.   
  1115.   If you have already defined a numeric format for the current column, you can apply it to the current cell. To do this, enable the Use same format as column check box on the Cell page.
  1116.   
  1117. To customize a date/time format
  1118.  
  1119. 1    Select a table.
  1120.  
  1121. 2    Click Table  Numeric format.
  1122.  
  1123. 3    Click one of the following tabs:
  1124.  
  1125.   Cell-lets you define cell properties
  1126.   
  1127.   Column-lets you define column properties
  1128.   
  1129.   Table-lets you define table properties
  1130.   
  1131. 4    Enable the Date/time option.
  1132.  
  1133. 5    Click Custom.
  1134.  
  1135. 6    Choose a format from the Date/time formats list box.
  1136.  
  1137. Note
  1138.  
  1139.   If you enter a two-digit year of 00 to 29, WordPerfect assumes you mean the year 2000 to 2029. If you enter a two-digit year of 30 to 99, WordPerfect assumes you mean 1930 to 1999. Use four-digit years to specify other dates.
  1140.   
  1141. To line up numbers on the decimal point
  1142.  
  1143. 1    Select a table.
  1144.  
  1145. 2    Click Table  Format.
  1146.  
  1147. 3    Click one of the following tabs:
  1148.  
  1149.   Column
  1150.   
  1151.   Table
  1152.   
  1153. 4    Enable one of the following decimal alignment options:
  1154.  
  1155.   From right margin
  1156.   
  1157.   Digits after decimal
  1158.   
  1159. Naming tables
  1160.  
  1161. You can name tables, floating cells, and table components, such as cells, a range of cells, rows, or columns. Naming a table or table component lets you reference it quickly. It is easier to remember a name, such as "Balance," than to remember a cell address. A name can contain letters, numbers, spaces, and the symbols #, $, ?, @, or _; however, the first character must be a letter, number, or underscore (_). You can also use text in a cell to name a table or table component.
  1162.  
  1163. You can edit and delete the names of tables, floating cells, and table components, such as cells, a range of cells, rows, or columns.
  1164.  
  1165. To name a table
  1166.  
  1167. 1    Select a table.
  1168.  
  1169. 2    Click Table  Names.
  1170.  
  1171. 3    Choose the default table name from the Table/floating cell list box.
  1172.  
  1173. 4    Click Edit.
  1174.  
  1175. 5    In the Edit table name dialog box, type a name in the Name box.
  1176.  
  1177. To name a table component
  1178.  
  1179. 1    Click a table component.
  1180.  
  1181. 2    Click Table  Names.
  1182.  
  1183. 3    Click Create.
  1184.  
  1185. 4    In the Create table name dialog box, enable one of the following options:
  1186.  
  1187.   Cell/range-specifies the cell or range in which the cursor is positioned
  1188.   
  1189.   Row-specifies the row in which the cursor is positioned
  1190.   
  1191.   Column-specifies the column in which the cursor is positioned
  1192.   
  1193. 5    Type a name in the Enter name box.
  1194.  
  1195. To name table components using text in a cell
  1196.  
  1197. 1    Select a cell that contains the text you want to use.
  1198.  
  1199. 2    Click Table  Names.
  1200.  
  1201. 3    Click Create.
  1202.  
  1203. 4    In the Create table name dialog box, enable the Use text in current cell to name option.
  1204.  
  1205. 5    Enable one of the following options:
  1206.  
  1207.   Row-names the row in which the cursor is positioned
  1208.   
  1209.   Column-names the column in which the cursor is positioned
  1210.   
  1211.   Next cell to right-names the cell to the right of the cell in which the cursor is positioned
  1212.   
  1213.   Next cell down-names the cell below the cell in which the cursor is positioned
  1214.   
  1215. To edit the name of a table component
  1216.  
  1217. 1    Select a table component, and click Table  Names.
  1218.  
  1219. 2    Choose the name of the table component from the Cell, row, column, or range list box.
  1220.  
  1221. 3    Click Edit.
  1222.  
  1223. 4    In the Edit table name dialog box, type a new name in the Name box.
  1224.  
  1225. If you want to delete a name, click Delete.
  1226.  
  1227. Using operators
  1228.  
  1229. You can use arithmetic and logical operators in table formulas. Logical operators compare two or more numeric or text values and return a result of 1 if the statement is true or 0 if the statement is false. You can also protect your formulas from being deleted accidentally. WordPerfect includes more than 90 preset functions for mathematical, engineering, or scientific calculations. For information about each function, see "Reference: Using tables and charts."
  1230.  
  1231. Arithmetic operators
  1232.  
  1233. Use the following arithmetic operators to create formulas in tables and floating cells.
  1234.  
  1235.  
  1236.  
  1237. Operator    What it does
  1238.  
  1239. + (Addition)    Adds values.
  1240.  
  1241. - (Negation)    Makes values negative.
  1242.  
  1243. - (Subtraction)    Subtracts the value on the right from the value on the left.
  1244.  
  1245. * (Multiplication)    Multiplies values.
  1246.  
  1247. / (Division)    Divides the value on the left by the value on the right.
  1248.  
  1249. = (Total)    Returns a total of the sums from the + operator.
  1250.  
  1251. % (Remainder)    Returns the remainder of the value on the left divided by the value on the right.
  1252.  
  1253. % (Percent)    Divides the value on the left of the operator by 100. Make sure that there is another operator or a separator following the Percent operator, or that the Percent operator is the last operator in the formula. If a percent sign (%) is between two values, it becomes the Remainder operator.
  1254.  
  1255. ^ (Power)    Raises the value on the left to the power indicated by the value on the right.
  1256.  
  1257. ! (Factorial)    Calculates the factorial of the number preceding it. Do not place an equal sign (=) following the Factorial operator; otherwise, it becomes the Not equal to operator sign.
  1258.  
  1259.  
  1260.  
  1261. Logical operators
  1262.  
  1263. You can use the following logical operators for calculations in tables or floating cells.
  1264.  
  1265.  
  1266.  
  1267. Operator    What it means or does
  1268.  
  1269. 0    Equal to.
  1270.  
  1271. >    Greater than.
  1272.  
  1273. <    Less than.
  1274.  
  1275. < > or !=    Not equal to.
  1276.  
  1277. >=    Greater than or equal to.
  1278.  
  1279. <=    Less than or equal to.
  1280.  
  1281. & (AND)    When placed between two or more logical statements, returns a 1 if all the statements are true and a 0 if any of the statements are false.
  1282.  
  1283. ! (NOT)    Inverts the meaning of a function or another operator.
  1284.  
  1285. | (OR)    When placed between two or more logical statements, returns a 1 if at least one of the statements is true and a 0 if all the statements are false.
  1286.  
  1287. ^^ (XOR)    When placed between two or more logical statements, the EXclusive OR operator (XOR) returns a 1 if one or the other but not both of the statements in the formula are true (or if an odd number of statements are true). It returns a 0 if neither or both of the statements are true (or if an even number of the statements are true).
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293. Entering formulas in tables
  1294.  
  1295. WordPerfect lets you add formulas or functions to tables. You can create formulas in tables by using arithmetic and logical operators. You can then insert the formulas in tables and floating cells. For more information about arithmetic and logical operators, see "Using operators."
  1296.  
  1297. The cells in a table are labeled alphabetically from left to right and numerically from top to bottom. When you use a cell address, a comma is used to separate individual cell references; for example, if you want to add the contents of B1 and B4, you would use the formula =SUM(B1,B4). A colon is used to separate two references in a range; for example, to add all of the contents of B1 through B4 you would use =SUM(B1:B4). Table cell references can be uppercase or lowercase.
  1298.  
  1299. You can insert and copy formulas and functions in table cells and floating cells. You can also type formulas directly into cells if you precede the initial symbols, functions, or numbers with + or =. However, it is best to enter formulas directly only if you know how to use functions and you remember the names you want to reference in formulas. Formulas you enter are calculated automatically when you move the insertion point out of the cell that contains the formula. You can also ignore a cell or a group of cells during calculations.
  1300.  
  1301. When you enter a formula in a table cell, an indicator will display in the lower right-hand corner of the cell. You can view the formula by pointing anywhere inside the cell. You can drag the formula indicator to another cell to copy the formula. You can also change the table settings if you do not want to show the table formula indicators.
  1302.  
  1303. To enter a formula in a table
  1304.  
  1305. 1    Click Table  Formula toolbar.
  1306.  
  1307. 2    Click in the Formula edit box to the right of the Accept the formula button.
  1308.  
  1309. 3    Type cell addresses, operators, and values in the Formula edit box.
  1310.  
  1311. To insert the name of a table instead of a cell address, click Names on the Table formula toolbar, click a name, and click Insert.
  1312.  
  1313. 4    Click one of the following:
  1314.  
  1315.   Accept the formula-lets you insert the formula into the cell
  1316.   
  1317.   Cancel changes-lets you cancel the formula or changes you have made
  1318.   
  1319. Notes
  1320.  
  1321.   WordPerfect does not recognize formulas in cells in which the numeric format is set to Text.
  1322.   
  1323.   When you insert or cancel a formula, the Formula edit mode is disabled.
  1324.   
  1325. Tip
  1326.  
  1327.   You can also click the Formula toolbar button on the property bar to display the Table formula toolbar.
  1328.   
  1329. To create a function
  1330.  
  1331. 1    Click Table  Formula toolbar.
  1332.  
  1333. 2    Click in the cell in which you want to place the function.
  1334.  
  1335. 3    Click the Functions button on the Table formula toolbar.
  1336.  
  1337. 4    Choose a function type from the Type of functions to list list box.
  1338.  
  1339. 5    Choose a specific function from the Functions list.
  1340.  
  1341. A description of each function displays in the section below the Type of functions to list and Functions lists.
  1342.  
  1343. 6    Click Insert.
  1344.  
  1345. 7    Type cell addresses, operators, and values of the function in the Formula edit box.
  1346.  
  1347. If you want to nest functions, type in the values of the initial function in the Formula edit box, and do the following:
  1348.  
  1349.   Click the Functions button on the Table formula toolbar.
  1350.   
  1351.   Choose a function type from the Type of functions to list list box.
  1352.   
  1353.   Choose a function from the Functions list.
  1354.   
  1355. A nested function can be placed in any location within the previous function.
  1356.  
  1357.   Type cell addresses, operators, and values of the nested function in the Formula edit box.
  1358.   
  1359. Tip
  1360.  
  1361.   In the Table functions dialog box, you can type the first few letters of a function to select it quickly.
  1362.   
  1363. To copy a table formula
  1364.  
  1365. 1    Click in the cell that contains the formula you want to copy.
  1366.  
  1367. 2    Click Table  Copy formula.
  1368.  
  1369. 3    Enable one of the following options:
  1370.  
  1371.   To cell-lets you type the name of the cell in which you want to paste the formula
  1372.   
  1373.   Down-lets you choose the direction from the list box, and type the number of times to paste the formula up, down, left, or right
  1374.   
  1375. Tips
  1376.  
  1377.   You can also click the Copy formula button on the Table formula toolbar. To display the Table formula toolbar, click Table  Formula toolbar.
  1378.   
  1379.   You can also copy a table formula by dragging the table formula indicator from one cell to another.
  1380.   
  1381. To protect table formulas
  1382.  
  1383. 1    Click Tools  Settings.
  1384.  
  1385. 2    Click Environment.
  1386.  
  1387. 3    Click the Prompts tab.
  1388.  
  1389. 4    Enable the Confirm deletion of table formulas check box.
  1390.  
  1391. To disable the table formula indicators
  1392.  
  1393. 1    Click Tools  Settings.
  1394.  
  1395. 2    Click Display.
  1396.  
  1397. 3    Click the Document tab.
  1398.  
  1399. 4    In the Show area, disable the Table formula indicators check box.
  1400.  
  1401. Note
  1402.  
  1403.   By default, the Table formula indicators box is enabled.
  1404.   
  1405. Calculating formulas in tables
  1406.  
  1407. WordPerfect lets you perform spreadsheet calculations on table data. For example, you can calculate the sum of table cell values, list and use functions and names, calculate formulas, and fill in cells with incrementing patterns.
  1408.  
  1409. You can add values in a table quickly, and you can ignore a cell during calculations.
  1410.  
  1411. You can also fill a table with incrementing numbers or dates. A pattern of values must increment or decrement based on addition or subtraction. You cannot fill in a pattern of values that increment or decrement based on multiplication or division.
  1412.  
  1413. You can get more information about table formula errors, including a brief explanation of any ?? and ERR error symbols that display in a table as you calculate formulas.
  1414.  
  1415. To calculate a formula in a table
  1416.  
  1417. 1    Click in a table.
  1418.  
  1419. 2    Click Table  Calculate.
  1420.  
  1421. 3    Enable one of the following options:
  1422.  
  1423.   Calculate table-calculates the table or floating cell in which the insertion point is positioned
  1424.   
  1425.   Calculate tables in document-calculates all tables and floating cells in the document
  1426.   
  1427. To add values in a table quickly
  1428.  
  1429. 1    Click the table cell below or to the right of the cells whose total you want to calculate.
  1430.  
  1431. 2    Click Table  QuickSum.
  1432.  
  1433. Note
  1434.  
  1435.   If you click in a cell instead of selecting a range of cells, the calculated sum overwrites any values, formulas, or text in the cell.
  1436.   
  1437. Tip
  1438.  
  1439.   You can also add values by clicking the QuickSum button on the Table formula toolbar. To display the Table formula toolbar, click Table  Formula toolbar.
  1440.   
  1441. To ignore a table cell during calculations
  1442.  
  1443. 1    Select a cell, and click Table  Format.
  1444.  
  1445. 2    Click the Cell tab.
  1446.  
  1447. 3    Enable the Ignore cell when calculating check box.
  1448.  
  1449. To fill a table with incrementing numbers or dates
  1450.  
  1451. 1    Select the cells that contain the incremental or decremental pattern of values.
  1452.  
  1453. 2    Click Table  QuickFill.
  1454.  
  1455. Notes
  1456.  
  1457.   You can extend the selection to include the cells in which you want to continue the pattern.
  1458.   
  1459.   You can use Roman numerals, days of the week, months, or quarters, even if only one cell is used to establish the pattern. To repeat incremental or decremental numbers, however, you must select at least two cells with values to establish a pattern.
  1460.   
  1461. Tip
  1462.  
  1463.   You can also fill a table with incrementing numbers or dates by clicking the QuickFill button on the Table formula toolbar. To display the Table formula toolbar, click Table  Formula toolbar.
  1464.   
  1465. To get more information about table formula errors
  1466.  
  1467. 1    Click a cell that contains an error.
  1468.  
  1469. 2    Click the View error button on the Table formula toolbar.
  1470.  
  1471. Creating charts
  1472.  
  1473. WordPerfect lets you create and insert charts and graphs in a document. You can create a chart by using data in a table or a spreadsheet, or you can add data as you create the chart. A chart can be linked to a table so that the chart is updated whenever the table data changes. If you move the chart to a different place in the document, it maintains its association with the table.
  1474.  
  1475. The following image is an example of a data chart.
  1476.  
  1477. When you create a chart in WordPerfect, Corel Presentations menus and tools display. These menus and tools let you choose a chart type and edit the chart. You can choose from a variety of chart types, such as bar, line, and pie, and you can add chart attributes, such as a legend or frame. You can also use Corel Presentations to add text to charts; however, the text is saved as part of the chart, rather than with the document.
  1478.  
  1479. You can create an organization chart to display the structure of an organization or the relationships of people and positions.
  1480.  
  1481. The following image is an example of an organization chart.
  1482.  
  1483. You can edit and update charts and graphs. You can also edit the data that the chart is based on.
  1484.  
  1485. You can use the data in a table to create a chart containing the same information. When you create a chart from a table, the two are associated. You can specify that charts associated with tables automatically update when you make changes to the data in the tables.
  1486.  
  1487. For more information about charts, refer to the Corel Presentations online Help.
  1488.  
  1489. To create a data chart
  1490.  
  1491. 1    Click where you want to insert a chart.
  1492.  
  1493. 2    Click Insert  Chart.
  1494.  
  1495. 3    Click Chart  Gallery, and choose a chart type.
  1496.  
  1497. 4    In the Datasheet, click or double-click cells to edit their contents.
  1498.  
  1499. 5    Click Chart  Layout/type.
  1500.  
  1501. 6    In the Layout/type properties dialog box, choose style and appearance options.
  1502.  
  1503. 7    Click Chart  Series.
  1504.  
  1505. 8    In the Series properties dialog box, choose line and fill colors.
  1506.  
  1507. 9    Click outside the chart to return to the document window.
  1508.  
  1509. Tips
  1510.  
  1511.   To import data from a spreadsheet or file, click Data  Import after Corel Presentations menus and tools display, and specify the filename of the document you want to import.
  1512.   
  1513.   You can use this procedure to create a chart from a table. Create a table with the data to include in a chart and click in the table.
  1514.   
  1515. To insert an existing chart
  1516.  
  1517. 1    Open the document that contains the chart using the application in which it was created (such as Corel Presentations or Quattro Pro).
  1518.  
  1519. 2    Select the chart, and click Edit  Copy.
  1520.  
  1521. 3    In the WordPerfect document, click Edit  Paste special.
  1522.  
  1523. To create an organization chart
  1524.  
  1525. 1    Click where you want to insert the organization chart.
  1526.  
  1527. 2    Click Insert  Graphics  Draw picture.
  1528.  
  1529. Corel Presentations menus and tools display, and a drawing frame displays in the document window.
  1530.  
  1531. 3    Click Insert  Organization chart.
  1532.  
  1533. 4    Click in the drawing frame.
  1534.  
  1535. 5    Click a chart type.
  1536.  
  1537. 6    Click OK.
  1538.  
  1539. 7    Double-click a box in the chart, and type a name and title to replace the placeholder name.
  1540.  
  1541. 8    Click outside the chart to return to the document window.
  1542.  
  1543. Tip
  1544.  
  1545.   You can also create an organization chart by playing the wp_org.wcm macro. Click Tools  Macro  Play, and double-click wp_org.wcm. For information about macros, see "Playing macros."
  1546.   
  1547. To edit or annotate a chart or graph
  1548.  
  1549. 1    Right-click a chart or a graph, and click Chart object.
  1550.  
  1551. 2    Enable one of the following options:
  1552.  
  1553.   Edit-lets you edit the chart or graph in the active document
  1554.   
  1555.   Open-lets you open the chart or graph to the full size of the screen
  1556.   
  1557.   Annotate-lets you draw lines and add text to the chart or graph
  1558.   
  1559. Tips
  1560.  
  1561.   For in-place editing, you can also double-click the chart or graph.
  1562.   
  1563.   For full-screen editing, you can also hold down ALT while double-clicking the chart or graph.
  1564.   
  1565. To edit chart data
  1566.  
  1567.   Double-click a chart.
  1568.   
  1569. Corel Presentations menus and tools display.
  1570.  
  1571.  
  1572.  
  1573. To    Do the following
  1574.  
  1575. Edit the chart title    Double-click the title, change the text, and select the font, size, and other attributes you want to use.
  1576.  
  1577. Add a subtitle    Click Chart  Subtitle, and type the subtitle.
  1578.  
  1579. Change any other chart element    Right-click an item and click the Properties option.
  1580.  
  1581.  
  1582.  
  1583. Note
  1584.  
  1585.   You can display the datasheet by clicking View  Datasheet.
  1586.   
  1587. Tip
  1588.  
  1589.   You can update the chart that is based on the table in which you have edited data by right-clicking the chart and clicking Update chart from table.
  1590.   
  1591. To update charts associated with tables
  1592.  
  1593. 1    Click in a table.
  1594.  
  1595. 2    On the property bar, click Table  Calculate.
  1596.  
  1597. 3    Enable one of the following options:
  1598.  
  1599.   Calculate table
  1600.   
  1601.   Calculate tables in document
  1602.   
  1603. 4    Enable the Update associated charts check box.
  1604.  
  1605. Tip
  1606.  
  1607.   To update charts associated with tables manually, right-click the chart, and click Update chart from table. Automatic calculation must be disabled to update a chart manually.
  1608.   
  1609. Reference: Using tables and charts
  1610.  
  1611. Using WordPerfect table functions
  1612.  
  1613. You can learn the basics of using table functions, descriptions of commonly used argument keywords, and definitions and examples of all the functions listed in the Table functions dialog box.
  1614.  
  1615. Each WordPerfect table function has a name and is followed by parentheses. If a function needs arguments (information), argument keywords display inside the parentheses.
  1616.  
  1617. For example, the CHOOSE function displays as
  1618.  
  1619. CHOOSE(Number, List)
  1620.  
  1621. in the Table functions dialog box. "Number" and "List" are the arguments of the function. The arguments are separated by a comma, and each argument is represented by a keyword that describes the type of information needed. Spaces are not needed between values, operators, and functions. Letters in addresses and functions can be uppercase or lowercase.
  1622.  
  1623. If a function needs no arguments, the function name is followed by empty parentheses:
  1624.  
  1625. COL( )
  1626.  
  1627. Brackets ( [ ] ) surrounding a keyword indicate that the keyword is optional and may be omitted:
  1628.  
  1629. CHAR([Set Number,] Number)
  1630.  
  1631. Do not include the brackets when entering the function.
  1632.  
  1633. Argument keyword descriptions
  1634.  
  1635. The following is a list of the most common argument keyword descriptions. You can click each one to find out more about it.
  1636.  
  1637. Block
  1638.  
  1639. Cell
  1640.  
  1641. Date/time
  1642.  
  1643. List
  1644.  
  1645. Value
  1646.  
  1647. Depreciation keywords
  1648.  
  1649. Growth/amortization keywords
  1650.  
  1651. WordPerfect table function listing
  1652.  
  1653. The following is a list of the WordPerfect table functions by category. You can click each one to find out more about it.
  1654.  
  1655. Date table functions
  1656.  
  1657. Mathematical table functions
  1658.  
  1659. Financial table functions
  1660.  
  1661. Logical table functions
  1662.  
  1663. Miscellaneous table functions
  1664.  
  1665. String table functions
  1666.  
  1667. Date table functions
  1668.  
  1669.  
  1670.  
  1671. Function    
  1672.  
  1673. DATE( )    Returns the current date in the format you have selected for that cell, using Custom Date Types. If you have not selected a date format for the cell, the date will display in the document's current date format.
  1674.  
  1675. DATETEXT(Date)    Converts Date (a date value) into text (see DATEVALUE below). The format of the date text depends on the date setting in Custom Date Types or the document's current date format (see DATE above).
  1676.  
  1677. DATETEXT(35711) = October 9, 1997
  1678.  
  1679. DATEVALUE(Text)    Returns the date value for the given text string. Each date from January 1, 1900, to April 19, 65493, is assigned a consecutive number in WordPerfect. The format of the date text depends on the setting in Custom Date Types or the document's current date format (see DATE above). You can use all digits in the year or only the last two when you enter the text string.
  1680.  
  1681. If only two digits are given for the year, the function adds 1900 to the year. If no year is given, the function uses the current year.
  1682.  
  1683. DATEVALUE("6/24/96") = 35239
  1684.  
  1685. DATEVALUE('5-19') = 35933 if the year is 1998
  1686.  
  1687. You can use MDY to calculate the date value from numeric values rather than a text string or to quickly calculate the date value for the current date.
  1688.  
  1689. DAY([Date Value])    Returns the day of the month (a number between 1 and 31) for the given date value.
  1690.  
  1691. DAY(35603) = 23
  1692.  
  1693. 35603 is the date value for June 23, 1997. For details about date values, see DATEVALUE above. If you do not include a date value, the function returns the current day.
  1694.  
  1695. HMS([Hour], [Minute], [Second])    Returns the specified or current time of day as a decimal number (time value). Hour must be an integer from 0 to 24, and the Minute and Second arguments must be integers from 0 to 59. HMS then converts the given time to a decimal number from 0 to 0.999988, with 0 equal to 12:00 midnight and 0.5 equal to 12:00 noon.
  1696.  
  1697. HMS(9,42,38) = 0.404606
  1698.  
  1699. HMS may be entered in one of four ways:
  1700.  
  1701.   HMS(Hour,Minute,Second)
  1702.   
  1703.   HMS(Hour,Minute)
  1704.   
  1705.   HMS(Hour)
  1706.   
  1707.   HMS( )
  1708.   
  1709. If you include the hour with no minute or second argument, the function assumes the minute or second values to be zero. The hour, minute, and second arguments are optional. If none of them are specified, the function returns the decimal number converted from the current computer time.
  1710.  
  1711. To calculate the decimal value of a time specified by a text string, use TIMEVALUE.
  1712.  
  1713. HOUR([Time Value])    Returns the hour of the given or current time. Only the decimal portion of a number is recognized. For details on time values, see HMS above.
  1714.  
  1715. HOUR(0.404606) = 9, because 0.404606 is the decimal value for 9:42:38.
  1716.  
  1717. The time value argument is optional. If no time value is specified, the function returns the current hour of the day based on the current computer time.
  1718.  
  1719. MDY([[Month, Day], [Year]])    Returns the date value of the specified month, day, and year. For details on date values, see DATEVALUE earlier in this appendix.
  1720.  
  1721. The month must be a number from 1 to 12, the day must be a number from 1 to 31, and the year can be any year from 1900 through 65535. If you enter a two-digit number for the year, the function adds 1900 to the number (that is, 96 is the same as 1996). Because each piece of date information is treated as a separate argument, the names or addresses of cells containing appropriate numbers can be used for the month, day, and year entries.
  1722.  
  1723. MDY can be entered in one of three ways:
  1724.  
  1725.   MDY(Month,Day,Year)
  1726.   
  1727.   MDY(Month,Day)
  1728.   
  1729.   MDY( )
  1730.   
  1731. The date format depends on the settings in Custom Date Types or in the document's current date format.
  1732.  
  1733. Any arguments that are not included are assumed to be the current month, day, or year.
  1734.  
  1735. MDY(8,4,96) = 35280
  1736.  
  1737. MDY(8,4) = 35280 if the current year is 1996
  1738.  
  1739. MDY( ) = the current date value
  1740.  
  1741. You can use DATEVALUE to calculate the date value from a text string rather than from numeric entries.
  1742.  
  1743. MINUTE([Time Value])    Returns the minute (0-59) of the specified or current time. The time must be given as a decimal number. For details on time numbers, see HMS earlier in this appendix.
  1744.  
  1745. MINUTE(0.404606) = 42, because 0.404606 is the decimal value for 9:42:38.
  1746.  
  1747. The time value argument is optional. If it is not specified, the function returns the current minute based on the current computer time.
  1748.  
  1749. MONTH([Date Value])    Returns the number of the month for the specified date value. For details on date values, see DATEVALUE earlier in this appendix. If you do not include a date value, the number of the current month is returned.
  1750.  
  1751. MONTH(35280) = 8, because 35280 is the date value for August 4, 1996.
  1752.  
  1753. SECOND([Time Value])    Returns the second (0-59) of the given or current time. The time must be given as a time value. See HMS earlier in this appendix for details on time values.
  1754.  
  1755. SECOND(0.404606) = 38, because 0.404606 is the decimal value for 9:42:38.
  1756.  
  1757. The time value argument is optional. If it is not specified, the function returns the current second based on the current computer time.
  1758.  
  1759. TIME( )    Returns the current time as a text string. The time is updated each time the worksheet is recalculated.
  1760.  
  1761. The time format depends on the settings in Custom Date Types or the document's current date format.
  1762.  
  1763. TIMETEXT(Time)    Returns the given time as a text string. TIMETEXT only uses the decimal portion of a number. See HMS earlier in this appendix for more information on time values.
  1764.  
  1765. TIMETEXT(0.404606) = 9:42am
  1766.  
  1767. The time format depends on the settings in Custom Date Types.
  1768.  
  1769. TIMEVALUE(Text)    Returns the decimal value of the time indicated by the given text string. See HMS earlier in this appendix for more information on time values.
  1770.  
  1771. Text must be in one of the following formats:
  1772.  
  1773.   "hour"
  1774.   
  1775.   "hour:minute"
  1776.   
  1777.   "hour:minute:second"
  1778.   
  1779. The hour must be an integer from 0 to 24, and the minute and second must be integers from 0 to 59. You can also include "am" or "pm."
  1780.  
  1781. TIMEVALUE("19:42:05") = 0.820891
  1782.  
  1783. To calculate a decimal value for a time entered as numbers rather than text, or to quickly calculate the decimal value of the current time, use HMS.
  1784.  
  1785. YEAR([Date Value])    Returns the year for the given Date Value. Returns the current year if no argument is included. See DATEVALUE earlier in this appendix for information about date values.
  1786.  
  1787. Date Value can be any integer from 1 (January 1, 1900) to 23,227,139 (October 19, 65493).
  1788.  
  1789. YEAR(35678) = 1997, because 35678 is the date value for September 6, 1997.
  1790.  
  1791.  
  1792.  
  1793. Mathematical table functions
  1794.  
  1795.  
  1796.  
  1797. Function    
  1798.  
  1799. ABS(Number)    Returns the absolute value of the given number. Positive numbers remain positive; negative numbers become positive.
  1800.  
  1801. ABS(-3) = 3
  1802.  
  1803. ACOS(Number)    Returns the arccosine (cos-1) of the given number. The result is an angle in radians from 0 to p. Number must be greater than or equal to -1 and less than or equal to 1.
  1804.  
  1805. ACOS(.5) = 1.047198 (or p/3)
  1806.  
  1807. Angles expressed in radians can be expressed in degrees using DEGREES.
  1808.  
  1809. DEGREES(ACOS(.5)) = 60
  1810.  
  1811. ASIN(Number)    Returns the arcsine (sin-1) of the given number. The result is an angle in radians from -p/2 to p/2. Number must be greater than or equal to -1 and less than or equal to 1.
  1812.  
  1813. ASIN(.5) = 0.523599 (or p/6)
  1814.  
  1815. Angles expressed in radians can be expressed in degrees using DEGREES.
  1816.  
  1817. DEGREES(ASIN(.5)) = 30
  1818.  
  1819. ATAN(Number)    Calculates the arctangent (tan-1) of the given number, returning an angle in radians from -p/2 to p/2. Number can be any value.
  1820.  
  1821. ATAN(1) = 0.785398 (or p/4)
  1822.  
  1823. Angles expressed in radians can be expressed in degrees using DEGREES.
  1824.  
  1825. DEGREES(ATAN(1)) = 45
  1826.  
  1827. ATAN2(Xnumber, Ynumber)    Returns the arctangent (tan-1) of the angle represented by a point with the coordinates Xnumber and Ynumber. An angle is formed between the X axis and a line drawn from the indicated point (Xnumber, Ynumber) to the origin (0,0). The arctangent is then calculated on that angle. The result is a value in the range of -p( ) to p( ).
  1828.  
  1829. ATAN2(3,4) = 0.927295
  1830.  
  1831. AVE(List)    Returns the average (mean) of a list of numbers. The average of the null set AVE( ) equals NA.
  1832.  
  1833. AVE(15,2*10,SUM(1,2,4)) = 14
  1834.  
  1835. COS(Number)    Returns the cosine of the given number, which must be an angle in radians.
  1836.  
  1837. COS(PI( )/3) = 0.5
  1838.  
  1839. DEGREES(Number)    Converts the angle represented by the given number from radians to degrees.
  1840.  
  1841. DEGREES(PI( )/4) = 45
  1842.  
  1843. DEGREES is the inverse function of RADIANS. In other words, if DEGREES(PI( )/4) = 45, then RADIANS(45) = 0.785398 (or p/4).
  1844.  
  1845. EXP(Number)    Calculates the base of the natural logarithm, or "e" (2.7182818), to the power indicated by the given number.
  1846.  
  1847. EXP(4) = 54.59815
  1848.  
  1849. EXP is the inverse function of LN. In other words, if EXP(4) = 54.59815, then LN(54.59815) = 4.
  1850.  
  1851. FACT(Number)    Returns the factorial of the specified number. The factorial of a number is the product of all the integers less than and equal to that number and greater than zero. For example, the factorial of 4 is 4 * 3 * 2 * 1 = 24. The smallest value that can be used is 0, and the largest value that can be used is 170. (The factorial of 0 equals 1.)
  1852.  
  1853. FACT(3) = 6
  1854.  
  1855. Only the integer portion of a number with decimal places is used to perform the factorial function. For example, FACT(3.9) = 6, because 3! = 6.
  1856.  
  1857. You can also use the Factorial operator (!) to calculate factorials.
  1858.  
  1859. * (GRAND TOTAL)    In the current column, adds the values in all cells above the formula cell that contain a TOTAL(=) calculation. (See = (TOTAL) later in this appendix.)
  1860.  
  1861. This function is not listed in the Table Functions dialog box and it does not require you to type a name-just type an asterisk (*) to perform a grand total. You can also quickly sum values in cells using the QuickSum feature.
  1862.  
  1863. For example, type an asterisk (*) in cell A40 to add the totals in the cells above A40.
  1864.  
  1865. INT(Number)    Deletes any fractional portion of the given number, returning only the integer portion.
  1866.  
  1867. INT(25.77) = 25
  1868.  
  1869. LN(Number)    Calculates the natural logarithm of the given number. The number must be greater than zero.
  1870.  
  1871. LN(2) = 0.693147
  1872.  
  1873. LN is the inverse function of EXP. In other words, if LN(2) = 0.693147, then EXP(0.693147) = 2.
  1874.  
  1875. LOG(Number1, Number2) or LOG(Number)    Calculates the logarithm of Number1 to the base specified by Number2. The numbers must be positive. If only one number is specified, the base 10 logarithm of that number is calculated.
  1876.  
  1877. LOG(16,4) = 2
  1878.  
  1879. LOG(1000) = 3
  1880.  
  1881. MAX(List)    Returns the largest number in the given list of numbers.
  1882.  
  1883. MAX(25,10,15) = 25
  1884.  
  1885. If you do not include any numbers (for example, MAX( )), the function returns NA.
  1886.  
  1887. MIN(List)    Returns the smallest number in the given list of numbers.
  1888.  
  1889. MIN(25,10,15) = 10
  1890.  
  1891. If you do not include a list of numbers, MIN( ) returns NA.
  1892.  
  1893. MINUS(Number)    Returns the negative of the given number. If the number is already negative, a positive number is returned.
  1894.  
  1895. MINUS(25) = -25
  1896.  
  1897. MINUS(-3) = 3
  1898.  
  1899. You can also use the Negation operator (-) to do the same thing.
  1900.  
  1901. MOD(Value1, Value2)    Returns the remainder after dividing Value1 by Value2. The values may be negative or positive. However, Value1 must have a greater absolute value than Value2 for MOD to work properly.
  1902.  
  1903. MOD(6,2) = 0
  1904.  
  1905. MOD(7,2) = 1
  1906.  
  1907. MOD(-7,2) = -1
  1908.  
  1909. You can also use the remainder operator (%) to do the same thing. For more information, see "arithmetic operators" in the WordPerfect online Help.
  1910.  
  1911. PI( )    Returns the number 3.141592653589793. This is an approximation of the number p.
  1912.  
  1913. SIN(PI( )/2) = 1
  1914.  
  1915. POWER(Num1, Num2)    Calculates Num1 raised to the power of Num2.
  1916.  
  1917. POWER(3,2) = 9
  1918.  
  1919. You can also use the Power operator (^) to do the same thing. For more information, see "arithmetic operators" in the WordPerfect online Help.
  1920.  
  1921. PRODUCT(List)    Returns the product of all the numbers in the list.
  1922.  
  1923. PRODUCT(2,3,4,A1:B4) = 1296
  1924.  
  1925. The result in this example above is the product of 2, 3, 4, and all the numbers in the range A1:B4.
  1926.  
  1927. You can also use the Multiplication operator (*) to do the same thing. For more information, see "arithmetic operators" in the WordPerfect online Help.
  1928.  
  1929. QUOTIENT(List)    Divides the first number in the list by the second number, divides that result by the third number, divides that result by the fourth number, and so on.
  1930.  
  1931. QUOTIENT(160,5,8,2.5) = 1.6
  1932.  
  1933. This example is calculated in the following order:
  1934.  
  1935. ((160 / 5 = 32) / 8 = 4) / 2.5 = 1.6
  1936.  
  1937. You can also use the Division operator (/) to do the same thing. For more information, see "arithmetic operators" in the WordPerfect online Help.
  1938.  
  1939. RADIANS(Number)    Converts the given number from degrees to radians.
  1940.  
  1941. RADIANS(90) = 1.570796 (or p/2)
  1942.  
  1943. RADIANS is the inverse function of DEGREES. In other words, if RADIANS(90) = 1.570796, then DEGREES(1.570796) = 90.
  1944.  
  1945. RANDOM([Number])    Returns a random number greater than or equal to 0 and less than 1.
  1946.  
  1947. You can manipulate RANDOM by using a number as the argument. If the given number is positive or there is no number argument, RANDOM returns the next random number in the sequence. If the given number is zero, RANDOM returns the previous random number again, without generating a new number in the sequence. If the given number is negative, RANDOM starts a new sequence of random numbers using the negative number to generate the starting number.
  1948.  
  1949. ROUND(Number, Precision)    Returns the Number rounded to the decimal place specified by Precision.
  1950.  
  1951. Precision can be up to 15 decimal places. You can also specify a negative Precision, which rounds the number to the left of the decimal. A Precision value of -1 rounds to the nearest 10, -2 rounds to the nearest 100, and so on.
  1952.  
  1953. ROUND(125.388,1) = 125.4
  1954.  
  1955. ROUND(125.388,-1) = 130
  1956.  
  1957. SIN(Number)    Returns the sine of the given number (an angle in radians).
  1958.  
  1959. SIN(PI( )/6) = 0.5
  1960.  
  1961. SQRT(Number)    Returns the square root of the given number. The number must be positive (greater than zero).
  1962.  
  1963. SQRT(25) = 5
  1964.  
  1965. STDEV(List)    Returns the standard deviation of a sample from the list of numbers.
  1966.  
  1967. STDEV(25,15,20) = 5
  1968.  
  1969. STDEVP(List)    Returns the standard deviation of a population.
  1970.  
  1971. STDEVP(25,15,20) = 4.082483
  1972.  
  1973. + (SUBTOTAL)    Adds the numbers in the cells directly above the cell that contains the subtotal function.
  1974.  
  1975. Note that this function is not listed in the Table Functions dialog box and does not require you to type a name-just type a plus sign (+) to perform a subtotal. You can also quickly sum values in cells using the QuickSum feature. For more information, see "QuickSum" in the WordPerfect online Help.
  1976.  
  1977. Type + in cell A4 to add the values in the cells above A4.
  1978.  
  1979. SUBTRACT(List)    Subtracts the second number in the list from the first, then subtracts the third number from that result, the fourth from that result, and so on.
  1980.  
  1981. SUBTRACT(57,22,6,18) = 11
  1982.  
  1983. The example above is calculated in the following order:
  1984.  
  1985. ((57 - 22 = 35) - 6 = 29) - 18 = 11
  1986.  
  1987. You can also use the Subtraction operator, the minus sign (-), to do the same thing.
  1988.  
  1989. SUM(List)    Returns the sum of the numbers in the list. You can also specify a range of cells or use the name of a range of cells, as shown.
  1990.  
  1991. SUM(25,10-2,3) = 36
  1992.  
  1993. SUM(a1:a10)
  1994.  
  1995. SUM(bonus)
  1996.  
  1997. You can also use the Addition operator, the plus sign (+), to do the same thing.
  1998.  
  1999. TAN(Number)    Returns the tangent of the given number (an angle in radians).
  2000.  
  2001. TAN(PI( )/4) = 1
  2002.  
  2003. = (TOTAL)    In the current column, adds the values in all subtotal cells above the formula (subtotal cells contain a SUBTOTAL(+) calculation). See + (SUBTOTAL) earlier in this appendix.
  2004.  
  2005. This function is not listed in the Table functions dialog box and does not require you to type a name-just type an equal sign (=) to perform a total. You can also quickly sum values in cells using the QuickSum feature.
  2006.  
  2007. Type = in cell B35 to add the subtotals in the cells above B35.
  2008.  
  2009. VAR(List)    Returns the sample variance for a list of numbers. List must include at least two numbers.
  2010.  
  2011. VAR(20,22,19,23,21) = 2.5
  2012.  
  2013. VARP(List)    Returns the population variance for a list of numbers.
  2014.  
  2015. VARP(68,71,67,66) = 3.5
  2016.  
  2017. The list must include at least one number.
  2018.  
  2019.  
  2020.  
  2021. Financial table functions
  2022.  
  2023.  
  2024.  
  2025. Function    
  2026.  
  2027. DDB(Cost, Salvage, Life, Period)    Returns the depreciation amount using the double-declining balance method of calculating depreciation.
  2028.  
  2029. This method accelerates the rate of depreciation, so that more depreciation is written off in early periods than in later periods. The depreciation stops when the book value of the asset reaches the salvage value. In any one period, the book value equals the cost minus the total depreciation over all previous periods.
  2030.  
  2031. DDB(5000,750,5,2) = 1200
  2032.  
  2033. In this example, the Cost of the asset is $5,000, the Life of the asset is 5 years, the Salvage value after 5 years is $750, and to find the amount of depreciation in the second year, a Period of 2 is used.
  2034.  
  2035. FV(Rate%, PV, Payment, Periods, [Type])    Returns the future value of an investment or loan.
  2036.  
  2037. The example below finds the future value of an investment with no periodic payments. This investment is a six-month certificate of deposit (CD) with a $5000 deposit and an interest rate of 12.5%, compounded daily. The following formula finds the balance of the account at the end of the six months:
  2038.  
  2039. FV(12.5%/365,-5000,0,365/2,0) = 5322.42
  2040.  
  2041. The interest rate percentage is divided by 365 because it is compounded daily. The period must also be expressed in days (365/2 equals six months). The present value (PV) is expressed as a negative number because you pay it at the beginning of the period. The result is positive because you get it back at the end of the period.
  2042.  
  2043. The example below finds the future value of a loan after a specified number of periods. This loan is a $90,000 mortgage for 30 years at an annual interest rate of 11.75%. The monthly payment is $908.47 and is paid at the end of the period. The following formula finds the balance of the loan after 20 years:
  2044.  
  2045. FV(.1175/12,90000,-908.47,20*12,0) = -63962.22
  2046.  
  2047. The interest rate is expressed as a decimal instead of a percentage. It is divided by 12 because it is compounded monthly. Because the rate is expressed in months, the period must also be expressed in months. The present value of the loan is a positive number because it is paid to you. The future value of the loan is returned as a negative number because it is money still owed on the loan.
  2048.  
  2049. IRR(List of Cashflows, Rate%)    Calculates the internal rate of return for a list (series) of cash flows. The first cash flow in the series is negative, representing the initial investment. An estimate of the rate of return (rate argument) must be specified as a percentage.
  2050.  
  2051. IRR uses a sequence of estimates to calculate the internal rate of return. Because IRR uses approximations, you enter only an estimate for the second argument.
  2052.  
  2053. In this example, the IRR for Project 4 is 7.07% (shown in cell H7). The Rate% used is 14%.
  2054.  
  2055. NPV(List, Rate%)    Calculates the net present value (the amount of money required now to produce the given cash flow in the future). The calculation is based on the specified interest rate.
  2056.  
  2057. Each item in the list is the cash flow required at the end of a period. The cash flows must be listed in the order the periods occur (first period, second period, and so on). The period of the interest rate and the required cash flow must be the same.
  2058.  
  2059. The interest rate can be entered as a decimal fraction (for example, .25) or as a percentage (for example, 25%).
  2060.  
  2061. In this example, the numbers in cells B3, B4, and B5 are 15000, 20000, and 25000, respectively.
  2062.  
  2063. NPV(B3:B5,12%) = 47,131.24
  2064.  
  2065. PMT(Rate%, PV, Periods, FV, [Type])    Returns the payment for a loan or investment.
  2066.  
  2067. The following example finds the periodic payment needed to fully amortize (eliminate the balance of) a $125,000 mortgage for 30 years at an annual interest rate of 7.25%. To find the monthly payment made at the end of the period, use the following formula:
  2068.  
  2069. PMT(7.25%/12,125000,30*12,0,0) = -852.72
  2070.  
  2071. The interest rate percentage is divided by 12 because it is compounded monthly, and therefore the period must also be expressed in months. The payment is negative because it is the amount paid to the lender, and the future value is 0 because the loan will be fully amortized. The type is 0 because payments occur at the end of the period.
  2072.  
  2073. The following example finds the payment required for an investment with a specific present value to obtain a specific future value. The investment is a savings account that pays an annual interest rate of 8.5% with an initial deposit of $2,000. To find the required periodic deposit made at the end of the period to obtain a balance of $3,500 in 18 months, use the following formula:
  2074.  
  2075. PMT(8.5%/12,-2000,18,3500,0) = -64.26
  2076.  
  2077. The interest rate percentage is divided by 12 because it is compounded monthly, and the period must also be expressed in months. The present value (PV) is negative because it is money that is paid into the savings account. The type is 0 because the payment is made at the end of the period. The resulting payment (PMT) is also negative because it is money that must also be paid into the savings account.
  2078.  
  2079. The following example finds the periodic payment for an investment to obtain a specific future value with no present value. The investment is a profit-sharing program with your company in which a set amount is deducted from your paycheck at the end of each month. Your company offers an annual interest rate of 32%, and you want to have a balance of $1,500 in one year. To find the amount you need to have deducted from your paycheck, use the following formula:
  2080.  
  2081. PMT(.32/12,0,12,1500,0) = -107.71
  2082.  
  2083. The interest rate in this example is expressed as a decimal. The rate is consistent with the period because both are expressed in months. The present value is 0, because you start with nothing. The resulting payment is negative, because you must pay it from your paycheck.
  2084.  
  2085. PV(Rate%, Payment, Periods, FV, [Type])    Returns the present value for a loan or investment.
  2086.  
  2087. The following example finds the amount of a loan that you want to fully amortize at a given interest and payment rate and in a specific number of periods. The loan is a 30-year mortgage, with an annual interest rate of 7.125%. If you want to make payments of $850 at the end of each period, you can find the amount you can borrow by using the following formula:
  2088.  
  2089. PV(7.125%/12,-850,30*12,0,0) = 126165.45
  2090.  
  2091. The interest rate percentage is divided by 12 because it is compounded monthly, and therefore the period must also be expressed in months. The payment is negative because it is the amount paid to the lender, and the future value is 0 because you want to fully amortize it. The type is 0 because payments occur at the end of the period.
  2092.  
  2093. The following example finds what an investment's present value would have to be to reach a specified future value at a certain payment and period. The investment is a savings account that pays an annual interest rate of 5.5%. If you want to make a deposit of $45 at the end of each month and see a return of $2,500 after 18 months, use the following formula to find the amount you need to initially deposit:
  2094.  
  2095. PV(.055/12,-45,18,2500,0) = -1526.68
  2096.  
  2097. The interest rate is expressed as a decimal. The rate is consistent with the period because both are expressed in months. Payment is a negative number because it is an amount paid into the account. The resulting present value is also negative because it must also be paid into the account. The FV is positive because it is money that you will receive from the account after 18 months.
  2098.  
  2099. RATE(PV, Payment, Periods, FV, [Type])    Returns the periodic interest rate for a loan or investment. The rate returned is based on the Periods. If the period is other than a year, you can adjust the result of the function to obtain the yearly rate. For example, if you use months to state the number of periods in this function, the result will be given as a monthly rate. To convert this monthly rate to a yearly rate, multiply the result by 12.
  2100.  
  2101. The following example finds the interest rate required for an investment to obtain the specified future value with the specified payment and periods, with no present value. If you want to invest $50 at the end of each month for 2 years (24 months) and receive a return of $1,500, use the following formula to find the necessary monthly interest rate:
  2102.  
  2103. RATE(0,-50,24,1500,0) = 0.018854
  2104.  
  2105. The period is expressed monthly (24), therefore the interest rate is also expressed monthly. Multiply the resultant rate (1.89%) by 12 to get the annual rate, approximately 22.6%. The payment is negative because it is an amount you must pay into the investment fund. The future value (FV) is positive because it will be paid to you. The type is 0 because payments occur at the end of each period.
  2106.  
  2107. The following example finds the interest rate necessary for a loan to be fully amortized in the specified periods with the given present value and payment. An $8,000 loan is paid over 36 months, and you want to make payments of $270 at the end of each period. To find the required interest rate, use the following formula:
  2108.  
  2109. RATE(8000,-270,36,0,0) = 0.01093
  2110.  
  2111. The period is expressed monthly (36), therefore the interest rate is also expressed monthly. Multiply the resulting rate (1.09%) by 12 to get the annual rate, approximately 13.1%. The payment is negative because it is an amount that you pay the lender. The type is 0 because payments occur at the end of each period. The present value of $8,000 is positive because it is an amount received from the lender and paid to you.
  2112.  
  2113. SLN(Cost, Salvage, Life)    Returns the straight-line depreciation amount for one period. The straight-line method takes the amount of depreciation for an asset (cost minus salvage) and divides it evenly over the life of the asset.
  2114.  
  2115. SLN(5000,800,6) = 700
  2116.  
  2117. In this example the cost of the asset is $5,000, the life of the asset is 6 years, and the salvage value is $800 at the end of its life. The formula determines the amount of depreciation for each year.
  2118.  
  2119. SYD(Cost, Salvage, Life, Period)    Returns the sum-of-years digits depreciation amount for the specified period. This method accelerates the rate of depreciation, so that more of the asset is depreciated at the beginning of the asset's life than at the end.
  2120.  
  2121. SYD(5000,800,6,4) = 600
  2122.  
  2123. In this example, the cost of the asset is $5,000, the life of the asset is 6 years, and the salvage value is $800. The period is 4 to find the depreciation amount for the fourth year.
  2124.  
  2125. TERM(Rate%, PV, Payment, FV, [Type])    Returns the term (number of periods) for a loan or investment.
  2126.  
  2127. The example below finds the number of periods required for an investment to obtain the specified future value with the given interest rate and payment and with no present value. You will obtain $3,000 by depositing $50 at the end of each month in a savings account that pays a yearly interest rate of 8.5%. To find the number of periods (months) it will take to accumulate $3,000, use the following formula:
  2128.  
  2129. TERM(8.5%/12,0,-50,3000,0) = 50.2
  2130.  
  2131. The interest rate percentage is divided by 12 because it is compounded monthly, and therefore the term is also months (50.2 months). The payment is negative because it is an amount to be paid into the investment. The future value is positive because it is an amount you will receive from the investment. The type is 0 because payments occur at the end of the period.
  2132.  
  2133. The example below finds the number of periods needed for a loan to fully amortize with the specified interest rate, present value, and payment. The loan's present value is $8,000 and you want to make payments of $230 at the end of the period. If the current interest rate is 11.5%, use the following formula to determine the length of the loan:
  2134.  
  2135. TERM(.115/12,8000,-230,0,0) = 42.5
  2136.  
  2137. The interest rate is expressed as a decimal and is divided by 12 because the period is monthly. Payment is a negative number because it is an amount you will pay to the lender. The present value is positive because it is an amount you will receive from the lender. The resultant term is expressed in months.
  2138.  
  2139.  
  2140.  
  2141. Logical table functions
  2142.  
  2143.  
  2144.  
  2145. Function    
  2146.  
  2147. AND(List)    Returns the logical AND of the given list of numbers. A list of logical statements is placed between the parentheses. If all the statements are true, the number 1 (true) is returned. If any of the statements are false, 0 (false) is returned.
  2148.  
  2149. AND(45>10,10+5=16,5<7) = 0
  2150.  
  2151. In the above list, the statement "10+5=16" is false, so 0 is returned.
  2152.  
  2153. You can also use the And operator (&) to do the same thing. For more information, see "arithmetic operators" in the WordPerfect online Help.
  2154.  
  2155. FALSE( )    Returns the logical value 0 (false). Use FALSE with functions that require a logical value of 0 (false), such as IF.
  2156.  
  2157. IF(B4<=100,True( ),False( )) = 0 when B4 contains a value greater than 100.
  2158.  
  2159. IF(Condition, Val1, Val2)    Returns Val1 or Val2, depending on whether the condition is true or false. The condition can be any logical statement. If the statement is true, Val1 is returned; if it is false, Val2 is returned.
  2160.  
  2161. A value may be a number; text string; cell address or name; a function, such as NA, FALSE, or TRUE; or another formula.
  2162.  
  2163. IF(2<3,'True',NA( )) = True
  2164.  
  2165. IF(5*5<=0,25,10/2) = 5
  2166.  
  2167. ISERR(Cell)    Returns the number 1 (true) if any formula error ("??" or "ERR") is found in the given cell. If no error is found, 0 (false) is returned.
  2168.  
  2169. ISERR2(Cell)    Returns the number 1 (true) if a real formula error ("??") is found in the given cell. If no real formula error is found, returns a 0 (false).
  2170.  
  2171. A real formula error is one that originates in the given cell and produces a "??" error message in the cell. An error ("ERR") that results from referencing another cell containing an error is not a real formula error.
  2172.  
  2173. For example, if 2.5/0 is entered in cell F10 and F10+1 is entered in cell F11, a "??" message displays in cell F10 and an "ERR" message displays in cell F11. In this case, ISERR2(F10) returns 1 and ISERR2(F11) returns 0.
  2174.  
  2175. ISNA(List)    Determines if a cell or range is empty (or "NA"). The list may have one or more cell references. If the cells referred to in the list have no entries, the number 1 (true) is returned to the formula cell. If even one entry exists, 0 (false) is returned.
  2176.  
  2177. ISNA(tax,B11:B20,A5) = 0
  2178.  
  2179. In this example, the cell named "tax" and cell A5 have no entries, but there is an entry in the range B11:B20, so 0 is returned.
  2180.  
  2181. ISTEXT(List)    Determines whether the cells referred to in the list contain text. If at least one of the cells in the list contains text and none of the cells contain numbers, 1 (true) is returned; if even one cell contains a number, 0 (false) is returned.
  2182.  
  2183. ISTEXT(A4,company,E5:G9) = 1
  2184.  
  2185. In this example, 1 is returned, because cell A4, the cell named "company," and four of the cells in the range E5:G9 contain text, and none of the cells contain a number.
  2186.  
  2187. ISVALUE(List)    Determines whether the cells referred to in the list contain numbers. If at least one of the cells in the list contains a number and none of the cells contain text, 1 (true) is returned; if even one cell contains text, or if all the cells are empty, 0 (false) is returned.
  2188.  
  2189. ISVALUE(C6,interest,D22:H26) = 0
  2190.  
  2191. In this example, cell C6 contains text, so 0 is returned.
  2192.  
  2193. NA( )    Returns the NA (not available) value-an empty cell.
  2194.  
  2195. IF(2>3,'True',NA( )) = an empty cell
  2196.  
  2197. NOT(Number)    Returns the number 1 to the formula cell if the given number equals zero; otherwise, 0 is returned.
  2198.  
  2199. NOT(25) = 0
  2200.  
  2201. NOT(2*0) = 1
  2202.  
  2203. You can also use the Not operator (!) to do the same thing. For more information, see "arithmetic operators" in the WordPerfect online Help.
  2204.  
  2205. OR(List)    Returns the logical OR of the given list of numbers. A list of logical statements is placed between the parentheses. If at least one of the statements is true, the number 1 is returned to the cell. If all of the statements are false, 0 is returned.
  2206.  
  2207. OR(45>10,10+5>16,5>7) = 1
  2208.  
  2209. Even though two of the statements are false, the statement "45>10" is true, so 1 is returned.
  2210.  
  2211. You can also use the Or operator (|) to do the same thing. For more information, see "arithmetic operators" in the WordPerfect online Help.
  2212.  
  2213. SIGN(Number)    Returns -1 if the number is negative, 1 if the number is positive, and 0 if the number is 0.
  2214.  
  2215. SIGN(-2) = -1
  2216.  
  2217. SIGN(2) = 1
  2218.  
  2219. TRUE( )    Returns the logical value of 1 (true).
  2220.  
  2221. IF(B5>200,True( ),False( )) = 1 if B5 contains a value greater than 200.
  2222.  
  2223.  
  2224.  
  2225. Miscellaneous table functions
  2226.  
  2227.  
  2228.  
  2229. Function    
  2230.  
  2231. BLOCK(Col1, Row1, Col2, Row2)    Returns a list of values from a range of cells in the table. Col1 and Row1 numbers specify one corner of the range, and Col2 and Row2 specify the opposite corner. Because this function returns a list of values rather than a single result, it must be used inside a function that expects a list, such as AVE, CONCAT, or SUM. BLOCK( ) cannot be used to reference another table.
  2232.  
  2233. The following example illustrates the use of BLOCK for the table shown below.
  2234.  
  2235. CONCAT(BLOCK(2,2,2,6)) = ABCDSummum
  2236.  
  2237. CONCAT returns the concatenated text strings from Col 2, Row 2 (cell B2) through Col 2, Row 6 (F2).
  2238.  
  2239. CELL(Col, Row) or CELL(Text)    Returns the value in the cell specified by the given column and row numbers, or by the text string that names the cell.
  2240.  
  2241. These examples assume that cell B3 contains the number 15.
  2242.  
  2243. CELL(2,3) = 15
  2244.  
  2245. With CELL(Text), the text string specifies the cell address. For example, if cell H1 contains "B3," then
  2246.  
  2247. CELL("H1") = 15
  2248.  
  2249. CELL( ) cannot be used to reference another table.
  2250.  
  2251. CHOOSE(Number, List)    Finds the value or string in List that is specified by Number. If Number is negative, the search goes right to left.
  2252.  
  2253. CHOOSE(2,10,11,12) = 11
  2254.  
  2255. CHOOSE(-1,"ten",11,"twelve") = twelve
  2256.  
  2257. SUM(CHOOSE(1,A1:B2,C1:C3)) = total of cells A1 through B2
  2258.  
  2259. In the first example, the number "11" is the second (2) value in the list. In the second example, the text string "twelve" is the first value from the right end of the list (-1). In the third example, CHOOSE returns the first (1) range A1:B2 to SUM.
  2260.  
  2261. COL( )    Returns a number representing the column where the function is entered. Column A is "1," column B is "2," column C is "3," and so on.
  2262.  
  2263. If COL( ) is entered in cell B10, 2 is returned.
  2264.  
  2265. COUNT(List)    Returns a count of all values (numeric and text) in the given List. If the list includes a range, each cell in the range that contains a value is counted. If a cell is NA, it is not counted.
  2266.  
  2267. COUNT(2,'Total',A3,D4:D10) = 7
  2268.  
  2269. In this example, "7" is returned because 2 is a value, 'Total' is the name of a cell that contains a value, A3 contains a value, and four of the cells within the range contain values.
  2270.  
  2271. INDEX(Block, Col, Row)    Returns the number or text from the cell indicated by the column and row offsets within the given range. Use positive or negative numbers to refer to a column and row in the range. Positive numbers refer to columns from the left to right beginning with the first column of the specified range, and refer to rows from the top down beginning with the first row of the specified range. Negative numbers refer to columns from the right to left beginning with the last column in the range (column -1), and refer to rows from the bottom up beginning with row -1.
  2272.  
  2273. INDEX(B3:F12,2,-3)
  2274.  
  2275. In this example, the column and row numbers refer to the cell at the intersection of the second column from the left and the third row from the bottom of range B3:F12 (which is cell C10).
  2276.  
  2277. LOOKUP(Block, Value, [Offset])    Looks up a value (text or a number) in a block of cells in a table. Depending on how the table is set up, either the first column or the first row of the block is used as the index. If there are more rows than columns in the block, LOOKUP uses the first column as the index; if there are more columns than rows, the first row is used. For LOOKUP to work properly, the entries in the index column (or row) must be in numeric order or in alphabetic order if you are using text strings.
  2278.  
  2279. The first argument of the function must be the name or coordinates of a range of cells. The range must include the index column (or row) and any portion of the table you want the function to look through. The second argument may be a number or a text string, depending on whether the table's index column (or row) consists of numbers or text strings. The third argument is optional and is discussed below.
  2280.  
  2281. With the range and index value entered, LOOKUP looks through the index column (or row) for the given value. When the value is found, the function goes to the last column of that row (if using an index column) or the last row of that column (if using an index row), then it returns the number or text found there. The terms "last column" and "last row" refer to the last column or row in the specified range. If the given index value is not found, LOOKUP finds the closest value that is numerically or alphabetically lower in value. You can use the LOOKUP direction indicators ( < and > ) in the value argument to specify the direction (lower or higher) in which you want the function to look when an exact match is not found. For example, LOOKUP(A12:E20,117>) specifies that 117 or the next highest value is returned.
  2282.  
  2283. If the value in LOOKUP is lower in value than the first value in the index column or row and you do not include the LOOKUP direction indicator, nothing is returned.
  2284.  
  2285. LOOKUP is useful when you do not know the exact index value or if you only need an approximate value returned from the table. If you want the table value returned that corresponds to an exact index value, use MATCH.
  2286.  
  2287. In the example below, cell A1 contains the function LOOKUP(A4:E12,117).
  2288.  
  2289. Because there are more rows than columns in the specified block of the table, the first column is used as the table index. The function returns the value (3045) found in the last column of the row containing the lookup value (117).
  2290.  
  2291. If the function contained 116 as the index value in the example above, LOOKUP would have returned the value (659) in the last column of the row that begins with the closest lower value (113).
  2292.  
  2293. If you want the function to return the value of a cell other than the last cell in the column or row, use the optional offset argument. The offset argument may be zero, a positive number, or a negative number. An offset number of 0 returns the value in the index column (or row). A positive offset number (n) returns the value in the nth column to the right of the index column or the value in the nth row below the index row. A negative offset number (-n) returns the value in the nth column to the left of the index column or the value in the nth row above the index row.
  2294.  
  2295. In the following example, 3 is entered as the offset number.
  2296.  
  2297. LOOKUP(A4:E12,117,3)
  2298.  
  2299. The value found in the third column to the right of the index column (African Adventure) is returned.
  2300.  
  2301. LOOKUP2(Block, Xvalue, Yvalue)    Looks up a value in a table. LOOKUP2 is similar to LOOKUP, except that the value to be returned is specified by X and Y coordinates. The first (top) row of the specified range becomes the "X-axis," and the first column becomes the "Y-axis." Like the index column or row in LOOKUP, the X row and Y column must be in numeric or alphabetic order for LOOKUP2 to work properly. You can, however, have an X row of numbers and a Y row of text values or vice versa.
  2302.  
  2303. The X and Y values may be numbers or text strings, depending on whether the X row and Y column contain numbers or text strings. After entering LOOKUP2, the value in the table below the X value and across from the Y value is returned to the formula cell.
  2304.  
  2305. If the exact X and/or Y values are not found in the X row and/or Y column, the function goes to the closest value that is numerically or alphabetically lower in value. You can use the LOOKUP direction indicators ( < and > ) to indicate in which direction you want the function to look when the exact value is not found. If you want only the table value returned that corresponds to the exact X and Y values given, use MATCH2.
  2306.  
  2307. If the value in LOOKUP2 is lower in value than the first value in the index column or row and you do not include the LOOKUP direction operator, nothing is returned.
  2308.  
  2309. MATCH(Block, Value, [Offset])    Looks up a value in a table. MATCH is used in the same way as LOOKUP, except the specified value must match exactly a value in the index column or row. Otherwise, no value is returned. The only other difference is that the index column or row of a range used with MATCH does not need to be in alphabetic or numeric order.
  2310.  
  2311. MATCH2(Block, Xvalue, Yvalue)    Looks up a value in a table. MATCH2 is used in the same way as LOOKUP2, except that the specified X and Y values must match exactly an X and Y value in the X row and the Y column. Otherwise, no value is returned. The only other difference is that the index column or row of a range used with MATCH2 does not need to be in alphabetic or numeric order.
  2312.  
  2313. ROW( )    Returns the number of the row in which the function is entered.
  2314.  
  2315. ROW( ) = 3 if the function is entered in cell B3.
  2316.  
  2317.  
  2318.  
  2319. String table functions
  2320.  
  2321.  
  2322.  
  2323. Function    
  2324.  
  2325. CHAR([Set Number], Number)    Returns a text string of one character, corresponding to the ASCII or WordPerfect character set code given as the number. If no set number is given, character set 0 (ASCII characters) is used.
  2326.  
  2327. CHAR(65) = A
  2328.  
  2329. CHAR(1,23) = ▀
  2330.  
  2331. CODE(Text)    Returns the WordPerfect character set code for the first character in a text string.
  2332.  
  2333. CODE("Alphabet") = 65
  2334.  
  2335. CONCAT(List)    Combines or concatenates all text values in List into a single string. When you reference other cells, the function combines the displayed text, numbers, or formula results of those cells in the string. If you want spaces included in a concatenation, they must be inside quotation marks.
  2336.  
  2337. CONCAT("Total"," ","Costs") = Total Costs
  2338.  
  2339. CURRENCY(Number)    Converts the given number to a text string in currency format. This function allows a number (after it has been converted) to be included in a text string.
  2340.  
  2341. CURRENCY(36) = $36.00
  2342.  
  2343. FIND(Text1, Text2)    Returns the position of the first occurrence of the first text string (Text1) in the second text string (Text2). The position is returned as a number with position 1 being the first character. If Text1 was not found in Text2, 0 (false) is returned.
  2344.  
  2345. FIND is not case sensitive, meaning a lowercase letter will match an uppercase letter and vice versa.
  2346.  
  2347. FIND("Hat","shatter") = 2
  2348.  
  2349. FIND("me","shatter") = 0
  2350.  
  2351. In the first example, the text string "Hat" is found beginning at the second position in the second text string "shatter." The text string "me" in the second example is not found in the text string "shatter," so 0 is returned. FIND counts each character in a text string, including spaces, punctuation marks, and so on, as a position.
  2352.  
  2353. LEFT(Text, Count)    Returns the first Count characters in a text string.
  2354.  
  2355. LEFT("New York",3) = New
  2356.  
  2357. You can also give the count as a negative number. For example, LEFT("New York",-3) returns all the characters in the text string except the last three (New Y).
  2358.  
  2359. LENGTH(Text)    Returns the number of characters or length of a text string.
  2360.  
  2361. LENGTH("home") = 4
  2362.  
  2363. LOWER(Text)    Returns the given Text string with all uppercase letters converted to lowercase.
  2364.  
  2365. LOWER("THE Teacher") = the teacher
  2366.  
  2367. MID(Text, Position, Count)    Returns part of a text value to the formula cell. The function returns the portion of the text string beginning at the specified position, for the specified number (Count) of characters. The first character is position 1.
  2368.  
  2369. MID('winter',1,3) = win
  2370.  
  2371. You can also give the position and count as negative numbers. If you give a negative number for the position, it indicates a position the specified number of characters to the left of the last character in the text. For example, MID("winter",-3,2) returns te. The position of -3 starts the count 3 characters to the left of the last character (at t). The count value of 2 then begins at t and counts two characters, so the result is te.
  2372.  
  2373. If you give a negative number for the count, MID returns all the characters starting with the character specified by Position and ending Count characters from the last character. For example, MID("winter",3,-1) returns nte. The position value of 3 will start the count on the third character (at n). The result is everything from n to the end of the text, excluding the number of characters specified by the count value (the r), so the result is nte.
  2374.  
  2375. PROPER(Text)    Returns each word in the given text string with the first letter in uppercase and the rest in lowercase. With PROPER, a word is considered any group of characters preceded by a space or a period.
  2376.  
  2377. PROPER("my DOG") = My Dog
  2378.  
  2379. REPEAT(Text, Count)    Returns the given Text string duplicated Count times.
  2380.  
  2381. REPEAT("top",3) = toptoptop
  2382.  
  2383. REPLACE(Text1, Position, Count, Text2)    Replaces part of Text1, starting at the Position indicated, takes out Count characters, then inserts Text2. (The first letter of Text1 is position 1.)
  2384.  
  2385. REPLACE("national",4,3,"ur") = natural
  2386.  
  2387. If Count is the same length as Text1, you can replace all of Text1 with Text2.
  2388.  
  2389. By using 0 (zero) for Count, you can insert new text into Text1.
  2390.  
  2391. If you specify a position just beyond Text1, you can add text onto the end of Text1.
  2392.  
  2393. If you do not type any text for Text2, you can delete part of Text1.
  2394.  
  2395. RIGHT(Text, Count)RIGHTText Count    Returns the last Count characters in a text string.
  2396.  
  2397. RIGHT("house",3) = use
  2398.  
  2399. You can also give the count as a negative number. For example, RIGHT("house",-3) returns all the characters in the text string except the first three (se).
  2400.  
  2401. TEXT(Number, [Precision])    Converts a number to a text string. The Precision argument determines how many digits are displayed after the decimal point and should be a number from 0 to 15.
  2402.  
  2403. TEXT(12.472,2) = 12.47 (as a text string)
  2404.  
  2405. You can also use -1 as the precision argument to convert the number to a text string that displays all necessary digits (as many as 15).
  2406.  
  2407. TRIM(Text)    Returns the text string with no leading, trailing, or consecutive spaces.
  2408.  
  2409. TRIM(" Here I am ") = Here I am
  2410.  
  2411. UPPER(Text)    Returns the text string with all letters in uppercase.
  2412.  
  2413. UPPER("toTAL Costs") = TOTAL COSTS
  2414.  
  2415. VALUE(Text)    Converts the text value to a number, if possible, and returns the number as the result.
  2416.  
  2417. VALUE("$34.23") = 34.23
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.