# Patent

## Title
Drag and drop always sum formulas

## Abstract

Inserting a formula at a location on a content surface in a user interface is provided. A user interface showing a status bar which includes one or more predetermined calculations may be displayed on a computer. The computer may receive a selection of a predetermined calculation from the status bar in the user interface. The selected predetermined calculation may then be dragged from the status bar and inserted at a drop location on the content surface in the user interface. The computer may then automatically generate a formula corresponding to the selected predetermined calculation in the user interface.

## Background
COPYRIGHT NOTICE
A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
BACKGROUND
Computer productivity applications include functionality for users to enter formulas to perform calculations on data which may be displayed in a table created by a spreadsheet or word processing application. Generally, the task of entering or typing formulas is a difficult task for many users in that they have to learn all of the function names and a syntax for the typing in of formulas in an application. The aforementioned task is even more difficult on tablet or touch slate type devices because of the added difficulty of typing on virtual or on-screen keyboards. For example, on many tablet computing devices, users must change to different keyboard views to gain access between symbols (such as mathematical operators), numbers and text. It is with respect to these considerations and others that the various embodiments described herein have been made.
SUMMARY
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended as an aid in determining the scope of the claimed subject matter.
Embodiments are provided for inserting a formula at a location on a content surface in a user interface. A user interface showing a status bar which includes one or more predetermined calculations may be displayed on a computer. The computer may the receive a selection of a predetermined calculation from the status bar in the user interface. The selected predetermined calculation may then be dragged from the status bar and inserting at a drop location on the content surface in the user interface. The computer may then automatically generate a formula corresponding to the selected predetermined calculation in the user interface.
These and other features and advantages will be apparent from a reading of the following detailed description and a review of the associated drawings. It is to be understood that both the foregoing general description and the following detailed description are illustrative only and are not restrictive of the invention as claimed.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended as an aid in determining the scope of the claimed subject matter.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a computer screen display of a user interface showing a predetermined calculation being dragged from a status bar to a drop location on a content surface, in accordance with an embodiment;
FIG. 2 is a computer screen display of a user interface showing a formula which was generated following the dropping of a predetermined calculation at a drop location on a content surface, in accordance with an embodiment;
FIG. 3 is a computer screen display of a user interface showing a predetermined calculation being dragged from a status bar to a drop location on a content surface, in accordance with another embodiment;
FIG. 4 is a computer screen display of a user interface showing a descriptive label added to the display of a predetermined calculation at a drop location on a content surface, in accordance with an embodiment;
FIG. 5 is a flow diagram illustrating a routine for inserting a formula at a location on a content surface in a user interface, in accordance with an embodiment;
FIG. 6 is a simplified block diagram of a computing device with which various embodiments may be practiced;
FIG. 7A is a simplified block diagram of a mobile computing device with which various embodiments may be practiced;
FIG. 7B is a simplified block diagram of a mobile computing device with which various embodiments may be practiced; and
FIG. 8 is a simplified block diagram of a distributed computing system in which various embodiments may be practiced.



