Copy-paste triggered formula generation
Abstract
A system includes an interface configured to receive a paste-to data cell. The system includes a processor configured to: determine whether there is an exact match key for a copy-from data set; in response to there not being the exact match key for the copy-from data set, determine whether there is a smart formula for the copy-from data set; and in response to there being the smart formula for the copy-from data set, provide the smart formula for the copy-from data set to a formula cell. The system includes a memory coupled to the processor and configured to provide the processor with instructions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 0.
Claims (15 — 3 Independent, 12 Dependent)
- Claim 1Independent Claim
A system, comprising: an interface configured to: copy a text string value of a first cell of a paste-from data set into a first cell of a paste-to data set, wherein: the paste-from data set and the paste-to data set are arranged in rows and columns; a portion of the paste-to data set in a same row and to the left of the first cell of the paste-to data set is related to the first cell of the paste-to data set; and a portion of the paste-from data set in the same row as the first cell of the paste-from data set is related to the first cell of the paste-from data set; and a processor configured to: determine whether there is an exact text string match between any cell value from the portion of the paste-from data set and any cell value from the portion of the paste-to data set; in response to a determination that there is not an exact text string match: select a selected cell of the portion of the paste-from data set, wherein the selected cell comprises a second text string value; determine a lexicon from the portion of the paste-to data set; and determine whether there is an efficient formula for the selected cell, wherein the efficient formula generates the second text string value using the lexicon; and in response to a determination that there is the efficient formula, provide the efficient formula to a formula cell of the paste-to data set; and a memory coupled to the processor and configured to provide the processor with instructions.
- Claim 2Depends on #1
The system of claim 1, wherein the processor is further configured to determine a set of first keys from the paste-from data set, wherein the set of first keys is associated with the selected cell.
- Claim 3Depends on #2
The system of claim 2, wherein the set of first keys is mapped to the paste-from data set.
- Claim 4Depends on #2
The system of claim 2, wherein a set of second keys is determined from the paste-to data set, wherein the set of second keys is associated with the formula cell.
- Claim 5Depends on #4
The system of claim 4, wherein the processor is further configured to return data values from the paste-from data set to the paste-to data set.
- Claim 6Depends on #5
The system of claim 5, wherein each data value returned is mapped to a first key of the set of first keys and a second key of the set of second keys.
- Claim 7Depends on #1
The system of claim 1, wherein the processor is further configured to determine a smart lookup formula using the efficient formula.
- Claim 8Depends on #1
The system of claim 1, wherein the processor is further configured to determine a score for the efficient formula.
- Claim 9Depends on #8
The system of claim 8, wherein the processor is further configured to track the score and the efficient formula.
- Claim 10Depends on #8
The system of claim 8, wherein the processor is further configured to determine whether the score is below a threshold.
- Claim 11Depends on #10
The system of claim 10, wherein the processor is further configured to in response to determining that the score is below the threshold, provide the efficient formula with a lowest score to the formula cell.
- Claim 12Depends on #10
The system of claim 10, wherein the processor is further configured to in response to determining that the score is not below the threshold, provide an error message.
- Claim 13Depends on #1
The system of claim 1, wherein the processor is further configured to in response to a determination that there is an exact string match, determine a set of first keys from the paste-from data set, wherein the set of first keys is associated with the any cell value from the portion of the paste-from data set.
- Claim 14Independent Claim
A method, comprising: copying a text string value of a first cell of a paste-from data set into a first cell of a paste-to data set, wherein: the paste-from data set and the paste-to data set are arranged in rows and columns; a portion of the paste-to data set in a same row and to the left of the first cell of the paste-to data set is related to the first cell of the paste-to data set; and a portion of the paste-from data set in the same row as the first cell of the paste-from data set is related to the first cell of the paste-from data set; determining whether there is an exact text string match between any cell value from the portion of the paste-from data set and any cell value from the portion of the paste-to data set; and in response to a determination that there is not an exact text string match: selecting a selected cell of the portion of the paste-from data set, wherein the selected cell comprises a second text string value; determining a lexicon from the portion of the paste-to data set; determining whether there is an efficient formula for the selected cell, wherein the efficient formula generates the second text string value using the lexicon; and in response a determination that there is the efficient formula, providing the efficient formula to a formula cell of the paste-to data set.
- Claim 15Independent Claim
A computer program product embodied in a non-transitory computer readable medium and comprising computer instructions for: copying a text string value of a first cell of a paste-from data set into a first cell of a paste-to data set, wherein: the paste-from data set and the paste-to data set are arranged in rows and columns; a portion of the paste-to data set in a same row and to the left of the first cell of the paste-to data set is related to the first cell of the paste-to data set; and a portion of the paste-from data set in the same row as the first cell of the paste-from data set is related to the first cell of the paste-from data set; determining whether there is an exact text string match between any cell value from the portion of the paste-from data set and any cell value from the portion of the paste-to data set; and in response to a determination that there is not an exact text string match: selecting a selected cell of the portion of the paste-from data set, wherein the selected cell comprises a second text string value; determining a lexicon from the portion of the paste-to data set; determining whether there is an efficient formula for the selected cell, wherein the efficient formula generates the second text string value using the lexicon; and in response a determination that there is the efficient formula, providing the efficient formula to a formula cell of the paste-to data set.
Technical Overview & Description
BACKGROUND OF THE INVENTION Software, and software systems in the form of cloud-based services, have product features for the user that automatically populate an empty target data field based on data that follows a pattern, based on source data in other data cells, and/or based on formulas (e.g., as typed into a spreadsheet data cell). However, this creates a problem when source data is modified within a database because these auto-populate features do not automatically adjust to the edited data as the systems are only active when initially populating fields. BRIEF DESCRIPTION OF THE DRAWINGS Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings. FIG. 1 is a block diagram illustrating an embodiment of a system for providing formula suggestions. FIG. 2 is a flow diagram illustrating an embodiment of a process for providing an efficient formula. FIG. 3 is a flow diagram illustrating an embodiment of a process for providing a first formula vocabulary. FIG. 4 is a flow diagram illustrating an embodiment of a process for providing a second formula vocabulary. FIG. 5 is a flow diagram illustrating an embodiment of a process for providing a lexicon. FIGS. 6 A and 6 B are a flow diagram illustrating an embodiment of a process for generating an efficient formula. FIG. 7 A is a block diagram illustrating an example data set. FIG. 7 B is a block diagram illustrating an example code set. FIG. 8 A is a block diagram illustrating an example data set with an example user input string. FIG. 8 B
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (32)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Zhongjun Jin, Michael R. Anderson, Michael Cafarella, and H. V. Jagadish. 2017. Foofah: Transforming Data By Example. In Proceedings of the 2017 ACM International Conference on Management of Data (SIGMOD '17). (Year: 2017).
- Harris, W.R.,
- &
- Gulwani, S. (2011). Spreadsheet table transformations from examples. ACM-SIGPLAN Symposium on Programming Language Design and Implementation. (Year: 2011).
- Ives, Z.G., Knoblock, C.A., Minton, S., Jacob, M., Talukdar, P.P., Tuchinda, R., Ambite, J., Muslea, M.,
- &
- Gazen, C. (2009). Interactive Data Integration through Smart Copy
- &
- Paste. ArXiv, abs/0909.1769. (Year: 2009).
- Walkenbach, J.,