hide random home http://www.microsoft.com/TechNet/desk/office/reskit/orkf/ch18f.htm (PC Press Internet CD, 03/1996)

Updated : January 4, 1996
CD article first appeared on: October 1995

TechNet logo Go To TechNet Home Page

Chapter 18: Switching to MS Excel


~Previous Chapter_____^Office Resource Kit Contents_____Next Chapter~

This chapter places particular emphasis on issues that arise when a workgroup is moving to Microsoft Excel from another spreadsheet application. This chapter is intended as a starting point to be used in the transition process, and offers guidance and information specific to that process.


Contents


Converting File Formats

File formats determine the way information in a workbook is stored in a file. Different spreadsheet applications use different file formats. Microsoft Excel enables you to open and save files in many different formats, using the Open and Save As commands on the File menu. This section examines these data exchange formats in detail.

Data Exchange Specifications

Microsoft Excel can both open and save many different file formats. The list of formats that appears in the Save As dialog box varies depending on what kind of sheet is active. When saving, some file formats save the entire workbook and others save only the active worksheet. (When saving the latter file type, you need to activate and save each sheet in the workbook individually.) See the following lists for a comprehensive summary of formats based on how they can be used.

Formats for Opening and Saving Files

File Formats That Save the Entire Workbook:

Version

File format

Microsoft Excel 5.0 Workbook

XLS

Microsoft Excel 5.0 Template

XLT

Microsoft Excel 5.0 Workspace

XLW

Microsoft Excel version 4.0 Workspace (saves worksheets, chart sheets, and Microsoft Excel version 4.0 macro sheets only)

XLW, XLA, XLT, XLB, XLL

Lotus 1-2-3 Release 5 for Windows

WK4

Lotus 1-2-3 Release 4.x for Windows

WK4

Lotus 1-2-3 Release 3.x (saves worksheets and chart sheets only)

WK3, FM3


Note A supplemental converter exists to allow users of Microsoft Excel 5.0c for Windows (16-bit) to open, but not save, WK4 files. You can obtain this converter from the Office Resource Kit CD, or by calling Microsoft Product Support Services.


File Formats That Save the Active Sheet Only

Version

File format

Formatted Text (space delimited Lotus PRN format)

PRN

Text (Windows, tab delimited)

TXT, Text (Macintosh, OS/2, or MS-DOS)

CSV (Windows, comma delimited)

CSV (Macintosh, OS/2, or MS-DOS)

Microsoft Excel Version 4.0 formats

XLS, XLC, XLM, XLT, XLA, XLB, XLW

Microsoft Excel Version 3.0 formats

XLS, XLC, XLM, XLW, XLA, XLT

Microsoft Excel Version 2.x formats

XLS, XLC, XLM, XLW

Microsoft Excel Macro (Microsoft Excel versions 2.1, 3.0, 4.0)

XLM

Lotus 1-2-3

WKS, WK1, (ALL, FMT)

Quattro/Pro (DOS)

WQ1

dBASE II, III, IV

DBF

CSV (Macintosh, OS/2, or MS-DOS; comma delimited)

CSV

DIF (data interchange format)

DIF

SYLK (symbolic link format)

SLK

Formats for Opening Files

File Formats That Microsoft Excel Can Open But Not Save:

Version

File format

Microsoft Works (MS-DOS and Windows only)

WKS

Lotus 1-2-3 Releases 3.0, 3.1+, and
1-2-3/W

PIC (when included in an ALL file)

Lotus 1-2-3 Release 5 for Windows Templates

WT4

Novell Quattro Pro for Windows
Versions 5.0

WB1

Clipboard Formats

You can paste the following formats in Microsoft Excel with the Paste or Paste Special command:

Format

Clipboard type identifier

Picture

Picture (also known as Windows metafile) for Windows; PICT for the Macintosh

Bitmap

Bitmap for Windows

Microsoft Excel file formats

BIFF, BIFF3, BIFF4

Symbolic link format

SYLK

Lotus 1-2-3 Release 2.x format

WK1

Data interchange format

DIF

Text (tab delimited) format

Text

Comma-separated values format

CSV

Formatted text*

Rich Text Format (RTF)

Embedded object

Native, OwnerLink, and Picture for Windows; NATV, OLNK, and PICT for the Macintosh; or other presentation format

Linked object

OwnerLink, ObjectLink, Link, and Picture for Windows; OLNK, OJLK, LINK, and PICT for the Macintosh; or other format

Text

Display Text, OEM Text

Values

VALU for the Macintosh

* From Microsoft Excel only

Importing Text Files

If you want to open a text file in Microsoft Excel, click the Open button or choose Open from the File menu, select the filename, and click OK. The file is loaded and the Text Import Wizard appears. The Text Import Wizard guides you through the steps you need to import the text file and distribute the text across columns.

Document Contents

Switching from Lotus 1-2-3

All of your Lotus 1-2-3 worksheets are compatible with Microsoft Excel, allowing you to open them, work on them, and then save them either as Lotus 1&hyph;2-3 worksheets or Microsoft Excel worksheets. With Microsoft Excel for Windows 95, you can run Lotus 1-2-3 Release 2.01-compatible macros, and you can import formatting files created using Allways or the WYSIWYG add-in. You can also use the skills you developed while using Lotus 1-2-3 to help you learn Microsoft Excel for Windows. With Help for Lotus 1-2-3 Users, you can enter a Lotus 1-2-3 command and then choose either to watch as Microsoft Excel performs the equivalent Microsoft Excel commands or to read a set of detailed written instructions.

The simple act of opening a Lotus 1-2-3 worksheet into Microsoft Excel converts both formulas and formatting automatically. After the worksheet is opened (or loaded, in Lotus 1-2-3 terms), you can start working with it immediately.


Note If you open any Lotus 1-2-3 .WK? file in Microsoft Excel, the Transition Formula Evaluation option is automatically activated, which causes Microsoft Excel to use Lotus 1-2-3 rules for calculating formulas. For more information about Transition Formula Evaluation, see "Using the Transition Tab" later in this chapter.


Using Your Knowledge of Lotus 1-2-3 to Learn Microsoft Excel

Although the set of commands and rules for entering data in Lotus 1-2-3 differs from those of Microsoft Excel, there are several features built into Microsoft Excel that allow you to use what you know about working with Lotus 1-2-3 to learn Microsoft Excel. By using some or all of these options, you can be immediately productive and learn Microsoft Excel at the same time.

If you want

Do this

To use Lotus 1-2-3 commands to learn equivalent Microsoft Excel commands

Click Options on the Tools menu, click the Transition tab, type a menu-activation character in the Microsoft Excel Menu Or Help Key box (the slash character is entered there for you), and select the Lotus 1-2-3 Help option button. (You type the menu activation character to activate the menu bar using the keyboard.)

To navigate through Microsoft Excel worksheets using an alternate command set

Click Options on the Tools menu, click the Transition tab, and select the Transition Navigation Keys check box.

To learn Microsoft Excel formula syntax by using Lotus 1-2-3 function syntax

Click Options on the Tools menu, click the Transition tab, and select the Transition Formula Entry check box.

To assist file conversion to Microsoft Excel by using Lotus 1-2-3 rules for evaluating text fields and database criteria

Click Options on the Tools menu, click the Transition tab, and select the Transition Formula Evaluation check box.

To run your Lotus 1-2-3 macros

Open the Lotus 1-2-3 file containing the macros you want to use, hold down CTRL and press the macro letter.

Help for Lotus 1-2-3 Users

You can use your knowledge of 1-2-3 to learn Microsoft Excel. In the Help for Lotus 1-2-3 dialog box, you can type a 1-2-3 command and Microsoft Excel either displays a set of instructions or performs an interactive demonstration of the equivalent Microsoft Excel command. If you select the Instructions option button, the instructions for the task are placed on your worksheet so that you can view them conveniently while you finish the task.

graphic

There are two ways to open the Help For Lotus 1-2-3 Users dialog box:

The following paragraphs describe each section of the Help for Lotus 1-2-3 Users dialog box.

Menu

Displays a list of Lotus 1-2-3 menu items. Type the Lotus 1-2-3 keystrokes you would use to choose a command, depending on the type of help you select in Help Options, as described below. For multilevel Lotus 1-2-3 menus, Microsoft Excel displays the next submenu on a status line at the bottom of the dialog box. To move down to a lower menu level, select the menu item and press ENTER or type the first letter of the menu item.

Using 1-2-3 Help

The Using 1-2-3 Help box initially displays instructions for using Help for Lotus 1-2-3 Users. If you select a Lotus 1-2-3 command, this box displays instructions for performing the equivalent command in Microsoft Excel. The title of this box changes depending on the menu item currently selected. If you select the Instructions option under Help Options and then press ENTER when the command is selected and the procedure is visible, the dialog box disappears but the procedure remains posted on your sheet for reference as you carry out the command. (This also occurs if you select the last item in a keystroke sequence, such as the "r" in \fr.)To remove the text box containing the procedure, press ESC.

Help Options

You can choose to either display a text box containing the Microsoft Excel equivalent procedure for carrying out a Lotus 1-2-3 command (the Instructions option), or to watch Microsoft Excel demonstrate the equivalent steps for you (the Demo option). To select the Instructions option with the keyboard, press ALT+I. To select the Demo option with the keyboard, press ALT+D.