DETAILED DESCRIPTION
Embodiments are provided for inserting a formula at a location on a content surface in a user interface. A user interface showing a status bar which includes one or more predetermined calculations may be displayed on a computer. The computer may the receive a selection of a predetermined calculation from the status bar in the user interface. The selected predetermined calculation may then be dragged from the status bar and inserting at a drop location on the content surface in the user interface. The computer may then automatically generate a formula corresponding to the selected predetermined calculation in the user interface.
FIG. 1 is a computer screen display of a user interface 100 showing a predetermined calculation 120 being dragged from a status bar 117 to a drop location 155 on a content surface 105, in accordance with an embodiment. The user interface 100 may be generated by a productivity application executed by a computer. In accordance with an embodiment, the productivity application may include a client or web-based spreadsheet application such as the EXCEL spreadsheet software from MICROSOFT CORPORATION of Redmond Wash. It should be understood, however, that other spreadsheet applications from other manufacturers may be utilized in accordance with the various embodiments described herein. It should be appreciated by those skilled in the art that other productivity applications may also be utilized in accordance with the various embodiments described herein. The other productivity applications may include, but are not limited to, word processing software, presentation graphics software, diagramming software, project management software, publishing software and note-taking software. It should be appreciated that the aforementioned productivity applications may comprise individual application programs or alternatively, may be incorporated into a suite of productivity applications such as the OFFICE application program suite from MICROSOFT CORPORATION.
The content surface 105 in the user interface 100 may comprise a spreadsheet application worksheet (i.e., a spreadsheet) for displaying data values 115 which may be displayed in a column in the content surface 105. The status bar 117 may display a number of predetermined calculations which are automatically generated from commonly used formulas based upon the data values 115. In accordance with an embodiment, the productivity application utilized for generating the content surface 105 may further be configured to automatically generate predetermined calculations which may include, but are not limited to, Average 120, Count 125, Min 130, Sum 135, Max 137 and Numerical Count 139 on selected cells containing the data values 115 based on commonly used formulas, such as aggregate functions. For example, in response to a selection of the data values in the cells C3 through C8, the productivity application may automatically utilize formulas (i.e., aggregate functions) for calculating the average, count, min and sum of the selected data values and display the results in the status bar 117. It should be understood that other aggregate functions may also be utilized in accordance with the embodiments described herein. It should further be understood, that in accordance with an embodiment, the predetermined calculations may also be associated with formulas other than aggregate functions. For example, for a word processing document, the productivity application described herein may be configured to automatically utilize field codes (i.e., placeholders for data that might change in a document) instead of aggregate functions to automatically calculate dates and page numbers associated with document, for display in the status bar 117. Similarly, for a presentation document, the productivity application described herein may be configured to automatically utilize program instructions to automatically calculate slide numbers for slides comprising the presentation document, for display in the status bar 117. The status bar 117 may also display a Custom calculation 140 which may be the result of a user-created formula. For example, the Custom calculation 140 represents a sum of the data values 115 in the range of cells C3:C8 divided by 100. It should be understood that other custom calculations may also be defined without departing from the scope of the embodiments described herein such as converting feet to inches. In accordance with an embodiment, custom calculations may be created by typing a formula in a spreadsheet cell and dragging the formula to the status bar 117 such that any range of cells selected on a spreadsheet would be automatically calculated according to the user-created formula.
As briefly discussed above, the user interface 100 shows the predetermined calculation Average 120 being dragged from the status bar 117 to drop location 155 on the content surface 105. In accordance with an embodiment, the dragging of the predetermined calculation Average 120 from the status bar 117 may be initiated on a computing device in response to a user navigating pointer 145 to the predetermined calculation Average 120, using a computer input device (e.g., a mouse) to drag the predetermined calculation Average 120 onto the content surface 105 towards the drop location 155. In accordance with another embodiment, the dragging of the predetermined calculation Average 120 may be initiated by a user in response to a touch input on a touch-enabled computing device, such as a tablet or touch slate type device, by using a finger or stylus to drag the predetermined calculation Average 120 from the status bar 117 onto the content surface 105 towards the drop location 155. In accordance with yet another embodiment, the dragging of the predetermined calculation Average 120 may be initiated by a user in response to a touch input on a touch-enabled computing device, such as a tablet or touch slate type device, by tapping once (with a finger or stylus) on the predetermined calculation Average 120 to select it as a user interface element (e.g., a button) and then dragging the user interface element onto the content surface 105 towards the drop location 155. It should be understood that the examples discussed above may also be applied to the dragging and dropping of custom calculations such as the Custom calculation 140.
In accordance with an embodiment, the drop location 155 may comprise a user-determined cell in a spreadsheet for displaying predetermined or custom calculations dragged from the status bar 117. The user interface 100 further includes a formula bar 150 which may be utilized to display the formula corresponding to a predetermined or custom calculation after the predetermined or custom calculation has been dropped onto the drop location 155.
FIG. 2 is a computer screen display of the user interface 100 of FIG. 1 showing a formula 220 which was generated following the dropping of predetermined calculation 120 at the drop location on the content surface 105, in accordance with an embodiment. In accordance with the present embodiment, the productivity application may generate the formula 220 in the formula bar 150 following the dropping of a predetermined calculation such, as the predetermined calculation Average 120, on the content surface 105.
FIG. 3 is a computer screen display of a user interface 300 showing a predetermined calculation 320 being dragged from a status bar 317 to a drop location 355 on a content surface 305, in accordance with another embodiment. The user interface 300 may be generated by a productivity application executed by a computer and, as discussed above with respect to the user interface 100 of FIG. 1, may include a client or web-based spreadsheet application, word processing software, presentation graphics software, diagramming software, project management software, publishing software and note-taking software. It should be appreciated that the aforementioned productivity applications may comprise individual application programs or alternatively, may be incorporated into a suite of productivity applications.
The content surface 305 in the user interface 300 may comprise a spreadsheet application worksheet (i.e., a spreadsheet) for displaying data values 315 (i.e., Weight) which may be displayed as a column in table in the content surface 305. The status bar 317 may display a number of predetermined calculations which are automatically generated from commonly used formulas based upon the data values 315. In accordance with an embodiment, the productivity application utilized for generating the content surface 305 may further be configured to automatically generate predetermined calculations which may include, but are not limited, to Average 320, Count 330 and Sum 340, on selected cells (i.e., the cells E3 through E26) containing the data values 315.
As briefly discussed above, the user interface 300 shows the predetermined calculation Average 320 being dragged from the status bar 317 to drop location 355 on the content surface 305. In accordance with an embodiment, the dragging of the predetermined calculation Average 320 from the status bar 317 may be initiated on a computing device in response to a user navigating pointer 345 to the predetermined calculation Average 320, using a computer input device (e.g., a mouse) to drag the predetermined calculation Average 320 onto the content surface 305 towards the drop location 355. In accordance with another embodiment, the dragging of the predetermined calculation Average 320 may be initiated by a user in response to a touch input on a touch-enabled computing device, such as a tablet or touch slate type device, by using a finger or stylus to drag the predetermined calculation Average 320 from the status bar 317 onto the content surface 305 towards the drop location 355. In accordance with yet another embodiment, the dragging of the predetermined calculation Average 320 may be initiated by a user in response to a touch input on a touch-enabled computing device, such as a tablet or touch slate type device, by tapping once (with a finger or stylus) on the predetermined calculation Average 320 to select it as a user interface element (e.g., a button) and then dragging the user interface element onto the content surface 305 towards the drop location 355. In accordance with an embodiment, the drop location 355 may comprise a user-determined cell in a spreadsheet for displaying predetermined calculations dragged from the status bar 317.
FIG. 4 is a computer screen display of the user interface 300 showing a descriptive label 410 added to the display of a predetermined calculation at a drop location on the content surface 305, in accordance with an embodiment. In accordance with the present embodiment, the productivity application may automatically generate and display the descriptive label 410 “Average Weight” adjacent to the predetermined calculation Average 320representing the average weight of the selected range comprising the cells E2:E26 on the content surface 305. Thus, it should be appreciated that, in accordance with an embodiment, if a currently selected range is part of a well-defined construct, such as a column in a table, the productivity application may be configured to insert a label in a cell adjacent to the cell that a predetermined calculation was dragged to from the status bar. It should be understood, however, that the productivity application may also be configured even if a currently selected range is not part of a well-defined construct. For example, the productivity application may be configured to label a calculation as “Average,” even if the productivity application is unable to determine whether or not a currently selected range is part of a table or has a defined structure.
FIG. 5 is a flow diagram illustrating a routine 500 for inserting a formula at a location on a content surface in a user interface, in accordance with an embodiment. When reading the discussion of the routine presented herein, it should be appreciated that the logical operations of various embodiments are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logical circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the various embodiments. Accordingly, the logical operations illustrated in FIG. 5 and making up the various embodiments described herein are referred to variously as operations, structural devices, acts or modules. It will be recognized by one skilled in the art that these operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logical, and any combination thereof without deviating from the spirit and scope of the various embodiments as recited within the claims set forth herein.
The routine 500 begins at operation 505, where a computing device may be utilized to execute a productivity application for receiving, in a user interface, a selection of a range of values on a content surface. In accordance with an embodiment, a user may select the range by using a computer input device (e.g., a mouse) to manually select a range of values on the content surface (e.g., a range of cells in a spreadsheet) or, alternatively, the user may select the range through the use of touch input which may include using a finger to select the range of values displayed on a tablet or mobile slate computing device.
From operation 505, the routine 500 continues to operation 510, where the productivity application executing on the computing device may display predetermined calculations in a user interface status bar. In particular, the productivity application may be configured to display a status bar which includes one or more aggregate function results which may include, without limitation, an average, a count, a minimum, a maximum, a numerical count and a sum.
From operation 510, the routine 500 continues to optional operation 512, where the productivity application executing on the computing device may add one or more custom calculations to the status bar in the user interface. As discussed above with respect to FIG. 1, custom calculations may be the result of a user-created formula. In accordance with an embodiment, custom calculations may be created by typing a formula in the productivity application and then dragging the formula to the status bar such that any range of values selected on the content surface would be automatically calculated according to the user-created formula.
From operation 512, the routine 500 continues to operation 515, where the productivity application executing on the computing device may receive a selection of a predetermined calculation in the status bar. For example, the productivity application may receive the selection of a predetermined calculation result indicating the average of numerical values in a group of currently selected cells in a spreadsheet.
From operation 515, the routine 500 continues to operation 520, where the productivity application executing on the computing device may drag the selected predetermined calculation from the status bar. In particular, the productivity application, after receiving an input from a computer input device or a touch input, may drag the selected predetermined calculation from the status bar to a “drop location” (e.g., a user-determined cell in a spreadsheet).
From operation 520, the routine 500 continues to operation 525, where the productivity application executing on the computing device may insert the selected predetermined calculation at a drop location on the content surface in the user interface. For example, the selected predetermined calculation may be dropped into a predetermined (i.e., predetermined by the user) cell in a spreadsheet.
From operation 525, the routine 500 continues to operation 530, where the productivity application executing on the computing device may automatically generate a formula corresponding to the selected predetermined calculation in the user interface. For example, as discussed above with respect to FIG. 1, the productivity application may generate the formula in a formula bar in the user interface following the dropping of a predetermined calculation at the drop location on the content surface.
From operation 530, the routine 500 continues to operation 535, where the productivity application executing on the computing device may automatically insert a descriptive label in the content surface adjacent to the at least one predetermined calculation. For example, as discussed above with respect to FIG. 4, if a currently selected range on the content surface is part of a well-defined construct, such as a column in a table, the productivity application may be configured to insert a label in a cell adjacent to the cell that a predetermined calculation was dragged to from the status bar. From operation 535, the routine 500 then ends.
FIG. 6 is a block diagram illustrating example physical components of a computing device 600 with which various embodiments may be practiced. The computing device components described below may be suitable for the computing device described above with respect to FIG. 5. In a basic configuration, the computing device 600 may include at least one processing unit 602 and a system memory 604. Depending on the configuration and type of computing device, system memory 604 may comprise, but is not limited to, volatile (e.g. random access memory (RAM)), non-volatile (e.g. read-only memory (ROM)), flash memory, or any combination. System memory 604 may include an operating system 605 and productivity application 601. Operating system 605, for example, may be suitable for controlling computing device 600′s operation and, in accordance with an embodiment, may comprise the WINDOWS operating systems from MICROSOFT CORPORATION of Redmond, Wash. It should be understood that the embodiments described herein may also be practiced in conjunction with other operating systems and application programs and further, is not limited to any particular application or system.
The computing device 600 may have additional features or functionality. For example, the computing device 600 may also include additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 6 by a removable storage 609 and a non-removable storage 610.
While executing on the processing unit 602 of the computing device 600, the productivity application 601 may perform a routine for inserting a formula at a location on a content surface in a user interface including, for example, one or more of the operations in the routine 500 described above. The aforementioned routine is illustrative, and the processing unit 602 may perform other routines. Generally, consistent with various embodiments, program modules may be provided which include routines, programs, components, data structures, and other types of structures that may perform particular tasks or that may implement particular abstract data types. Moreover, various embodiments may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. Various embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
Furthermore, various embodiments may be practiced in an electrical circuit comprising discrete electronic elements, packaged or integrated electronic chips containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic elements or microprocessors. For example, various embodiments may be practiced via a system-on-a-chip (“SOC”) where each or many of the components illustrated in FIG. 6 may be integrated onto a single integrated circuit. Such an SOC device may include one or more processing units, graphics units, communications units, system virtualization units and various application functionality all of which are integrated (or “burned”) onto the chip substrate as a single integrated circuit. When operating via an SOC, the functionality, described herein, with respect to the productivity application 601 may operate via application-specific logic integrated with other components of the computing device/system 600 on the single integrated circuit (chip). Embodiments may also be practiced using other technologies capable of performing logical operations such as, for example, AND, OR, and NOT, including but not limited to mechanical, optical, fluidic, and quantum technologies. In addition, embodiments may be practiced within a general purpose computer or in any other circuits or systems.
Various embodiments, for example, may be implemented as a computer process (method), a computing system, or as an article of manufacture, such as a computer program product or computer readable media. The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for executing a computer process.
The term computer readable media as used herein may include computer storage media. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. The system memory 604, removable storage 609, and non-removable storage 610 are all computer storage media examples (i.e., memory storage.) Computer storage media may include, but is not limited to, RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store information and which can be accessed by the computing device 600. Any such computer storage media may be part of the computing device 600. The computing device 600 may also have input device(s) 612 such as a keyboard, a mouse, a pen, a sound input device, a touch input device, etc. Output device(s) 614 such as a display, speakers, a printer, etc. may also be included. The aforementioned devices are examples and others may be used.
The term computer readable media as used herein may also include communication media. Communication media may be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media. The term “modulated data signal” may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
FIGS. 7A and 7B illustrate a suitable mobile computing environment, for example, a mobile computing device 750, a smartphone, a tablet personal computer, a laptop computer, and the like, with which various embodiments may be practiced. With reference to FIG. 7A, an example mobile computing device 750 for implementing the embodiments is illustrated. In a basic configuration, mobile computing device 750 is a handheld computer having both input elements and output elements. Input elements may include touch screen display 725 and input buttons 710 that allow the user to enter information into mobile computing device 750. Mobile computing device 750 may also incorporate an optional side input element 720 allowing further user input. Optional side input element 720 may be a rotary switch, a button, or any other type of manual input element. In alternative embodiments, mobile computing device 750 may incorporate more or less input elements. For example, display 725 may not be a touch screen in some embodiments. In yet another alternative embodiment, the mobile computing device is a portable phone system, such as a cellular phone having display 725 and input buttons 710. Mobile computing device 750 may also include an optional keypad 705. Optional keypad 705 may be a physical keypad or a “soft” keypad generated on the touch screen display.
Mobile computing device 750 incorporates output elements, such as display 725, which can display a graphical user interface (GUI). Other output elements include speaker 730 and LED light 726. Additionally, mobile computing device 750 may incorporate a vibration module (not shown), which causes mobile computing device 750 to vibrate to notify the user of an event. In yet another embodiment, mobile computing device 750 may incorporate a headphone jack (not shown) for providing another means of providing output signals.
Although described herein in combination with mobile computing device 750, in alternative embodiments may be used in combination with any number of computer systems, such as in desktop environments, laptop or notebook computer systems, multiprocessor systems, micro-processor based or programmable consumer electronics, network PCs, mini computers, main frame computers and the like. Various embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network in a distributed computing environment; programs may be located in both local and remote memory storage devices. To summarize, any computer system having a plurality of environment sensors, a plurality of output elements to provide notifications to a user and a plurality of notification event types may incorporate the various embodiments described herein.
FIG. 7B is a block diagram illustrating components of a mobile computing device used in one embodiment, such as the mobile computing device 750 shown in FIG. 7A. That is, mobile computing device 750 can incorporate a system 702 to implement some embodiments. For example, system 702 can be used in implementing a “smart phone” that can run one or more applications similar to those of a desktop or notebook computer such as, for example, the productivity application discussed above with respect to FIGS. 1-6 as well as other applications. In some embodiments, the system 702 is integrated as a computing device, such as an integrated personal digital assistant (PDA) and wireless phone.
A productivity application 767 may be loaded into memory 762 and run on or in association with an operating system 764. The spreadsheet application 767 may be perform a routine for inserting a formula at a location on a content surface in a user interface including, for example, one or more of the operations in routine 500 described above. The system 702 also includes non-volatile storage 768 within memory the 762. Non-volatile storage 768 may be used to store persistent information that should not be lost if system 702 is powered down. The productivity application 767 may use and store information in the non-volatile storage 768. A synchronization application (not shown) also resides on system 702 and is programmed to interact with a corresponding synchronization application resident on a host computer to keep the information stored in the non-volatile storage 768 synchronized with corresponding information stored at the host computer. As should be appreciated, other applications may also be loaded into the memory 762 and run on the mobile computing device 750.
The system 702 has a power supply 770, which may be implemented as one or more batteries. The power supply 770 might further include an external power source, such as an AC adapter or a powered docking cradle that supplements or recharges the batteries.
The system 702 may also include a radio 772 that performs the function of transmitting and receiving radio frequency communications. The radio 772 facilitates wireless connectivity between the system 702 and the “outside world,” via a communications carrier or service provider. Transmissions to and from the radio 772 are conducted under control of OS 764. In other words, communications received by the radio 772 may be disseminated to the productivity application 767 via OS 764, and vice versa.
The radio 772 allows the system 702 to communicate with other computing devices, such as over a network. The radio 772 is one example of communication media. The embodiment of the system 702 is shown with two types of notification output devices: an LED 780 that can be used to provide visual notifications and an audio interface 774 that can be used with speaker 730 to provide audio notifications. These devices may be directly coupled to the power supply 770 so that when activated, they remain on for a duration dictated by the notification mechanism even though processor 760 and other components might shut down for conserving battery power. The LED 780 may be programmed to remain on indefinitely until the user takes action to indicate the powered-on status of the device. The audio interface 774 is used to provide audible signals to and receive audible signals from the user. For example, in addition to being coupled to speaker 730, the audio interface 774 may also be coupled to a microphone (not shown) to receive audible input, such as to facilitate a telephone conversation. In accordance with embodiments, the microphone may also serve as an audio sensor to facilitate control of notifications. The system 702 may further include a video interface 776 that enables an operation of on-board camera 730 to record still images, video stream, and the like.
A mobile computing device implementing the system 702 may have additional features or functionality. For example, the device may also include additional data storage devices (removable and/or non-removable) such as, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 7B by storage 768.
Data/information generated or captured by the mobile computing device 750 and stored via the system 702 may be stored locally on the mobile computing device 750, as described above, or the data may be stored on any number of storage media that may be accessed by the device via the radio 772 or via a wired connection between the mobile computing device 750 and a separate computing device associated with the mobile computing device 750, for example, a server computer in a distributed computing network such as the Internet. As should be appreciated such data/information may be accessed via the mobile computing device 750 via the radio 772 or via a distributed computing network. Similarly, such data/information may be readily transferred between computing devices for storage and use according to well-known data/information transfer and storage means, including electronic mail and collaborative data/information sharing systems.
FIG. 8 is a simplified block diagram of a distributed computing system in which various embodiments may be practiced. The distributed computing system may include number of client devices such as a computing device 805, a tablet computing device 803 and a mobile computing device 810. The client devices 805, 803 and 810 may be in communication with a distributed computing network 815 (e.g., the Internet). A server 820 is in communication with the client devices 805, 803 and 810 over the network 815. The server 820 may store productivity application 800 which may be utilized to perform a routine for inserting a formula at a location on a content surface in a user interface including, for example, one or more of the operations in routine 500 described above. The productivity application 800 on the server 820 may be utilized by the client devices 805, 803 and 810 (over the network 815) to generate electronic documents and for storing same in a store 816.
Various embodiments are described above with reference to block diagrams and/or operational illustrations of methods, systems, and computer program products. The functions/acts noted in the blocks may occur out of the order as shown in any flow diagram. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
While certain embodiments have been described, other embodiments may exist. Furthermore, although various embodiments have been described as being associated with data stored in memory and other storage mediums, data can also be stored on or read from other types of computer-readable media, such as secondary storage devices (i.e., hard disks, floppy disks, or a CD-ROM), a carrier wave from the Internet, or other forms of RAM or ROM. Further, the disclosed routines' operations may be modified in any manner, including by reordering operations and/or inserting or operations, without departing from the embodiments described herein.
It will be apparent to those skilled in the art that various modifications or variations may be made without departing from the scope or spirit of the embodiments described herein. Other embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments described herein.

