Your Office Suite should be your obedient slave. Any professional required to communicate with other professionals, and with the outside world, must be able to use these tools, and get whatever output they damn well please. This is not a comprehensive HOW-TO on office suites. It is a collection of hacks, that make these tools more productive. I am running GNU/Linux here at home and Libre Office as my office suite. As noted below, there are a whole bunch of office suites that work similarly. This is a generic article. The ideas presented are valid for users of Microsoft Office, and Calligra Suite.
With the advent of graphical user interfaces (GUIs), there are two kinds of word processor out there, WordPerfect, and Microsoft Word. WordPerfect does what word processor users think it is doing. You highlight text and hit a format key, and it gets formatted. You turn on some formatting button and you type. The formatting continues until you turn off that button.
Microsoft Word actually does not work this way, although this is how people use it. What Word really does is cool. Most formatting is attached to the paragraphs. There is a stylesheet embedded in the file. You can select styles from the stylesheet, and attach these to your paragraph. When you change the format of a particular style, all the paragraphs with that style, update. There are all sorts of word processors out there that work like Microsoft Word, including Libre and OpenOffice Writer, Calligra Words, the Applixware word processor, and Abiword.
There are no WordPerfect clones out there.
Load a word processor document, and click on a paragraph. You may have to open a new document and type in a few paragraphs, without formatting.
Look for
This may be under the or the menu. In Microsoft Word, the styles are displayed on the ribbon bar. In Libre Writer, select , then select . should be one of the menus on the right hand side of the screen, as shown to the right.Note the style highlighted in your menu, in this case
. There should be a button on the top left corner of your word processor, showing the same style.You can change the style of your paragraph by double-clicking in the style menu, or by pulling down the top-left button. Search the menu or ribbon bar for the style
and double-click on it. Your paragraph should switch to a large, bold font. Try some other styles and see what happens.Now, let's go back to . Double-click on it to set the paragraph style, then do a single right-click. Select . You should get a window like the one to the left. You can click on the image to see a larger one. You need to explore this and try stuff out. We will look at the interesting ones.
Click on Enter at paragraph end. Note how all the paragraphs in your document update when you change anything, and hit Apply.
. This window is self explanatory. You can indent either or both sides of your paragraph, and you can indent the first line. You can set the spacing between the paragraphs. There is no need ever again to insert an extraClick
. Again, this is self explanatory. Again, any changes you make are applied to all of your paragraphs update.Click
. There are a bunch of things you can do here, but two are interesting and very useful. I like the option . I keep my paragraphs fairly short, and I don't like it when they split at the end of the page. again allows you to control page breaks. For example, if your paragraph is a heading of some sort, you do not want a page break between it, and the next paragraph. Your line spacing is affected by fonts. These vary between versions of Microsoft Windows. They certainly vary between other operating systems like Mac or GNU/Linux, and different office suites.Do not use manual page breaks ever again!
does exactly what you think it does. Have fun!
is a rather complicated feature. Word processors allow you to insert a table of contents that has the right page numbers, and that updates when you modify your document. allows you to tag your paragraph to be included in the table of contents. The other thing you can do is automatically number your paragraphs. The best thing to do here is play with these features, and see what they can do.
Click on
. In Libre Writer, the style is named "Text Body". is an awesome resource. You have a root style. Your other styles cascade down from this, inheriting all the features you do not change. For example, you can bring up "Default Style", and set the font there. If you do not change any font families, you can control all the fonts in your document from the style "Default Style".Enter, and find yourself back in your paragraph style. If you want to write some sort of question and answer document like a FAQ, you can set your stylesheet to toggle between question and answer styles.
is also useful. If you create a heading style, you want to select the style, type in the heading, hitThe latest versions of Microsoft Office allow you to select from a series of style sheets. This affects font, colours, and the headings and footers. Very little of this cool formatting will be visible to users of Libre Writer and of older versions of Microsoft Word, but maybe you are not communicating with people like this! They still will see the standard headings.
Sharing files where you work should be fairly idiot resistant. Probably, you all are running the same OS and word processor. Things get complicated when you share files with people outside your organization. You need to understand everybody's lowest common denominator.
If you are part of a sports club, or you are doing volunteer work, or just communicating with friends, you are up against whatever computers your fellows are using. Most people at home do not fanatically update their computers. If it ain't broke, they don't fix it!
If your cool formatting really matters, save your file in Adobe Acrobat/Acroread (.PDF) format. PDF files store font definitions, and they preserve whatever format it is you have up on your screen. PDF used to be a good way to ensure your file was read‑only. There are all sorts of PDF editing tools out there that make this no longer true.
The basic functionality of a spreadsheet is to provide a table in which you input numbers and calculations. So far, so good. There are all sorts of things we can do with intelligent tables.
A popular criticism of spreadsheets is that the equations are gibberish.
The code
=b22*b23^3/3/b11/b21
is gibberish.
You can apply names to spreadsheet cells. In Libre Calc, you pull down
and select . In Gnumeric, pull down , select . and select . This brings up the "Define Names" window. In the window, click on the plus sign next to "Workbook". Type in your name. and select .Microsoft Excel is very friendly. Just right-click and select
. Excel will guess your intended name by searching the cells to the left or above your cell.
Now, your equation says
=Force*Length^3/3/Elasticity/Moment2ofArea
.
This is way more understandable.
Names can be applied to single cells.
They can be applied to ranges of cells.
They can be applied to absolute or relative cell references
($C$11
versus $C11
or C$11
).
Now that we understand cell names, let's use them.
When I do calculations, I reserve the last page of my spreadsheet
to units and conversions.
To the right, we see a screen shot of Gnumeric,
a small, Excel clone.
The highlighted cell has been named ft
.
The number in the cell is the conversion to the appropriate
MKS units, in this case, metres.
Note the top left-hand cell showing the cell name.
Also, note how I did not bother to read up on the conversion
from feet to metres.
Now, I can enter my values in whatever units I want,
and I can do conversions in the cell.
=22*ft+6.5*in
=255*mm
=25e3*lb/in^2
That last equation comes out in N/m2, or Pa. Now, we can see how the conversion is being done, and we are showing clearly what conversion we are doing!
We can create data tables. We can search for data in the tables. We can recover the data from the tables by specifying rows and columns.
Copy the table below, and paste it into a new page in your spreadsheet. This should work. If it doesn't, get a new spreadsheet.
Aluminium | Alloy | Su psi | Sus psi | Sy psi | Sn psi | @ cycles | E psi | G psi |
---|---|---|---|---|---|---|---|---|
3003-H14 | 22e3 | 14e3 | 21e3 | 9e3 | 5e8 | 10e6 | 3.85e6 | |
2014-T6 | 70e3 | 42e3 | 60e3 | 18e3 | 5e8 | 10.6e6 | 4.0e6 | |
2024-T4 | 68e3 | 41e3 | 47e3 | 20e3 | 5e8 | 10.6e6 | 4.0e6 | |
6061-T6 | 45e3 | 30e3 | 40e3 | 14e3 | 5e8 | 10e6 | 3.75e6 | |
7075-T6 | 82e3 | 48e3 | 72e3 | 23e3 | 5e8 | 10.4e6 | 3.9e6 | |
355-T6 | 35e3 | 28e3 | 25e3 | 9e3 | 5e8 | 10.3e6 | 3.85e6 | |
360 | 40e3 | 27e3 | 24e3 | 17e3 | 5e8 | 10.3e6 | 3.85e6 |
Now, you have a table of data in your spreadsheet. This comes from Design of Machine Elements by V.M. Faires, from Table AT3.
=OFFSET(Aluminium,2,4)
This should produce the result "60e3", or "60000". This is the ultimate shear stress for alloy 2014-T4. Change the 2,4 couple to some other numbers, and see what happens.
Command: =OFFSET(TopCorner,Row,Column)
You can select a row and a column, and grab the data. You can read the help files on OFFSET. It does quite a bit more stuff than is shown here.
You can search through rows or columns of data, and look for matches to your data.
=MATCH("6061-T6", Alloys, 0)
This should produce the result "4". The text "6061-T6" is the fourth cell of the series you highlighted and named. Note how it is the fourth line of the data table, and that you can feed this number into the OFFSET command, above.
Command: =MATCH(Text, DataSeries, 0)
Watch that last parameter "0"! This tells MATCH that you want an exact match. If you leave this blank, it behaves weirdly. Read up on this command if you want more information.
Rather than typing data into spreadsheets, you can create drop-down menus. Thank you Bernardo Tech on YouTube. I am using Libre Calc here. Microsoft Excel appears to have the same validation menu.
Let's start with the data tables we defined in the previous section.
We have defined the cell name Alloys
.
Click on the graphics above, to enlarge them.
=Alloys
.
In LibreOffice as shown, just type Alloys
.
What you need here is a range of cells.
You could have simply click on the cell range
with your list of aluminium alloys,
something like $Data.$C$10:$C$16
.
By naming this cell range, you have made everything meaningful.
Now we can create a material specification for a calculation,
with the material selectable from a pull-down menu.
The second window above shows a beam analysis.
The data cells are named BeamMatl
, BeamSu
,
BeamSus
, BeamSy
, etc., as shown.
Cell B3
is the pull-down menu.
Cell B6
shows the calculation needed
to find the yield stress for aluminium 6061‑T6.
Try setting this up.
When you were a kid, were you even allowed to say "concatenation"?
You can take data from several cells, or several operations, and concatenate the results. This is a useful resource for displaying results. It is even more useful when the spreadsheet data is exported to other applications. SolidWorks' design tables are Excel spreadsheets. This is a great way to set up BOM entries and other meta-data, in SolidWorks.
Screw Description | Size | TPI | Length |
---|---|---|---|
2 | 56 | 3/16 | |
2 | 56 | 1/4 | |
2 | 56 | 5/16 | |
4 | 40 | 1/4 | |
4 | 40 | 5/16 | |
4 | 40 | 3/8 |
You may not be able to copy and paste the table above. Some spreadsheets think they are clever, and they interpret the fractions as dates. Try typing the fractions in manually with a leading quote...
'3/16
Before we concatenate stuff, we will demonstrate a useful application of cell names.
$Sheet1.$D$6
changes to
$Sheet1.$D6
$Sheet1.$E6
.
$Sheet1.$F6
.
="CAP SCREW "&Size&"-"&TPI&"UNC X "&Length
and hit Enter.
You should now have a list of screw descriptions, controlled by the data columns along the row.
Note how the cell names are relative to to the line. You can just as easily make your cell names relative to the columns. This makes your table expressions way more meaningful.
Export to Microsoft .XLS format.
You need to work at the lowest common denominator. At work, probably you all are using the same version of spreadsheet, and you can get away with Microsoft .XLSX format. This advanced format may not be supported by older computers. It is too bad Open Document .ODF format is not better supported.
If your spreadsheet's formatting and fonts matter, save it in Adobe Acrobat/Acroread .PDF format.
If your spreadsheet must be intelligent and executable, create it and manage it as a .XLS file. An .XLSX or .ODS file can lose functionality when it is saved as .XLS. If you use all the cool new features in your applications, don't expect them to work on other computers. For security reasons, a lot of email programs do not allow attached spreadsheets to execute. You may have to advise your recipients to save the file and then load it with read/write permissions.
Again, do not use weird fonts.
Be very, very careful copying and pasting data from one spreadsheet to another. There are quite a few ways for a spreadsheet to manage external named cells. You may not notice the resulting weird results in time. Strongly consider copying, and then going
, and plain .