For commands requiring additional information, such as cell references, you are prompted for the necessary information at the top of the Microsoft Excel window before the demonstration starts.

The Faster and Slower buttons enable you to choose from among five demonstration speeds, with 5 being the fastest and 1 being the slowest. The current speed is displayed in the box to the right of the two buttons. To select speeds with the keyboard, press ALT+F for faster, or press ALT+S for slower.

Using the Transition Tab

Some Microsoft Excel spreadsheet operations such as calculating formulas, using the keyboard, and entering dates work differently from those in other spreadsheet applications. Fortunately, Microsoft Excel lets you decide how you want these features to work. You can select either the standard Microsoft Excel operation or the operation that matches 1-2-3 and other 1-2-3--compatible spreadsheet applications.

To specify how you want Microsoft Excel to operate, choose the Options command from the Tools menu and select the Transition tab. This tab contains options to help you in your transition to Microsoft Excel.

graphic

Transition Navigation Keys

Microsoft Excel for Windows provides an alternate set of keyboard commands for navigating around spreadsheets. To activate this alternate set of commands, choose the Options command from the Tools menu, select the Transition tab, and then select the Transition Navigation Keys check box. For example, in Lotus 1-2-3, pressing HOME moves the active cell highlight to cell A1. In Microsoft Excel, pressing HOME moves the active cell highlight to the first cell in the current row. When you activate the Transition Navigation Keys option, pressing HOME moves the active cell to cell A1.

The following tables list the keyboard shortcuts that are in effect when you select the Transition Navigation Keys check box.

Navigation Keys

Description

CTRL+LEFT ARROW

Left one page

CTRL+RIGHT ARROW

Right one page

CTRL+PAGE UP

In a workbook, next sheet

CTRL+PAGE DOWN

In a workbook, previous sheet

TAB

Right one page

SHIFT+TAB

Left one page

HOME

Selects cell in the upper-left corner of the sheet

Function Keys

Description

F5

Edit Menu. Go To Command

F6

Next window of the same workbook

SHIFT+F6

Previous pane of the same window

In Data Find Mode

LEFT ARROW

Moves to the previous field of the current record

RIGHT ARROW

Moves to the next field of the current record

HOME

Moves to the first record

END

Moves to the last record

When the Transition Navigation Keys check box is selected, use the following text-alignment prefix characters to assign alignment formats as you enter data into cells.

Text-Alignment Prefix Characters

' (apostrophe)

Aligns data in the cell to the left

" (quotation mark)

Aligns data in the cell to the right

^ (caret)

Centers data in the cell

\ (backslash)

Repeats characters across the cell

When in Point mode, hidden columns unhide themselves temporarily.

Transition Formula Entry

Microsoft Excel uses a different syntax than Lotus 1-2-3 in formulas and functions. Using Transition Formula Entry to learn the Microsoft Excel syntax, you can enter any formula or function exactly as you would in Lotus 1-2-3, and you will be shown how it is entered Microsoft Excel.

With the Transition tab of the Options command on the Tools menu, you can select the Transition Formula Entry check box to enter any formula or function or range name according to Lotus 1-2-3 syntax. Microsoft Excel does not automatically turn on Transition Formula Entry for Microsoft Excel worksheets or Lotus 1-2-3 worksheets.

When Transition Formula Entry is turned on, you can:

When you turn Transition Formula Entry on or off, formulas don't automatically reapply names or revert names to references. Therefore, decide whether you want to turn Transition Formula Entry on of off before you begin working on a worksheet.

After you turn on Transition Formula Entry, it remains turned on for that worksheet until you turn it off, even if you save the Lotus 1-2-3 worksheet as a Microsoft Excel worksheet.

Transition formula entry affects only range names that are simple and absolute, and does not affect range names that refer to nonadjacent selections. All Lotus 1-2-3 range names created in Lotus 1-2-3 are affected by Transition Formula Entry.

Transition Formula Evaluation

Microsoft Excel and Lotus 1-2-3 evaluate certain formulas and expressions differently. The Transition Formula Evaluation option allows Microsoft Excel to calculate formulas and database criteria according to Lotus 1-2-3 rules.

The following types of expressions are evaluated differently in Excel than in Lotus:

When you open a Lotus 1-2-3 worksheet in Microsoft Excel, Transition Formula Evaluation is turned on for that sheet. This ensures that the formulas are calculated according to the preceding Lotus 1-2-3 rules.

If your save the Lotus 1-2-3 worksheet as a Microsoft Excel worksheet, Transition Formula Evaluation remains turned on until you turn it off. Transition Formula Evaluation is not turned on automatically for Microsoft Excel worksheets.


Warning Avoid turning Transition Formula Evaluation on and off; otherwise, the values calculated on your worksheet might change. If you leave Transition Formula Evaluation turned off, your worksheet will adhere to Microsoft Excel rules. If you leave the option turned on, your worksheet will adhere to Lotus 1-2-3 rules.


Consolidating Multiple Worksheets

Using the Consolidate command, you can easily select data from other files, on your computer or on the network. The addresses of these data sources are stored in the worksheet, and you can call them whenever an update is needed by using the Consolidate command on the Data menu. You can also construct dynamic links to the source data that will update the figures in the consolidation worksheet automatically.

For example, suppose you have a departmental budget that consists of monthly data from several different sources throughout the department. The source sheets can be a variety of Microsoft Excel and Lotus 1-2-3 files. Each source might have a set of daily, weekly, or monthly worksheets itemizing actual and projected budgets. Each source can use consolidation to collect specific data from the set of worksheets in order to create a summary worksheet. The person responsible for the overall budget can use consolidation formulas to collect this summary information from each source across the network and, in turn, create a master departmental summary worksheet.

Using 3-Dimensional Formulas in Workbooks

If you store a group of worksheets with identical layouts, such as monthly reports, in the same workbook, you can use 3-dimensional formulas to consolidate data into summary worksheets. 3-dimensional formulas allow you to specify sheet ranges in a workbook, which are similar to cell ranges on a worksheet. You can apply a number of different functions, such as SUM and AVERAGE, to the resulting 3-dimensional range.

While you can create summary reports for identical sheets in a workbook using the Consolidate command, 3-dimensional formulas offer several advantages. 3-dimensional formulas are dynamic. Like other Microsoft Excel formulas, the results are automatically updated to reflect changes in subordinate data. Using linked consolidation instead of 3-dimensional formulas adds an outline to the summary worksheet, inserting hidden rows and columns to store the linking formulas. 3-dimensional formulas are also easier to create and modify than linked consolidations.

Transition Terminology

The following table lists Lotus 1-2-3 terms and their Microsoft Excel counterparts. The Microsoft Excel term is not necessarily an exact equivalent of the Lotus 1-2-3 term, but rather a term you can look up in the online help system for more information. You don't need to understand all of these terms before you start using Microsoft Excel.

Lotus 1-2-3 term

Microsoft Excel term

@Function

Function

Address

Reference

Anchor cell

Selecting a range of cells

Border

Row and column headings

CALC indicator

Status bar

Cell pointer

Active cell

Column labels

Column headings

Command prompt

Dialog box

Control panel

Menu bar, formula bar, status bar

Copy

Copy, and then paste

Crosshatching

Chart patterns

Current cell

Active cell

Current worksheet

Active worksheet, chart, or macro sheet

Cursor

Insertion point

Data labels

Data marker labels

Data range

Data series

Data table 1

One-input table

Data table 2

Two-input table

Date format

Number format

Erase

Clear

Formula criteria

Computed criteria

Global

Workspace

Graph

Chart

Graph labels

Chart text

Graph titles

Chart titles

Highlight

Select or selection

Indicator

Status bar

Input range

Database range

Label

Text

Label-prefix

Alignment

Label/matching criteria

Comparison criteria

Logical 0

FALSE

Logical 1

TRUE

Menu pointer

Menu selection

Mode indicator

Status bar

Move

Cut, and then paste

Number/matching criteria

Comparison criteria

Numeric format

Number format

Output range

Extract range

Picture file

Chart document

Pointer movement keys

Arrow keys

Print range

Print area

PrintGraph

Printing a chart

Prompt

Dialog box

Protected cell

Locked/protected cell

Range highlight

Selected range

Repeating label

Fill alignment

Retrieve a file

Open a file

Row numbers

Row headings

Stacked bar graph

Column chart, bar chart

Status indicator, status line

Status bar

String

Text

Target cell

Dependent cell

Target file

Dependent document

Time format

Number format

Titles

Split worksheet window with frozen panes

Translate utility

Open and Save As commands on the File menu

Value

Number

Window

Multiple windows, pane

File Conversions

You can use Microsoft Excel with your existing Lotus 1-2-3 worksheets by simply opening your Lotus 1-2-3 worksheet in Microsoft Excel the same way you open any Microsoft Excel worksheet--using the Open toolbar button or the Open command on the File menu. When you finish editing the worksheet, you can save it as either a Microsoft Excel worksheet or a Lotus 1-2-3 worksheet.

Similarly, it's easy to save a Microsoft Excel worksheet in a Lotus 1-2-3 format and then open it in Lotus 1-2-3. After you export a Microsoft Excel worksheet to Lotus 1-2-3 format, you can edit it using Lotus 1-2-3.