## Claims

1. A computer-implemented method for inserting a formula at a location on a content surface in a user interface, comprising:
displaying in the user interface, by a computer, a status bar comprising calculation icons, the calculation icons being automatically generated based on selected data values displayed on the content surface in the user interface;
adding a custom calculation to the status bar in the user interface,
wherein the calculation icons include the custom calculation and at least one predetermined calculation;
receiving in the user interface, by the computer, a selection of one of the calculation icons in the status bar;
dragging in the user interface, by the computer, the selected calculation icon from the status bar;
inserting in the user interface, by the computer, the selected calculation icon at a drop location on the content surface;
automatically generating in the user interface, by the computer, a formula corresponding to the selected calculation icon; and
after inserting the selected calculation icon at the drop location on the content surface, displaying the formula corresponding to the selected calculation icon in a formula bar, the formula bar being displayed on the content surface.

2. The method of claim 1, further comprising receiving, in the user interface, the selection of a range of values on the content surface prior to displaying in the user interface, by the computer, the status bar comprising the calculation icons.

3. The method of claim 1, further comprising automatically inserting a descriptive label in the content surface adjacent to each of the calculation icons.

4. The method of claim 1, wherein adding the custom calculation to the status bar in the user interface comprises dragging a custom formula to the status bar.

5. The method of claim 1, wherein displaying in the user interface, by the computer, the status bar comprising the calculation icons comprises displaying at least one aggregate function result.

