If you manage spreadsheets, formatting can make your life much easier. LibreOffice offers various ways to format your spreadsheets, which includes doing it manually or using the autoformatting tool. You might think the formatting options in autoformatting are rather limited. If so, you can create custom formatting that can be added to the autoformatting tool to make LibreOffice Calc even more user friendly and flexible.
I'll walk you through the process of formatting and autoformatting a LibreOffice Calc document. Then, I'll cover how to add your own formatting to the autoformatting tool, as well as how to use themes. In order to follow along, you'll need the latest version of LibreOffice and possess a basic understanding of spreadsheets.
If you already know how to format a spreadsheet, skip to the next section.
Once your spreadsheet is laid out, you want to look at it in terms of elements. You can break down your spreadsheet in terms of columns, rows, and blocks of similar data.Let's say you have five columns of data: Mon, Tues, Wed, Thurs, Fri. If you fill these columns with data, that data become difficult to read when it's basically a block of white. You can separate the columns by giving every other column a different background color (Figure A). Figure A
With and without formatting on a simple block of data.
To make the format changes you see in Figure A, follow these steps:
- Enter your data.
- Select a section of data to format (a row, a column, or a group of related cells).
- Right-click the section.
- Select Format Cells.
- From the formatting window, format it to your preference.
- Click the OK button.
Repeat these steps until you have everything formatted exactly how you want. Keep in mind that too much formatting can be worse than too little formatting.
If you don't want to deal with formatting your spreadsheet one block of data at a time, you can use autoformatting. Autoformatting uses predefined formatting rules that enable you to create your data and then quickly and easily format the data with a simple tool.
To use the autoformatting tool, your data must meet these minimum requirements (otherwise, you'll need to revisit your spreadsheet's design):
- Three columns
- Three rows
- Column headers
- Row headers
Here's how to format with autoformatting:
- Create your data (remembering the minimum requirements above).
- Select all of the cells you want to autoformat.
- Go to Format | AutoFormat.
- From the new window select the Format style you want to use.
- Click the OK button. Your data should instantly be formatted and look much more presentable.
If you look through the selections and don't find a formatting option that you like, follow these steps to add to the tool:
- Create your data.
- Use the autoformatting tool and select the formatting that is close to what you want.
- Use the cell formatting to modify the format to exactly fit your needs.
- Go to Formatting | AutoFormat.
- Click the Add button.
- Give your new format a unique name.
- Click OK.
You see two custom formats: BOOKS and BOOKS2. (Click the image to enlarge.)
ThemesIf the autoformatting tool doesn't do the trick or you simply don't want to spend time customizing it, you can use the built-in themes for spreadsheets. Note: Themes cannot be edited in any way; also, you cannot add themes to LibreOffice Calc.
To use a theme, follow these steps:
- Go to View | Toolbars | Tools.
- From the new toolbar (Figure C) click the Themes button.
- From the resulting pop-up, select the theme you want to use.
- Click the OK button.
The new theme should be immediately applied to your spreadsheet. (Click the image to enlarge.)
Jack Wallen is an award-winning writer for TechRepublic and Linux.com. He’s an avid promoter of open source and the voice of The Android Expert. For more news about Jack Wallen, visit his website jackwallen.com.