When you open a WK3 file in Microsoft Excel, it is opened as a workbook. The associated FM3 formatting file is also opened and its formatting information is applied. Similarly, when you save Microsoft Excel workbooks in WK3 format, the associated FM3 file is created automatically.

Microsoft Excel opens and saves the following Lotus 1-2-3 file formats:

Lotus 1-2-3 release

File format

1, 1A

WKS

2.0, 2.01, 2.2

WK1, ALL

2.3, 2.4

WK1, FMT

3.0

WK3

3.1, 3.1+, 1-2-3/W, R1.1

WK3, FM3

4.0, 5.0

WK4, WT4


Note In WK3 and WK4 formats, Microsoft Excel can read and write both 2-dimensional and 3-dimensional worksheets.


When you open a Lotus 1-2-3 worksheet in Microsoft Excel, Microsoft Excel automatically opens the corresponding ALL, FMT, or FM3 file. Drop shadows and objects drawn on top of charts are not imported to Microsoft Excel. Also, double underlines and wide underlines appear as a single underline in Microsoft Excel. When you save a Lotus 1-2-3 worksheet in Microsoft Excel, an FMT or FM3 file is automatically saved. However, because of the limitations of the Impress add-in, you can save only the first eight styles you create and the first eight fonts you use.

For more information about Impress, see "WYSIWYG (Impress) Formatting" later in this chapter.

Unsupported Lotus 1-2-3 Release 4 and Release 5 Features

Features without direct equivalents in Microsoft Excel will not be imported:

Importing and Exporting References

When exporting Microsoft Excel files to Lotus 1-2-3, the following occur due to the lack of equivalent functionality in Lotus 1-2-3.

In these cases, Microsoft Excel substitutes the value of the formula for the formula itself. When you save a document in a Lotus 1-2-3 file format, any references in a Microsoft Excel worksheet to rows beyond 2048 (for WKS file format) or 8192 (for WK1 and WK3 file formats) wrap around the edges of the worksheet. For example, when you save a reference to cell A8193 in WK1 format, the reference changes to A1 in Microsoft Excel.

Importing and Exporting External References

Lotus 1-2-3 Releases 1a and 2.01 don't support external references (file linking) to other worksheets, so any Microsoft Excel formulas containing external references are not exported to WKS or WK1 file formats. In these cases, Microsoft Excel substitutes the value of the formula for the formula itself.

Opening and Saving a Lotus 1-2-3 Worksheet

The majority of your Lotus 1-2-3 worksheets can easily be converted to Microsoft Excel format by opening them and saving them with Microsoft Excel.

To open and save a Lotus 1-2-3 worksheet in Microsoft Excel

  1. In Microsoft Excel, click the Open button on the Standard toolbar or choose the Open command from the File menu.
  2. In the Files Of Type list box, select Lotus 1-2-3 Files.
  3. Switch to the appropriate folder and select the Lotus 1-2-3 worksheet that you want to convert, or type the complete filename in the File Name box.

    If the Lotus 1-2-3 worksheet you want to convert has graphs associated with it, Microsoft Excel converts the Lotus 1-2-3 graphs to Microsoft Excel charts, and places them on a separate chart sheet in the workbook. Charts created using Impress or Allways are embedded on the corresponding worksheet.

  4. On the File menu, click Save As to save each converted Lotus 1-2-3 worksheet as a Microsoft Excel workbook. Make sure the Microsoft Excel Workbook option is selected in the Save As Type list box.

If you have any formulas in cells that cannot be converted, Microsoft Excel displays another dialog box asking you if it should continue to alert you each time a cell does not convert. Microsoft Excel attaches a note to any cell that does not convert. Formulas that do not convert are discarded, but the result of the formula is preserved in the cell. Keep a copy of the original Lotus 1-2-3 worksheet in case there are formulas that do not convert, so that you can refer to the original Lotus 1-2-3 formula in order to rebuild it using the equivalent Microsoft Excel method. The most common conversion problems are formulas that have over eight levels of nesting in one formula, as is common with formulas that use multiple @IF functions. (For more information, see "Nested Formulas" later in this chapter.)

Auditing Your Lotus 1-2-3 Worksheet Before Conversion

Audits conducted by the industry on corporate MS-DOS--based worksheets found that approximately 30 percent of all worksheets contain serious errors. In some cases, major decisions have been made using worksheets that have been incorrect for years.

The only way to catch these errors is with a worksheet audit. You can do the audit while the worksheet is in Lotus 1-2-3 or after it is converted to Microsoft Excel. We recommend a partial audit on both sides. Each audit catches different problems. Auditing before conversion catches problems inherent to the original worksheet, such as values that have replaced formulas, circular errors, error results, and bad range names. Auditing after conversion catches problems introduced by the conversion process or by reorganization and linking.

Auditing Your Converted Worksheet

Auditing the worksheets in Microsoft Excel helps you find formulas that did not convert, links that are incorrect, or unexpected problems for which you might need additional help. The three Microsoft Excel features that are useful for auditing are the Auditing commands on the Tools menu, the Find command on the Edit menu, and the Special button in the dialog box that appears when you choose the Go To command on the Edit menu.


Note If Microsoft Excel encounters formulas that it cannot convert when you open a Lotus 1-2-3 worksheet, only the resulting values are displayed and the original formula is discarded. Microsoft Excel indicates this by displaying a cell note (and cell note indicator) in the cell, containing the message "Formula failed to convert." For more information, see "Translating Lotus 1-2-3 Formulas," later in this chapter.


To search for cells containing formulas that did not convert correctly

  1. On the Edit menu, click Find.
  2. In the Find dialog box, select Notes from the Look In list.
  3. In the Find What box, type formula failed to convert
  4. Choose the Find Next button.

    The first cell containing the text you entered is selected. A message appears if the text cannot be found.

  5. Choose the Find Next button again to go to the next cell with a note containing the text.

To select all cells with cell notes after you've loaded the file, click the Go To command on the Edit menu, click the Special button, and then select the Notes option button. This will select all cells with notes, allowing you to see where your formulas did not convert. You can also click the Page Setup command on the File menu, click the Sheet tab, and then select the Notes check box to print the notes along with the sheet. You can then use this printed document as a reference for troubleshooting. These cell notes will consist of all notes inserted by Microsoft Excel during the conversion process, as well as all cells converted from WK3 files that contain Lotus 1-2-3--style text notes in their formulas.

The Go To Special dialog box is a powerful tool. Using various Go To Special options, you can find:

Auditing Using Cell Tracers

Another powerful auditing feature included with Microsoft Excel are cell tracers. Cell tracers are arrows drawn on a worksheet that point to the precedents or dependents of a selected cell, or trace the error path of a cell containing an error value. You use the Auditing command on the Tools menu to display tracer arrows. Alternatively, you can choose the Auditing command and then choose the Show Auditing Toolbar command to display the Auditing toolbar, which you can use to trace the flow of data between cells on your worksheet.

In the following figure, cell J8 was selected and the Trace Dependents button was clicked twice. The first click added arrows pointing to the first level of precedent cells, J5:J7; the second click indicated the second level of precedent cells, C2:C4 and C8:C10.

graphic

Microsoft Excel Equivalents for Frequently Used Lotus 1-2-3 Commands

The following table lists Lotus 1-2-3 commands and the equivalent commands in Microsoft Excel.


Note In Microsoft Excel you select the range you want to work with before you choose a command. Many common commands can be carried out by clicking a button on a toolbar.


Lotus 1-2-3 command

Microsoft Excel command

/c

Edit menu, Copy and Paste command

/fd

File menu, Open command

/few

File menu, Find File command

/fr

File menu, Open command

/fs

File menu, Save As command

/gv

File menu, Open command is used when chart is in a separate file

/m

Edit menu, Cut and Paste command

/ppg

File menu, Print command

/ppr

Set Print Area button

/qy

File menu, Exit command

/re

Edit menu, Clear command

/rf,

Format menu, Number tab, Cells command

/rfc

Format menu, Number tab, Cells command

/rfp

Format menu, Number tab, Cells command

/rnl

Insert menu, Create command, Name submenu

/rnc

Insert menu, Define command, Name submenu

/wcs

Format menu, Width command, Column submenu

/wdc

Edit menu, Delete command

/wdr

Edit menu, Delete command

/wey

File menu, Close and New commands

/wic

Insert menu, Columns command

/wir

Insert menu, Rows command

/wtc

Window menu, Unfreeze Panes command

/wth

Window menu, Freeze Panes command

/wtv

Window menu, Freeze Panes command

Lotus 1-2-3 Keyboard Equivalents

Microsoft Excel default keyboard equivalents to Lotus 1-2-3 keys are listed in the following tables. If you have not activated the Transition Navigation Keys option, these Lotus 1-2-3 keyboard equivalents will be in effect.

Function Keys

The following table compares function key assignemnts in Lotus 1-2-3 and their equivalents in Microsft Excel.

Lotus 1-2-3

Microsoft Excel

Meaning

F1

F1

Help

F2

F2

Edit

F3

F3

Name

F4

F4

Absolute/Relative

F5

F5

Goto

F6

CTRL+F6

Next window

F7

ALT, D, F

Query (first time)

DOWN ARROW

Query (thereafter)

F8

Automatic

Table

F9

F9

Calculate

F10

F11 or ALT+F1

Graph

