Difference between revisions of "Documentation/OOo3 User Guides/Calc Guide/Sorting records"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: {{DISPLAYTITLE:Sorting records}} {{Documentation/CG3Ch2TOC |ShowPrevNext=block |PrevPage=Documentation/OOo3_User_Guides/Calc Guide/Hiding and showing data |NextPage=Documentation/OOo3_User...)
 
m
Line 3: Line 3:
 
|ShowPrevNext=block
 
|ShowPrevNext=block
 
|PrevPage=Documentation/OOo3_User_Guides/Calc Guide/Hiding and showing data
 
|PrevPage=Documentation/OOo3_User_Guides/Calc Guide/Hiding and showing data
|NextPage=Documentation/OOo3_User_Guides/Calc Guide/Functions and formulas
+
|NextPage=Documentation/OOo3_User_Guides/Calc Guide/Functions and Formulas
 
}}
 
}}
 
Sorting arranges the visible cells on the sheet. In Calc, you can sort by up to three criteria, with each criterion applied one after the other. Sorts are handy when you are searching for a particular item, and become even more powerful after you have filtered data.
 
Sorting arranges the visible cells on the sheet. In Calc, you can sort by up to three criteria, with each criterion applied one after the other. Sorts are handy when you are searching for a particular item, and become even more powerful after you have filtered data.
Line 11: Line 11:
 
You can sort by highlighting the cells to be sorted, then selecting '''Data > Sort'''. The selected cells can be sorted by the order of information in up to three columns or rows, in either ascending (A-Z, 1-9) or descending (Z-A, 9-1) order.
 
You can sort by highlighting the cells to be sorted, then selecting '''Data > Sort'''. The selected cells can be sorted by the order of information in up to three columns or rows, in either ascending (A-Z, 1-9) or descending (Z-A, 9-1) order.
  
[[Image:CG3Ch2F23.png|thumb|none|500px|''Choosing the criteria and order of sorting'']]
+
[[Image:CG3Ch2F23.png|thumb|none|600px|''Choosing the criteria and order of sorting'']]
  
 
On the ''Options'' tab of the Sort dialog, you can choose the following options:
 
On the ''Options'' tab of the Sort dialog, you can choose the following options:
Line 39: Line 39:
 
Sets whether rows or columns are sorted. The default is to sort by columns unless the selected cells are in a single column.
 
Sets whether rows or columns are sorted. The default is to sort by columns unless the selected cells are in a single column.
  
[[Image:CG3Ch2F24.png|thumb|none|500px|''Options for sorting'']]
+
[[Image:CG3Ch2F24.png|thumb|none|600px|''Options for sorting'']]
  
  
 
{{CCBY}}
 
{{CCBY}}
 
[[Category: Calc Guide (Documentation)]]
 
[[Category: Calc Guide (Documentation)]]

Revision as of 22:22, 27 February 2009



Sorting arranges the visible cells on the sheet. In Calc, you can sort by up to three criteria, with each criterion applied one after the other. 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.

You can sort by highlighting the cells to be sorted, then selecting Data > Sort. The selected cells can be sorted by the order of information in up to three columns or rows, in either ascending (A-Z, 1-9) or descending (Z-A, 9-1) order.

Choosing the criteria and order of sorting

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 > Spreadsheet > Sort Lists from the drop-down list.

Direction

Sets whether rows or columns are sorted. The default is to sort by columns unless the selected cells are in a single column.

Options for sorting


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools