Sorting Records
- What is Calc
- Parts of the main Calc window
- Open and Save CSV files
- Navigating within spreadsheets
- Selecting items in a sheet or a spreadsheet
- Working with Columns and Rows
- Working with Sheets
- Viewing Calc
- Entering data using the keyboard
- Speeding up data entry
- Validating cell contents
- Editing data
- Formatting data
- Auto-formatting cells and sheets
- Formatting spreadsheets using themes
- Using conditional formatting
- Hiding and showing data
- Sorting records
- Using formulas and functions
- Analyzing data
- Printing from Calc
Sorting Records
Sorting arranges the visible cells on the sheet. In Calc, you can sort by up to three criteria, which are applied one after another. Sorts are handy when you are searching for a particular item, and become even more powerful after you have filtered data.
In addition, sorting is often useful when you add new information. When a list is long, it is usually easier to add new information at the bottom of the sheet, rather than adding rows in the proper places. After you have added information, you can then sort it to update the sheet.
Highlight the cells to be sorted, then select Data → Sort to open the Sort dialog (or click the Sort Ascending or Sort Descending toolbar buttons). Using the dialog, you can sort the selected cells using up to three columns, in either ascending (A-Z, 1-9) or descending (Z-A, 9-1) order.
On the Options tab of the Sort dialog, you can choose the following options:
Case-sensitive
If two entries are otherwise identical, one with an upper case letter is placed before one with a lower case letter in the same position.
Range contains column labels
Does not include the column heading in the sort.
Include formats
A cell's formatting is moved with its contents. If formatting is used to distinguish different types of cells, then use this option.
Copy sort results to
Sets a spreadsheet address to which to copy the sort results. If a range is specified that does not have the necessary number of cells, then cells are added. If a range contains cells that already have content, then the sort fails.
Custom sort order
Select the box, then choose one of the sort orders defined in Tools → Options → OpenOffice Calc → Sort Lists from the drop-down list.
Direction
Sets whether rows or columns are sorted. The default is to sort by rows.
Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY). |