Navigation Keys

The default Microsoft Excel navigation keys are listed below. You can also turn on Microsoft Excel's transition navigation keys, which are equivalent to many of the Lotus 1-2-3 navigation keys.

Lotus 1-2-3

Microsoft Excel

Up, Down

UP ARROW , DOWN ARROW

Left, Right

LEFT ARROW, RIGHT ARROW

End, Up

CTRL+UP ARROW or END+UP ARROW

End, Down

CTRL+DOWN ARROW or END+DOWN ARROW

End, Left

CTRL+LEFT ARROW or END+LEFT ARROW

End, Right

CTRL+RIGHT ARROW or END+RIGHT ARROW

Home

CTRL+HOME

Tab

CTRL+PAGE DOWN

Shift+Tab

CTRL+PAGE UP

PgUp

PAGE UP

PgDn

PAGE DOWN

Translating Lotus 1-2-3 Formatting

Many Lotus 1-2-3 users have used add-ins to assist in the formatting of their worksheets. Lotus 1-2-3 Release 2.01 and 2.2 use the Allways add-in (which produces files with filenames that end with the .all extension), while Releases 2.3 and later use the WYSIWYG or Impress add-in (which produces files with filenames that end with .fmt or .fm3). In Lotus 1-2-3, after formatting is applied to a worksheet, a separate file is created and saved along with the worksheet. In Microsoft Excel, formatting information is saved in the workbook file.

WYSIWYG (Impress) Formatting

When you open a Lotus 1-2-3 worksheet that has a corresponding FMT (WK1) or FM3 (WK3) file created with the WYSIWYG add-in in the same folder, Microsoft Excel opens the WYSIWYG file automatically and applies the equivalent formats in Microsoft Excel. Conversely, when you use Microsoft Excel to save a Lotus 1-2-3 worksheet in Lotus 1-2-3 format, an FMT or FM3 file is automatically saved along with it, if one existed originally. You can also create an FMT or FM3 file when you save a WK1 or WK3 file, even if none existed originally.

Allways Formatting

Microsoft Excel offers full support of Allways files (.all). When you import a Lotus 1-2-3 worksheet that has a corresponding ALL file (with the same name, in the same folder), Microsoft Excel opens the Allways file automatically. When you use Microsoft Excel to save the same Lotus 1-2-3 file, Microsoft Excel will save both the WK1 file and a separate ALL file, if one existed originally. You can also create an ALL file when you save a WK1 file, even if none existed originally.

Underlining

When you open in Microsoft Excel a Lotus 1-2-3 worksheet that contains double underlines, the double underlines are converted to single underlines. Many underlining tasks, such as double underlining or single underlining at the bottom of summed columns, will be better accomplished in Microsoft Excel with the Cells command on the Format menu, using the text underlining options in the Font tab or the cell border options in the Border tab.

Objects Drawn Over WYSIWYG Graphs

The Lotus 1-2-3 WYSIWYG add-in creates embedded graphs, and also draws arrows, ovals, and other objects on top of these graphs. In Microsoft Excel, when you import a Lotus 1-2-3 worksheet and its associated WYSIWYG file, the embedded graph appears, but any overlaid drawings do not. However, after the worksheet and graph are imported, you can easily use any of the Microsoft Excel drawing tools to enhance them, as long as you save the worksheet in Microsoft Excel format.

Formatting in Microsoft Excel

This section describes the general procedure used to apply formatting in Microsoft Excel, and describes how formatting in Microsoft Excel equates to formatting in Lotus 1-2-3.

To format numbers

  1. Select the cells you want to format.
  2. On the Format menu, click Cells.
  3. Select the Number tab.
  4. Select a format.

    Refer to the table below for Microsoft Excel equivalents to Lotus 1-2-3 formats.

    You can create other fixed decimal number formats by editing the displayed format in the Code box or by typing an entirely new one.

  5. Click OK.

You use the same general procedure as described above to apply other types of formatting, using the other tabs in the Cells dialog box.

The following table lists Microsoft Excel equivalents to Lotus 1-2-3- formats, as shown on the Number tab in the Cells dialog box on the Format menu. The Microsoft Excel column indicates the category and selected options of the format.

Lotus 1-2-3

Microsoft Excel

Fixed

Number category, with default settings

Scientific

Scientific category, with default setting

Currency

Currency category, with the Use $ option turned off and the ($1,234.10) option selected in the Negative Numbers list

Comma

Number category, with the Use 1000 Separator (,) option selected

General

General category

+/-

No equivalent

Percent

Percentage category, with default setting

Date

Date category, with the 04-Mar-95 format selected in the Type list

Time

Time category, with the 1:30:55 PM format selected in the Type list

Text

You can choose to display either formulas or values for the entire worksheet, but not just in selected ranges. To display formulas or values, click Options on the Tools menu, click the View tab, and click the Formulas box in Window Options.

Hidden

Custom category, type ;;; in the Type edit box. Or use the Hide command on the Row submenu or Column submenu of the Format menu to hide entire rows or columns.

Reset

General

Translating Lotus 1-2-3 Formulas

Most Lotus 1-2-3 formulas and functions will convert to their Microsoft Excel equivalents when the worksheet is opened. If Microsoft Excel finds formulas that it cannot convert when you open a Lotus 1-2-3 worksheet, then only the resulting values will be present and the original formula will be lost. Microsoft Excel indicates this in two ways: first, a message that notifies the user that Excel cannot read the record appears when a formula is encountered that it cannot convert, and second, a cell note (and cell note indicator) appears in the cell, containing the message "Formula failed to convert."


Note For more information about converting formulas, see "Transition Formula Entry" and Transition Formula Evaluation" earlier in this chapter.


Nested Formulas

Perhaps the most common reason that the "Cannot read record" message appears when loading Lotus 1-2-3 files is that a formula in your Lotus 1-2-3 worksheet uses more than eight levels of nesting. To get around this, you can break the formula in sections of less than eight nested segments each before conversion. However, many such nested formulas exist in order to construct elaborate alternative calculations based on a range of current conditions, such as @IF statements. In this case, a better workaround is to create a formula using @VLOOKUP and refer to a table on the side. Then there is no nesting needed, and you end up with a more readable and structured formula.

For example, suppose that in one cell you have the following Lotus 1-2-3 formula that arrives at a value, based on the name of a month from January to September:

@IF(a1="Jan",12,@IF(a1="Feb",2,@IF(a1="Mar",4,@IF(a1="Apr",34,
@IF(a1="May",32,@IF(a1="Jun",8,@IF(a1="Jul",43,@IF(a1="Aug",3,
@IF(a1="Sep",67,0)))))))))

The above formula has eight levels of nesting. To fix the problem, rewrite the formula like this in Lotus 1-2-3:

@VLOOKUP(a1,table,1)

where table is a range name that refers to the following two-column table, located anywhere on the worksheet:

Jan        12
Feb        2
Mar        4
Apr        34
May        32
Jun        8
Jul        43
Aug        3
Sep        67

When you then load the file in Microsoft Excel, it will convert without problems, and the formula will work properly (the offset argument 1 will be automatically converted to 2, because Microsoft Excel starts counting at 1, not 0). Using a table in this way is not only easier to read than the original formula, but it is also easy to modify by changing or adding new values.

Lotus 1-2-3 Functions

Most Lotus 1-2-3 functions have an equivalent in Microsoft Excel. When Transition Formula Entry is activated, you can type most Lotus 1-2-3 functions directly into the formula bar, where they are automatically converted to their Microsoft Excel equivalents. The functions you cannot enter in this way are specific to Lotus 1-2-3 Release 3 and later. To turn on Transition Formula Entry, select the Transition tab of the Options command on the Tools menu. Then select the Transition Formula Entry check box under Sheet Options.

Microsoft Excel uses different rules than Lotus 1-2-3 does when evaluating text in formulas, certain database criteria, and the value of certain logical operators. When Transition Formula Evaluation is activated, some functions are interpreted as they would be in Lotus 1-2-3, and are listed in the following table. To turn on Transition Formula Evaluation, select the Transition tab in the Options dialog box. See also "Entering Lotus 1-2-3 Formulas," earlier in this chapter.

The following table is an alphabetic list of Lotus 1-2-3 functions that have Microsoft Excel equivalents. For a list of Microsoft Excel functions without Lotus 1-2-3 equivalents, see the following section.

Lotus 1-2-3 function

Microsoft Excel equivalent

Comments

@@

INDIRECT

@ABS

ABS

@ACOS

ACOS

@ASIN

ASIN

@ATAN

ATAN

@ATAN2

ATAN2

@AVG

AVERAGE

@CELL

CELL

@CELLPOINTER

CELL

When used without a second argument, returns information about the current selection.

@CHAR

CHAR

@CHOOSE

CHOOSE

@CLEAN

CLEAN

@CODE

CODE

@COLS

COLUMNS

@COS

COS

@COUNT

COUNTA

@CTERM

NPER

Requires periodic payment instead of future value.

@DATE

DATE

@DATEVALUE

DATEVALUE

@DAVG

DAVERAGE

@DAY

DAY

@D360

DAYS360

Lotus 1-2-3 Release 3 and later.

@DCOUNT

DCOUNTA

@DDB

DDB

@DGET

DGET

@DMAX

DMAX

@DMIN

DMIN

@DSTD

