Skip to content

Getting Started

Tavis Ormandy edited this page Jun 13, 2022 · 51 revisions

This page is a quick start guide for using Lotus 1-2-3 on Linux.

Basics

The first thing you need to know is the 1-2-3 menu is opened with /.

If you ever change your mind or choose the wrong menu option, just press Esc to go back one level.

From the menu you can navigate with and , or just press the first letter of the option you want.

Tip: The 1-2-3 menu is what allows advanced users to work so efficiently. You can perform complex operations with just a few keystrokes! For example, you can insert a new column with just /wicEnter.

Getting Help

You can get help at any time by pressing the F1 key. This works in most places, and will give you relevant information.

Tip: If you're entering a formula and press F1, you will get a reminder about function parameters!

If you make a mistake, you can Undo your last change with Ctrl+F4.

Moving around

The current highlighted cell is called the cell pointer, you can move it around with ,,,.

If you want to move to the next empty cell, press End and then the direction. For example End .

To move between open sheets, use Ctrl+PgUp and Ctrl+PgDn. Your current sheet is displayed in the top left, highlighted in the screenshot below.

worksheet

Tip: If you want to add a new sheet use /Worksheet Insert Sheet.

Labels

A label is any text not being used in calculations, like notes and headings.

You can create or replace a label in the current cell just by typing some text and pressing Enter.

If you want to change the current cell rather than replace it, press F2.

Tip: Most editing commands (like and ) don't work while entering a label to make rapid data entry possible. If you do need to enable them, just press F2.

Formatting Labels

You can change how labels appear using the /Range Label menu, but it's much faster to use label prefixes. For example, if you wanted the word Heading to be centered, you would enter ^Heading.

Prefix Meaning
^ Centered
' Left justified
" Right justified text

Tip: If you're trying to make a border, use \- to fill the whole cell -- It works with any character!

Columns

If a column is too small, use /Worksheet Column Set-Width to adjust it. You can enter a width, or use and to adjust it interactively.

Tip: If a cell is too narrow to display the result of a calculation, Lotus will display it as *****. This is to make sure you don't see a truncated number and think it is the real result!

You can adjust the width of multiple columns simultaneously with /Worksheet Column Column-Range Set-Width.

columns

Column Freezing

If you want to lock a row or column in place while moving around, use the /Worksheet Titles menu. This is often called freezing.

Formulas

A value usually begins with numbers, +, - or @ and is used in calculations. It can also contain formulas or cell references. The primary difference between 1-2-3 formulas and any other spreadsheet you may have used is that formulas begin with @.

Here is a table of the most common functions, press F1 and select @Function Index for a complete list.

Name Description
@SUM Adds the values in list.
@AVG Averages the values in list.
@COUNT Counts the number of nonblank cells in list of ranges.
@FIND Calculates the position of the first occurrence search-string in string.
@HLOOKUP Finds the contents of the cell in a specified lookup table.

Tip: Can't remember a formula name? Press F3 to select from a list.

Formatting

There are many options for choosing how numbers are displayed (Currency, Scientific, Percentages, etc) and the level of precision you want. Select the format from the /Range Format menu.

Dates

The best way to enter dates in 1-2-3 is to use the @DATE function, the syntax is @DATE(Year, Month, Day). This will produce a date number, and you choose a formatting option in /Range Format Date.

dates

Tip: Want to create a heading for each month automatically? Use /Data Fill

Ranges

Many operations in 1-2-3 operate on a group of cells, such as calculating the sum or average. This group is called a range.

range

To enter a range interactively, start typing the formula you want to use, for example @SUM(. Now use the ,,, keys to move to the top left corner of the range. To tell 1-2-3 that you're selecting a range and not a single cell, press ..

Now move to the lower right corner of the range, and press Enter or ). 1-2-3 will update the formula entry automatically for you. You can also just enter the cell addresses if you know them!

Graphs

The original Lotus 1-2-3 for UNIX required an EGA or Hercules card to draw graphs, so we replaced it with a brand new implementation that draws graphs using ASCII art.

See Graphs for more information.

Files

You can open and save files from /File menu, Retrieve will open an existing file.

Tip: The default save location is configurable, you can change it with /Worksheet Global Default Dir.

Multiple Files

You can have multiple files open simultaneously using the /File Open menu. This is useful if you want to compare two worksheets.

For example, you might want to open jan_sales.wk3 and feb_sales.wk3 simultaneously to compare the figures.

To move between the sheets in open files, use Ctrl+PgUp and Ctrl+PgDn.

You can also see a list of open files with /File List Active.

Tip: If you have many sheets and want to jump to the next file immediately, hit Ctrl+End.

If you want to reference a range from another open file in a formula, use the syntax <<>>, for example @SUM(<<filename.wk3>>A:A1..B:2).

Windows

You can split the screen between multiple sheets or files, either Horizontally or Vertically.

The main benefit of using split windows rather than just opening two terminals is that 1-2-3 can synchronize your movement.

Perspective Mode

Perspective mode is a neat way to work with several sheets simultaneously.

perspectivesa

If you have multiple sheets or files open, try /Worksheet Window Perspective to enable it, and use Ctrl+PgUp and Ctrl+PgDn to move between them.

Macros

Lotus 1-2-3 supports keystroke macros, an easy way to automate repetitive tasks. As you navigate around worksheets and menus by pressing keys, you can save these keystrokes and play them back later.

Let's try a simple example, imagine that we want to duplicate a column of values.

Macro Example

The first step in creating a macro is to perform the operation you want to automate.

In this case, I want to copy some values, so I will enter the following keys:

  1. / C to select Copy from the menu.
  2. End Enter to select all cells to the next empty cell.
  3. Enter to copy them to the next column.

Here is how this should look.

copycol

Recording a macro

Lotus remembers the last few keystrokes you entered, and can recall them for you. Press Alt+F2 and Select Copy and Lotus will display the keystrokes it just saw.

Tip: In Lotus macros ~ means Enter, and the cursor keys are {U}, {D}, {L} and {R} for Up, Down, Left and Right.

Move the cursor to the first keystrokes you wanted to save, in our case / C, and press Tab.

Now move to the last keystroke we want to save, the ~ after the {R}, and press Enter. Lotus will prompt you to save your keystrokes some where. You can choose some empty space in your sheet for now.

savekeystokes

Tip: I like to keep my macros in a separate sheet to keep my worksheets neat.

Playing a macro

Now that you've saved your keystrokes, we need to play them back.

Lotus uses named ranges to save macros, so choose /Range Name Create and give your macro a name, perhaps DUPLICATE.

Select all the cells in your macro, and then press Enter.

Now move the cell pointer to the top of a column you want to copy, and press Alt+F3. Choose DUPLICATE from the menu, and the column should be duplicated!

duplicate

Macro Keys

Using the Run menu works for macros you don't use very often, but if you use them all the time you will want to use macro keys.

If you name your macro the special name, \A, the macro will be automatically run when you press Alt+A.

This works for any letter, you can bind up to 26 macros to keys, Alt+A - Alt+Z.

Autoexec macros

There is one more special macro name. If you name your macro \0, it is considered the AutoExec macro.

The AutoExec macro is automatically executed when you open your worksheet, it can perform tasks like update stock prices, for example.

Tip: AutoExec can be enabled or disabled from the /Worksheet Global Default Autoexec menu.

Scripting

Lotus macros can be extended beyond keystroke macros with branching logic, file I/O, external commands, interactive menus, and more. These features are beyond the scope of this introduction, but the full documentation is available here.

[^1]: Traditionally, Lotus uses Alt+F4 for Undo, but that can be hard to enter on modern systems.

Clone this wiki locally