6. The method of claim 5, wherein displaying the at least one function result another cell at least one aggregate function result comprises displaying the at least one aggregate function result selected from a group comprising: an average, a count, a minimum, a maximum, a numerical count and a sum.

7. The method of claim 1, wherein inserting in the user interface, by the computer, the selected calculation icon at the drop location on the content surface comprises inserting the selected calculation icon into a cell in a spreadsheet.

8. The method of claim 1, wherein the selection of the at least one calculation is a selection of the custom calculation.

9. A computer system for inserting a formula at a location on a content surface in a user interface, comprising:
a memory for storing executable program code; and
a processor, functionally coupled to the memory, the processor being responsive to computer-executable instructions contained in the program code and operative to:
receive, in the user interface, a selection of a range of values on the content surface;
display, in the user interface a status bar comprising at least one calculation, the at least one calculation being automatically generated based on the selected range of values displayed on the content surface in the user interface;
adding a custom calculation to the status bar in the user interface, wherein the at least one calculation includes the custom calculation;
receive, in the user interface a selection of the at least one calculation in the status bar;
drag, in the user interface, the selected at least one calculation from the status bar;
insert, in the user interface, the selected at least one calculation at a drop location on the content surface;
automatically generate, in the user interface, a formula corresponding to the selected at least one calculation; and
after inserting the selected at least one calculation at the drop location on the content surface, display the formula corresponding to the at least one calculation in a formula bar, the formula bar being displayed on the content surface.