DSTDEVP

@DSTDS

DSTDEV

Lotus 1-2-3 Release 3 and later.

@DSUM

DSUM

@DVAR

DVARP

@DVARS

DVAR

Lotus 1-2-3 Release 3 and later.

@ERR

-

No equivalent is necessary, because Microsoft Excel lets you type error values directly into cells and formulas.

@EXACT

EXACT

@EXP

EXP

@FALSE

FALSE

@FIND

FIND

@FV

FV

@HLOOKUP

HLOOKUP

Turn on Transition Formula Evaluation to use the Lotus 1-2-3 evaluation rules.

@HOUR

HOUR

@IF

IF

Last two arguments can be any value, not just numbers or strings, as in @IF.

@INDEX

INDEX

Also has form for selecting values from an array.

@INT

TRUNC

@IRR

IRR

Arguments are given in reverse order.

@ISERR

ISERR

Detects any of six Microsoft Excel error values.

@ISNA

ISNA

@ISNUMBER

ISNONTEXT

@ISRANGE

ISREF

Lotus 1-2-3 Release 3 and later.

@ISSTRING

ISTEXT

@LEFT

LEFT

@LENGTH

LEN

@LN

LN

@LOWER

LOWER

@LOG

LOG

@MAX

MAX

@MID

MID

@MIN

MIN

@MINUTE

MINUTE

@MOD

MOD

Turn on Transition Formula Evaluation to use the Lotus 1-2-3 evaluation rules.

@MONTH

MONTH

@N

N

@NA

NA

@NOW

NOW

@NPV

NPV

@PI

PI

@PMT

PMT

Arguments are in different order than in @PMT.

@PROPER

PROPER

@PV

PV

Arguments are in different order than in @PV.

@RAND

RAND

Calculates values randomly each time it is recalculated (@RAND calculates the same values in each work session).

@RATE

RATE

Arguments are in different order than in @RATE.

@REPEAT

REPT

@REPLACE

REPLACE

@RIGHT

RIGHT

@ROUND

ROUND

@ROWS

ROWS

@S

T

@SECOND

SECOND

@SIN

SIN

@SLN

SLN

@SQRT

SQRT

@STD

STDEVP

@STDS

STDEV

Lotus 1-2-3 Release 3 and later.

@STRING

FIXED

@SUM

SUM

@SYD

SYD

@TAN

TAN

@TERM

NPER.

Arguments are in different order than in @TERM

@TIME

TIME

@TIMEVALUE

TIMEVALUE

@TODAY

TODAY

@TRIM

TRIM

@TRUE

TRUE

@UPPER

UPPER

@VALUE

VALUE

@VAR

VARP

@VARS

VAR

Lotus 1-2-3 Release 3 and later.

@VDB

VDB

@VLOOKUP

VLOOKUP

Turn on Transition Formula Evaluation to use the Lotus 1-2-3 evaluation rules.

@YEAR

YEAR

Excel Functions Without Lotus 1-2-3 Equivalents

Many Microsoft Excel functions are equivalent to Lotus 1-2-3 functions. However, The following Microsoft Excel functions have no equivalents in Lotus 1-2-3 Release 3.1 or earlier, or Lotus 1-2-3/W Release 1.0. Microsoft Excel also provides many add-in functions and statistical functions in the Analysis ToolPak that don't have Lotus 1-2-3 equivalents; these are not included in this list.

AREAS

MATCH

DOLLAR

MDETERM

DPRODUCT

MINVERSE

FACT

MIRR

FREQUENCY

MMULT

GROWTH

PPMT

INT

PRODUCT

IPMT

SEARCH

ISBLANK

SUBSTITUTE

ISERROR

TEXT

ISLOGICAL

TRANSPOSE

LINEST

TREND

LOGEST

TYPE

LOOKUP

WEEKDAY

WK3 Functions That Do Not Convert

A number of WK3 functions--nonaggregate functions that use 3-dimensional references--will not properly convert. An aggregate function is one that is always used with a range of values, such as SUM, AVERAGE, MIN, and MAX. A nonaggregate function is one that is not commonly used with a range of values. For example, the nonaggregate @INDEX function will not convert if it uses references that encompass more than one ply of a 3-dimensional worksheet. (It converts properly if no 3-dimensional reference is used.) Unsupported WK3 functions are shown in the following list.. These functions are unsupported when they include a 3-dimensional argument, so if a normal argument is used, it may work.

Nonaggregate Functions with 3-Dimensional References

@CELL

@IRR

@ROWS

@COLS

@ISRANGE

@S

@COORD

@N

@SHEETS

@INDEX

@NPV

@SUMPRODUCT

Other Functions That Present Conversion Problems

Microsoft Excel cannot convert formulas with more than one table argument using @DSUM, @DAVG, @DMIN, @DMAX, @DSTD, @DVAR, @DSTDS, or @DVARS. Other functions that present conversion problems include @DQUERY when using the DataLens add-in, and @CELLPOINTER, when using the sheet arguement.

Invalid Characters Converted to Underscores

Microsoft Excel converts invalid characters in names to the underscore character ( _ ) when reading Lotus 1-2-3 worksheets. Microsoft Excel notifies the user that Excel cannot read the record if two or more defined names on the worksheet contain special characters that cause them to resolve to the same name. Because Microsoft Excel doesn't allow all of the special characters in names that Lotus 1-2-3 does, names that contain different special characters but are otherwise identical will be converted to an identical name, resulting in an error. Besides letters and numbers, Microsoft Excel allows only underscore and backslash (\) characters to be used in names.

For example, if you have defined the names TOTAL$ and TOTAL# on a Lotus 1-2-3 worksheet and you open the worksheet in Microsoft Excel, both names will be converted to TOTAL_ (underscore). This results in two different ranges defined with the same name. You can work around this by checking for invalid characters in your Lotus 1-2-3 worksheets before converting them to Microsoft Excel.

Lotus 1-2-3 System Command

There is no direct equivalent for the Lotus 1-2-3 System command in Microsoft Excel, but you can activate MS-DOS from the Microsoft Windows Start menu (or the Windows NT Program Manager).

To activate MS-DOS

Lotus 1-2-3 Data Distribution Command

There is no equivalent command in Microsoft Excel for the Lotus 1-2-3 Data Distribution command. Instead, Microsoft Excel provides the FREQUENCY function, which calculates a data distribution. You can also choose the Data Analysis command on the Tools menu and select the Histogram tool to calculate frequencies for a range of data.


Note If the Data Analysis command does not appear on the Tools menu, you need to install the Analysis ToolPak add-in. To do so, click the Add-Ins command on the Tools menu, and then click the Analysis ToolPak option. If the Analysis ToolPak option does not appear in the Add-ins dialog box, you need to rerun Setup to install it. For information about Setup, see Chapter 8, "Installing Microsoft Office."


Lotus 1-2-3 Data Matrix Commands

The Microsoft Excel equivalents to the Data Matrix commands are array functions, rather than commands.

Lotus 1-2-3

Microsoft Excel function

Invert

MINVERSE

Multiply

MMULT

Lotus 1-2-3 Data Regression Commands

The Microsoft Excel equivalents to the Data Regression commands are array functions rather than commands and do not translate directly. Instead, Microsoft Excel includes the LINEST, TREND, LOGEST, and GROWTH functions for performing regression analysis.

You can also choose the Data Analysis command on the Tools menu and select the Regression tool to perform regression analysis.


Note If the Data Analysis command does not appear on the Tools menu, you need to install the Analysis ToolPak add-in. To do so, choose the Add-Ins command on the Tools menu and click the Analysis ToolPak option. If the Analysis ToolPak option does not appear in the Add-ins dialog box, you need to rerun Setup to install it. For information about Setup, see Chapter 8, "Installing Microsoft Office."


Getting Help About Microsoft Excel Functions

For details about Microsoft Excel functions, click the Function Wizard button on the Standard toolbar, select the function you want, and click the Help button. Functions are divided into categories in the Function Wizard dialog box. For example, the FREQUENCY, LINEST, LOGEST, GROWTH, and TREND functions are located in the Statistical category, while the MINVERSE and MMULT functions are located in the Math & Trig category. Help for the Analysis ToolPak is available by clicking the Help button in any Analysis ToolPak dialog box.

Mathematical Operator Evaluation in Lotus 1-2-3 and Microsoft Excel

The following table shows the mathematical operators used by Microsoft Excel and Lotus 1-2-3, in descending order of evaluation.

Lotus 1-2-3 order of operators

Microsoft Excel order of operators

^

AND, OR, NOT functions

+ or -- (unary)

+ or -- (unary)

* or /

^

+ or --

* or /

= < > <= >= <>

+ or --

#not# (unary)

&

#and# #or#

= < > <= >= <>

& (Release 2.0 or later only)

In Lotus 1-2-3, the exponentiation operator (^) is evaluated before the negation operator (--); in Microsoft Excel, negation is evaluated first. Thus, the formula

=--2^4

produces the value --16 in Lotus 1-2-3, and 16 in Microsoft Excel. To fix this, use parentheses to force the correct order of evaluation, for example:

=--(2^4)

Linking Lotus 1-2-3 Worksheets and Microsoft Excel Worksheets

