Existing spreadsheet applications allow at most one header row and one header column to be associated with a group or table of cells, wherein values of the header cells may be employed to reference one or more associated cells.
In existing spreadsheet applications, a header cell always refers to a single corresponding body row or body column. A header cell refers to a single body row or body column even if it is merged with a neighboring header cell. In
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
As used herein, the term “cell” refers to a cell associated with at least standard spreadsheet functionality. The term “at least standard spreadsheet functionality” in the context of a cell includes the ability to define the content of one cell in such a way that the content of the one cell is determined based at least in part on the content of one or more other cells, and the content of the one cell is updated automatically without further human action if the content of one or more of the one or more other cells is changed. As used herein, the term “host cell” refers to a cell in a formula editing mode, i.e., a cell into which a formula is being entered. In some embodiments, cells in a spreadsheet application are organized into one or more individual tables or table objects, each of which includes a desired number of rows and columns of cells. In such cases, a sheet or canvas of a spreadsheet document may include a desired number of table objects as well as any desired number of other objects such as charts, graphs, images, etc. Although in some of the examples described herein the cells of a spreadsheet application are organized into such table objects, the techniques described herein may be similarly employed with respect to other cell configurations or organizations, such as the (seemingly) infinite single grid or table of cells in each sheet of some typical spreadsheet applications that includes an unlimited (or very large) number of rows and columns of cells. Although many of the examples provided herein are with respect to a spreadsheet application, the techniques described herein may be similarly employed with respect to any application, spreadsheet or otherwise.
As disclosed herein, a group or table of cells may include one or more header levels in one or more dimensions. Multiple adjacent header cells in a given header level may be merged together to group a table in a desired manner. As disclosed herein, in some embodiments, a merged header cell is used to refer to all body rows or body columns spanned by the merged header cell. In such cases, for example, the merged header cell “Apple Orange” in
One or more header cell values of the various header levels may be used to refer to the body cells of the table. For example, “North America” refers to the first four body columns, “Asia Distribution” refers to the last two body columns, “North America Marketing 2004” refers to the second body column, “Cinemaniac” refers to the first two body rows, “Jay Capella DVD” refers to the last body row, “Asia Distribution 2004 Cinemaniac Internet” refers to the body cell with a value of 16, “Cinemaniac Asia” refers to the first two rows of the last four body columns in the table, etc. In some embodiments, header cell values may be specified in any order in a reference. For example, “Cinemaniac Distribution Asia Internet 2004” and “Asia Distribution 2004 Cinemaniac Internet” refer to the same body cell, “DVD Jay Capella” and “Jay Capella DVD” refer to the same body row, etc.
In some embodiments, higher level header cells must be specified when referencing lower level divisions of the table. In such cases, for example, “Marketing” is not a valid reference and needs to be disambiguated as “North America Marketing” or “Asia Marketing”. In alternative embodiments, higher level header cells need not be specified when referencing lower level divisions of the table. In such cases, for example, “Marketing” may be a valid reference and refer to the first and second body columns and/or the fifth and sixth body columns in various embodiments.
As is apparent from some of the given examples, cell references comprising header cell values provide meaningful descriptions of the data that is being referred to, e.g., if the header cell values are appropriately selected, with multiple header levels allowing more specific descriptions. Cell references specified by header cell values may be employed in any appropriate context such as in formulas, data source definitions, etc.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.