10. The system of claim 9, wherein the processor is further operative to automatically insert, in the user interface, a descriptive label in the content surface adjacent to the at least one calculation.

11. The system of claim 9, wherein the processor, in adding the custom calculation to the status bar in the user interface, is further operative to drag a custom formula to the status bar.

12. The system of claim 9, wherein the at least one calculation comprises at least one aggregate function result.

13. The system of claim 12, wherein the at least one aggregate function result comprises at least one function result selected from a group comprising: an average, a count, a minimum, a maximum, a numerical count and a sum.

14. The system of claim 9, wherein the content surface comprises a spreadsheet.

15. The system of claim 14, wherein the drop location comprises a cell in the spreadsheet.

16. The system of claim 9, wherein the selection of the at least one calculation in the status bar is a selection of the custom calculation.

17. A memory comprising computer executable instructions which, when executed by a computer comprising a processor, will cause the computer to perform a method for inserting a formula in a cell in a spreadsheet, comprising:
receiving, in a user interface, a selection of a range of cells in the spreadsheet, the range of cells comprising a plurality of values;
displaying, in the user interface, a status bar comprising at least one aggregate function result, the at least one aggregate function result being automatically generated based on the selected range of cells in the spreadsheet;
adding at a custom calculation to the status bar in the user interface, wherein the at least one aggregate function result includes the custom calculation;
receiving, in the user interface, a selection of the at least one aggregate function result in the status bar;
dragging, in the user interface, the selected at least one aggregate function result from the status bar;
dropping, in the user interface, the selected at least one aggregate function result in the cell in the spreadsheet;
automatically generating, in the user interface, a formula corresponding to the selected at least one aggregate function result;
after inserting the selected at least one aggregate function result in the cell in the spreadsheet, displaying the formula corresponding to the at least one aggregate function result in a formula bar, the formula bar being displayed in the; and
automatically inserting, in the user interface, a descriptive label in computer executable instructions at least one function result another cell adjacent to the cell in which the formula corresponding to the selected at least one aggregate function result was generated.

18. The memory of claim 17, wherein adding the custom calculation to the status bar in the user interface comprises dragging a custom formula to the status bar.

19. The memory of claim 17, wherein displaying, in the user interface, at least one aggregate function result comprises displaying at least one predetermined function result selected from a group comprising: an average, a count, a minimum, a maximum, a numerical count and a sum.

20. The memory of claim 17, wherein the selection of the at least one aggregate function result in the status bar is a selection of the custom calculation.