You can use values from a Lotus 1-2-3 worksheet without exporting the worksheet to Microsoft Excel by linking cells. Then, when you change the date in the Lotus 1-2-3 worksheet, the Microsoft Excel worksheet is automatically updated. For example, you can link sales figures from various Lotus 1-2-3 worksheets to a single Microsoft Excel worksheet and then use the formatting and printing features of Microsoft Excel to create a summary report of sales.

To link from a Lotus 1-2-3 worksheet to a Microsoft Excel worksheet

  1. In Microsoft Excel, open both the Lotus 1-2-3 worksheet and the Microsoft Excel worksheet you want to link.
  2. Switch to the Lotus 1-2-3 worksheet (ALT, W, worksheet number.)
  3. Select the cell or range containing the data you want to link to the Microsoft Excel worksheet (SHIFT+arrow keys).
  4. On the Edit Menu or the shortcut menu, click Copy (ALT, E, C or CTRL+C).

    A moving border appears around the selected cell or range.

  5. Switch to the Microsoft Excel worksheet (ALT, W, worksheet number).
  6. Select the cell or the upper-left corner of the range that you want linked to the Lotus 1-2-3 worksheet (arrow keys).
  7. On the Edit menu, click Paste Special (ALT, E, S)
  8. Click the Paste Link button (ALT+L).

Microsoft Excel enters a formula in each cell that links the worksheets.


Note If the linked data from Lotus 1-2-3 is pasted into more than one cell, Microsoft Excel enters the formula that links the worksheets as an array formula. You cannot clear, delete, or move individual cells that contain an array formula. If you want to be able to edit individual cells, copy and link each cell individually.


You can link Microsoft Excel worksheets to files saved in any of the following Lotus 1-2-3 formats:

If you use Lotus 1-2-3 to edit a Lotus 1-2-3 worksheet linked to a Microsoft Excel worksheet, the linked cells are updated when you open the Microsoft Excel worksheet.

You can use the Links command on the Edit menu to open the Lotus 1-2-3 worksheet that contains the source data for the Microsoft Excel worksheet you're editing. You can also redirect links to refer to another worksheet.

Working with Charts

Microsoft Excel and Lotus 1-2-3 take different approaches to formatting charts. This section discusses Microsoft Excel equivalents for Lotus 1-2-3 chart Format commands.

Lotus 1-2-3 Graph Options Format Commands

The Lotus 1-2-3 Graph Options Format commands apply to line and xy (scatter charts only.

To format a line or xy (scatter) chart in Microsoft Excel

  1. Select a data series.
  2. On the Format menu, click Selected Series.
  3. Click the Patterns tab.
  4. Under Line, select a line style, color, and weight.

    If you don't want any lines, click the None option button.

  5. Under Marker, select a marker style, foreground color, and background color.

    If you don't want any markers, click the None option button.

Lotus 1-2-3 Graph Options Grid Commands

The Lotus 1-2-3 Graph Options Format commands apply to all graph types with axes.

To add and delete axes in a chart in Microsoft Excel

  1. On the Insert menu, click Axes.
  2. Turn axes off or on.

Lotus 1-2-3 Graph Type Commands

In Microsoft Excel, you change the chart (graph) type after you create the chart (graph). Use the Chart Type command on the Format menu when a chart window is active. It also offers additional chart types, such as 3-dimensional charts.

Lotus 1-2-3 Graph View Command

After you create a chart (graph) in Microsoft Excel, it remains visible on a worksheet as a embedded chart, or as a separate chart sheet in the workbook. Therefore, the procedure for creating a chart in Microsft Excel is the closest equivalent to the Lotus 1-2-3 Graph View command.

Lotus 1-2-3 Graph Options Color Command

There is no direct equivalent in Microsoft Excel for the Lotus 1-2-3 Graph Options Color command. However, you can change the color of individual chart items by clicking the chart item you want to format, clicking the Format menu and pointing to the Selected (Item) command on the Format menu. Note that the name of the command changes, depending on the chart item selected.

Lotus 1-2-3 Graph Options Scale Commands

This section discusses Microsoft Excel equivalents for the Scale commands in Lotus 1-2-3.

Auto

Microsoft Excel creates the scale automatically. If you designated any aspect of the scale as manual, you can return it to automatic by following these steps:

To set the axis scale to automatic

  1. Select the x (category) or y (value) axis.
  2. On the Format menu, click the Selected Axis command.
  3. Click the Scale tab.

    The options are different for the x-axis and the y-axis.

  4. Select the Auto check box for any option you want to return to automatic.
  5. Click OK.

Manual, Lower, Upper

To control the scale manually

  1. Click the x (category) or y (value) axis.
  2. On the Format menu, click the Selected Axis command.
  3. Click the Scale tab.

    The options are different for the x-axis and the y-axis.

  4. Change any options you want.

Format

To change the number format on the scale

  1. On the source worksheet, select the numbers you want to format.
  2. On the Format menu, click Cells.
  3. Click the Number tab.

    Select the number format you want to use on the chart.

  4. Click OK.

Indicator

To select or clear scale indicators

  1. Select the chart.
  2. On the Insert menu, click Axes.
  3. Select the Category (X) Axis or Value (Y) Axis check box.
  4. Click OK.

Working With Printers

This section describes the differences in printer setup and printing procedures between Lotus 1-2-3 and Microsoft Excel.

Lotus 1-2-3 Worksheet Global Default Printer Commands

Lotus 1-2-3

Microsoft Excel

Interface

Setting up a printer and port

Auto-LF

Not necessary; handled by printer driver

Left

File menu, Page Setup command

Right

File menu, Page Setup command

Top

File menu, Page Setup command

Bottom

File menu, Page Setup command

Pg-Length

File menu, Page Setup command

Wait

File menu, Page Setup command

Setup

Not necessary; handled by printer driver

Name

File menu, Page Setup command

Quit

ESC key

Lotus 1-2-3 Line Print Command

There is no command in Microsoft Excel that is equivalent to the Lotus 1-2-3 Line Print command. To provide the same functionality, Microsoft Excel includes a LINE.PRINT macro function that provides compatibility with Lotus 1-2-3. However, the LINE.PRINT macro function does not use the Microsoft Windows printer drivers. Unless you have a specific need for the LINE.PRINT macro function, use the Print command on the File menu or the PRINT function instead.


Note The LINE.PRINT macro function is only available from a Microsoft Excel 4.0 macro sheet. To insert one, choose the Macro command on the Insert menu, and click the MS Excel 4.0 Macro command.


The LINE.PRINT macro function has three forms:

Syntax 1: Go, Line, Page, Align, and Clear

LINE.PRINT(command, file, append)

Syntax 2: Worksheet settings

LINE.PRINT(command, setup_text, leftmarg, rightmarg, topmarg, botmarg, pglen, formatted)

Syntax 3: Global settings

LINE.PRINT(command, setup_text, leftmarg, rightmarg, topmarg, botmarg, pglen, wait, autolf, port, update)

The following macro formula prints the currently defined print area to the currently defined printer port:

LINE.PRINT(1)

Command

A number corresponding to the command you want LINE.PRINT to carry out. For syntax 2 of the LINE.PRINT function, the command argument must be 5. For syntax 3, the command argument must be 6.

Command

Command that is carried out

1

Go

2

Line

3

Page

4

Align

5

Worksheet settings

6

Global settings (saved in the Windows registry)

7

Clear (change to current global settings)

File

The name of a file to which you want to print. If omitted, Microsoft Excel prints to the printer port determined by the current global settings.

Append

A logical value specifying whether to append text to file. If TRUE, the file you are printing is appended to file; if FALSE or omitted, the file you are printing overwrites the contents of file.

Setup_text

Text that includes a printer initialization sequence or other control codes to prepare your printer for printing. If omitted, no setup text is used.

Leftmarg

The size of the left margin measured in characters from the left side of the page. If omitted, it is assumed to be 4.

Rightmarg

The size of the right margin measured in characters from the left side of the page. If omitted, it is assumed to be 76.

Topmarg

The size of the top margin measured in lines from the top of the page. If omitted, it is assumed to be 2.

Botmarg

The size of the bottom margin measured in lines from the bottom of the page. If omitted, it is assumed to be 2.

Pglen

The number of lines on one page. If omitted, it is assumed to be 66 (11 inches with 6 lines per inch). If you're using an HP LaserJet or compatible printer, set pglen to 60 (the printer reserves six lines).

Formatted

A logical value specifying whether to format the output. If TRUE or omitted, the output is formatted; if FALSE, it is not formatted.

Wait

A logical value specifying whether to wait after printing a page. If TRUE, Microsoft Excel waits; if FALSE or omitted, Microsoft Excel continues printing.

Autolf

A logical value specifying whether your printer has automatic line feeding. If TRUE, Microsoft Excel prints lines normally; if FALSE or omitted, Microsoft Excel sends an additional line feed character after printing each line.

Port

A number from 1 to 8 specifying which port to use when printing.

Port

Port used when printing

1 or omitted

LPT1

2

COM1

3

LPT2

4

COM2

5

LPT1

6

LPT2

7

LPT3

8

LPT4

Update

A logical value specifying whether to update and save global settings. If TRUE, the settings are saved in the Windows registry; if FALSE or omitted, the global settings are not saved.


Note The default values for print settings on your worksheet are determined by the current global settings.


Lotus 1-2-3 Print Printer Commands

Lotus 1-2-3

Microsoft Excel

Range

Use the Set Print Area button.

Line

Use the LINE.PRINT macro function.

Page

Not applicable in Microsoft Excel.

Options

Header

On the File menu, click Page Setup.

Footer

On the File menu, click Page Setup.

Margins

On the File menu, click Page Setup.

Borders

Use the Sheet tab of the Page Setup command, File menu.

Setup

Select cells, choose the Cells command from the Format menu, and choose the Font tab.

Pg-Length

On the File menu, click Page Setup.

Other

Worksheet is printed as displayed. To display values or formulas, select the View tab from the Tools menu, Options command. To add or remove headers and footers, choose Page Setup from the File menu. To add or remove page breaks, choose Set Page Break or Remove Page Break from the Insert menu.

Quit

Press ESC.

Clear

All

Reset individual settings.

Range

On the Insert menu, click the Name submenu, Define command and delete Print_Area.

Borders

On the Insert menu, click the Name submenu, Define command and delete Print_Titles.

Format

On the File menu, click Page Setup to reset margins. Page Length and Setup String are handled by the printer driver.

Align

Not applicable in Microsoft Excel.

Go

On the File menu, click Print.

Quit

Press ESC.

Lotus 1-2-3 Macros

Most Lotus 1-2-3 users are concerned with how Microsoft Excel works with the multitude of macros that they have invested their time in building over the years.

The Macro Interpreter

The Macro Interpreter for Lotus 1-2-3 Users will run your large Lotus 1-2-3 macro applications, including custom menus, without modification. With the Macro Interpreter, you can run 1-2-3 macros that are compatible with Lotus 1-2-3 Release 2.01.

To run a macro on a Lotus 1-2-3 worksheet, hold down the CTRL key and press the macro letter name that is normally used with the backslash (\) key to define the macro in Lotus 1-2-3. The name assigned to a macro in Lotus 1-2-3, such as \a, is defined in Microsoft Excel as a Lotus 1-2-3 macro name when you open a Lotus 1-2-3 worksheet in Microsoft Excel. You can run any macro that is assigned to a macro name consisting of a backslash (\) followed by a single letter. Microsoft Excel assigns a lowercase letter to each macro name. You can only run your existing Lotus 1-2-3 macros and cannot create new Lotus 1-2-3 macros in Microsoft Excel.


Note If you have any Lotus 1-2-3 macros on the Lotus 1-2-3 worksheet and you save the worksheet as a Microsoft Excel worksheet, you can continue to run the macros on the Microsoft Excel worksheet. Some commands, such as /File Combine, work only when applied to WK1 files.


Macros Created Using Lotus 1-2-3 Release 2.2

Microsoft Excel can run macros that contain any Lotus 1-2-3 Release 2.2 advanced macro commands, such as {BORDERSON}, {BORDERSOFF}, {FRAMEON}, {FRAMEOFF}, {GRAPHON}, and {GRAPHOFF}. Microsoft Excel also reads linking formulas created by Release 2.2. However, Microsoft Excel cannot run macros that use slash menu commands that are specific to Release 2.2.

Converting Lotus 1-2-3 Release 2.2 Macro Library Files

If you have Lotus 1-2-3 macros in 1-2-3 macro libraries (macros in Lotus 1-2-3 Release 2.2 MLB file format), convert the macro library files to a Lotus 1-2-3 WK1 format. Then open the worksheet in Microsoft Excel to run the macro.

Running Autoexec Macros

If you have a Lotus 1-2-3 autoexec macro (named \0) on your worksheet, the macro runs automatically when you open the worksheet in Microsoft Excel. To open a worksheet without running the autoexec macro, click the Open button or choose Open from the File menu, select the filename, and then hold down SHIFT and click OK. If you have both a Microsoft Excel name Auto_Open that refers to a macro sheet and a \0 macro on the same worksheet, the Auto_Open macro runs first, and then the \0 macro runs.

Lotus 1-2-3 Add-ins Are Not Supported

Be sure to remove any occurrence of keystrokes or command names that attach, start, or use a Lotus 1-2-3 add-in, such as the Allways add-in and its menu structure. For example, remove statements such as /a and {app1}.

1-2-3 Macros Cannot End in a Menu

When you run a Lotus 1-2-3 macro in Microsoft Excel, the Lotus 1-2-3 macro cannot end in a menu, such as the keystrokes /PP (Print Printer). If a macro does end in a menu, a message appears stating that macros cannot end in a menu. Then the macro terminates. The macro can, however, end in a prompt for more information, such as the keystrokes /PPR (Print Printer Range), so that you can specify the print range.

Getting Help Within Macro Prompts

When you run a Lotus 1-2-3 macro that contains a command for user input, such as /XN, /XL, {GETLABEL}, or {GETNUMBER}, Microsoft Excel displays a dialog box requesting user input. Enter the information and then click OK.

If a Lotus 1-2-3 macro contains custom menu commands, such as /XM, {MENUBRANCH}, or {MENUCALL}, a Menu dialog box appears displaying your menu choices.

To get Help with macro prompt dialog boxes, press F1.

Verifying Options Before Running 1-2-3 Macros

When you run a Lotus 1-2-3 macro, the Transition Formula Entry and Transition Navigation Keys options, on the Transition tab of the Options command on the Tools menu, are temporarily turned on and the Move Selection After Enter Check Box option on the Edit tab is temporarily turned off. However, Transition Formula Evaluation is not automatically turned on when you run a Lotus 1-2-3 macro. For more information, see "Transition Formula Entry" and "Transition Formula Evaluation," earlier in this chapter.

Adjusting Screen Size Before Running Lotus 1-2-3 Macros

For best visual results, you can maximize the Microsoft Excel window, as well as the active document window. Note that the {PGUP}, {PGDN}, {BIGRIGHT}, and {BIGLEFT} commands work with the current page size, not with the 20-row page size that is standard in Lotus 1-2-3.

Macros That Don't Need to Be Converted

Approximately half of all Lotus 1-2-3 macros do not need to be converted. They were built to aid the user with formatting or printing from Lotus 1-2-3 and are replaced by the standard features of Microsoft Excel. Some of the most common Lotus 1-2-3 macros and the features that replace them are in the table below.

Lotus 1-2-3 macro action

Use the Microsoft Excel feature

Inputs printer setup strings

Cells command, Font tab and Page Setup dialog box

Accepts dates, parses into YY,MM,DD, then re-enters with @Date and formats

Automatic date acceptance and formatting

Prompts to select ranges for chart data

ChartWizard button on the Standard toolbar

Formats anything quickly

Style command

Adjusts column width

Drag the heading separator bar, or double-click for best fit

Adjusts multiple column widths simultaneously

Drag across column headers, and then drag or double-click heading separator bar

Sums column or row

AutoSum button on the Standard toolbar

Aligns text with Range Label Align

Left, Right, or Center icons on the Formatting toolbar

Underlines

Cells command, Border and Font tabs

Shifts a block of cells

Drag-and-drop editing, or the Insert and Delete buttons or commands

Enters commonly used formulas

Workbook containing a Microsoft Excel Visual Basic module containing function procedures to share among users

Redefines and updates multiple data tables (Lotus 1-2-3 can have only one data table active at a time)

Multiple data tables available in worksheet without redefinition

Requests data by line item or builds a data entry form on the worksheet

Data Form command for data entry and editing that automatically creates a custom data form without macros

Changes to commonly used directories using the File Dir command because the File Dir command is a separate command from the File Retrieve

Folder changing and file opening all in the same dialog box

Splits horizontal or vertical windows

Drag window split bar

Inserts monthly, quarterly or weekly headers

Use the AutoFill feature by dragging the fill handle or by using the Fill commands

Macros That Don't Convert

The Macro Interpreter runs your Lotus 1-2-3 macros with a few exceptions:

When a macro does not run, a dialog box appears that identifies the cell address where the error occurred. It is a good idea to make a note of this cell reference. Also, the dialog box contains a Help button that you can use to see more information about possible causes of the error. If you have macros that call Lotus 1-2-3 add-ins, you will need to remove these macro statements from your Lotus 1-2-3 macros.

Calling Microsoft Excel Procedures from Lotus 1-2-3 Macros

Two Microsoft Excel macro commands allow you to call or branch to Visual Basic procedures or Microsoft Excel 4.0 macros written in Microsoft Excel from within a Lotus 1-2-3 macro: {XLCALL} and {XLBRANCH}. These functions take the form:

{XLCALL xl_name} 
{XLBRANCH xl_name}

Substitute the procedure name for the placeholder xl_name shown above. One use of these commands might be to replace calls to Lotus 1-2-3 add-ins with calls to Microsoft Excel add-ins or Visual Basic procedures. Using XLCALL, you can run a Microsoft Excel procedure, after which control returns to the Lotus 1-2-3 macro. Using XLBRANCH, Microsoft Excel takes over and control does not return to the original Lotus 1-2-3 macro.

With these two commands, you can rebuild part or all of complex Lotus 1-2-3 macro statements with more concise Visual Basic code; it is not necessary to rewrite the entire macro.

Erasing the Active Worksheet and Starting a New One

Microsoft Excel files are called workbooks, and each can contain multiple worksheets. You can have more than one workbook open at once, so you can keep the active workbook open while starting a new one. The following procedure corresponds to the Lotus 1-2-3 Worksheet Erase command, which removes the active worksheet from memory, but not from your disk, so you can start a new one.

To remove the active workbook from memory

  1. On the File menu, click Close.

    If you made unsaved changes to the active worksheet, a dialog box appears asking if you want to save your changes.

  2. To erase the active worksheet without saving changes, choose the No button.
  3. On the File menu, click New to open a new worksheet.
Document Contents

Borland Quattro Pro for MS-DOS Compatibility

Microsoft Excel for Windows 95 lets you use your existing Quattro Pro for MS-DOS files while taking advantage of the ease and power of Microsoft Excel. You can open Quattro Pro for MS-DOS files in Microsoft Excel and run Quattro Pro macros that are compatible with Lotus 1-2-3 release 2.01.

Opening Quattro Pro for MS-DOS Files in Microsoft Excel

To open Microsoft Excel worksheet files from Quattro Pro for MS-DOS

  1. On the File menu, click Open.
  2. In the Files Of Type box, select Quattro Pro/DOS.
  3. Select the Quattro Pro worksheet you want to open or type the complete filename in the File Name box.
  4. Click OK.

Microsoft Excel opens the worksheet. If for some reason Microsoft Excel cannot read a formula in the worksheet, it substitutes the value of the formula for the formula itself.

Running Quattro Pro for MS-DOS Macros in Microsoft Excel

Microsoft Excel for Windows runs Lotus 1-2-3 macros that are compatible with Lotus 1-2-3 Release 2.01. If your Quattro Pro for MS-DOS macro is compatible with Lotus 1-2-3 Release 2.01, then you can run it in Microsoft Excel. For more information, see the Lotus 1-2-3 macro information earlier in this chapter.

To run a Quattro Pro for MS-DOS macro

  1. On the File menu, click Open.
  2. In the Files Of Type box, select Quattro Pro.
  3. Select the Quattro Pro worksheet you want to open or type the complete filename in the File Name box.
  4. Click OK.
  5. On the Tools menu, click Macro.
  6. In the Macro Name/Reference box, type or select the name of the Quattro Pro macro you want to run.
  7. Click OK.
Document Contents

Borland Quattro Pro for Windows Compatibility

You can use Microsoft Excel with your existing Quattro Pro for Windows Notebooks by simply opening your Notebook in Microsoft Excel the same way you open any Microsoft Excel workbook -- using the Open button on the Standard toolbar, or the Open command on the File menu. When you finish editing the workbook, you can save it as either a Microsoft Excel workbook or a Quattro Pro for Windows Notebook.

Unsupported Borland Quattro Pro for Windows Version 5 Features

Features without direct equivalents in Microsoft Excel will not be imported.

Document Contents

Multiplan Compatibility

To transfer Multiplan files to Microsoft Excel, you must save the Multiplan worksheet in SYLK format.

To open a worksheet in Microsoft Excel that was created with Multiplan version 3.04 and earlier and saved in SYLK format:

  1. On the File menu, click Open.
  2. In the Files of Type list box, select SYLK Files.
  3. In the list box, locate and select the Multiplan worksheet.
  4. Click OK.

You can save your Microsoft Excel workbooks so that you can open them in Multiplan. When you do this, Microsoft Excel saves only the first worksheet in the workbook, so you'll need to save each sheet separately.

To save a Microsoft Excel workbook so you can open it in Multiplan version 3.04 and earlier

  1. On the File menu, click Save As.
  2. In the Save As Type list box, select SYLK (Symbolic Link).
  3. Click OK.

    A dialog box informs you that only the active sheet will be saved.

  4. Click OK.

Repeat this procedure for each sheet in the workbook you want to open in Multiplan.

To save a Microsoft Excel workbook so you can open it in Multiplan version 4.0 and later.

  1. On the File menu, click Save As.
  2. In the Save File As Type box, select Microsoft Excel 2.1 Worksheet.
  3. Click OK.

    A dialog box informs you that only the active sheet will be saved.

  4. Click OK.

Multiplan version 4.0 and later can open and save files in a Microsoft Excel file format.

Multiplan Format Options Command

Multiplan option

Microsoft Excel equivalent

Commas (Multiplan version 3.04 and earlier)

Format menu, Cells command, Number tab

Decimal separator (Multiplan version 4.0 and later)

Changing the decimal separator

Error messages (Multiplan version 4.0 and later)

No equivalent

Formulas

Tools menu, Options command, View tab()

Multiplan Function and Special Keys

Selecting and Carrying Out Commands

Multiplan key

Microsoft Excel command or action

F1, SEMICOLON (;) or CTRL+W

On the Window menu, select the number of he window you want

F2 or CTRL+F

With worksheet protection turned on, press TAB

SHIFT+F2 or CTRL+R, CTRL+F

With worksheet protection turned on, press SHIFT+TAB

F4 or EXCLAMATION POINT (!)

F9 or Tools menu, Options dialog box, Calculation tab, Calc Now button

F6 or COLON (:)

Extend the selection by dragging with the mouse

ALT+H or QUESTION MARK (?)

Help

Editing Cells and Commands

Multiplan key

Microsoft Excel command or action

F3 or @

Reference key

F5 or CTRL+V

Edit cells on macro sheet

SHIFT+F1, SHIFT+F6

On the Window menu, select the number of the window you want

SHIFT+F3, ARROW KEY or @),@,ARROW KEY

Insert menu, Function command

F3, ARROW KEY or @, ARROW KEY

Insert menu, Name submenu, Paste command

SHIFT+F5 or CTRL+T

Step Macro button

SHIFT+F6 or CTRL+R, CTRL+U

Recalculate links

SHIFT+F9 or SHIFT+F7 or CTRL+R, CTRL+R

Tools menu, Record Macro submenu, Record New Macro and Stop Recording command

SHIFT+F10 or CTRL+R, CTRL+P

Edit end

F7 or CTRL+O

Word left

F8 or CTRL+P

Word right

F9 or CTRL+K

Character left

F10 or CTRL+L

Character right

Multiplan Options Command

Multiplan option

Microsoft Excel equivalent

Recalc

Calculation tab (Options command, Tools menu)

Iteration

Calculation tab (Options command, Tools menu)

Test at

Calculation tab (Options command, Tools menu)

Alpha/value

You don't need to specify alpha or value; Microsoft Excel accepts any type of valid data in the selected cell.

Learn

Select all the cells in which you want to enter data. The ENTER, TAB, and arrow keys move the active cell within the selection.

Mute

In the Windows Control Panel, double-click the Sounds icon to manage the system sounds.

Old menus (Multiplan version 4.0 and later)

No equivalent

Hold Alpha (Multiplan version 4.0 and later)

You don't need to hold the Alpha command; Microsoft Excel is always ready to accept data in the selected cell.

Multiplan Print File Command

There is no procedure in Microsoft Excel for the Multiplan Print File command. For information about printing to a text file, see your Windows documentation.

Multiplan Print Options Command

Multiplan option

Microsoft Excel equivalent

Area

Set Print Area button

Setup (Multiplan version 3.04 and earlier)

File menu, Page Setup)

Formulas

Tools menu, Options command,View tab

Row-col numbers

File menu, Page Setup)

Printer (Multiplan version 4.0 and earlier)

File menu, Page Setup

Model (Multiplan version 4.0 and earlier)

File menu, Page Setup

Draft (Multiplan version 4.0 and earlier)

File menu, Print)

Number of copies (Multiplan version 4.2)

File menu, Print

Multiplan Run Command Command

There is no direct equivalent to the Multiplan Run Command command in Microsoft Excel, but you can activate an MS-DOS window by using the Microsoft Windows Start menu.

To activate an MS-DOS window

  1. Click the Windows Start button.
  2. On the Programs menu, click the MS-DOS Prompt command.

To return to Microsoft Excel

  1. Type exit
  2. Click the Microsoft Excel button on the Windows taskbar.

Multiplan Run Report Commands

Multiplan option

Microsoft Excel equivalent

Cross-ref

No direct equivalent. You can trace formula precedents and dependents using the Auditing commands on the Tools menu.

Names

To get a list of defined names in a worksheet, select an empty area of the worksheet, choose the Name command on the Insert menu, click Paste, and click the Paste List button.

Summary

No direct equivalent. This command prints a report of the conditions in a worksheet that are likely to cause errors. Use the Auditing commands on the Tools menu.

Multiplan Transfer Clear Window Command

There is no direct equivalent to the Multiplan Transfer Clear Window command in Microsoft Excel.

Document Contents

Microsoft Works Compatibility

Microsoft Excel lets you open files created with Microsoft Works 2.0. Now you can easily move up to Microsoft Excel or just use its analytical and presentation abilities to finish work you started in Microsoft Works.

To open Microsoft Works worksheet files in Microsoft Excel

  1. On the File menu, click Open.
  2. In the Files Of Type box, select Microsoft Works 2.0 Files.
  3. Select the Works worksheet you want to open or type the complete filename in the File Name box.
  4. Click OK.

Microsoft Excel opens the worksheet. If for some reason Microsoft Excel cannot read a formula in the worksheet, it substitutes the value of the formula for the formula itself.


Send us your comments

Copyright 1996 Microsoft Corporation

TechNet logoGo To TechNet Home Page

Microsoft logo Go To Microsoft Home Page