
Spreadsheets often contain long formulas, especially for science and engineering, and often the intermediate calculations require range checking, for example to check for a divide by zero.
Multi formula spreadsheet cells simplify and reduce the size of a spreadsheet by enabling the user to enter multiple formulas in one cell and using the result of earlier formulas in subsequent formulas, rather than having to use multiple cells.
Using multiple cells obviously clutters the spreadsheet and if the formula needs to be evaluated in multiple cells it is tedious to update all the occurrences, and error prone. Repeating the same formula in the same cell reduces the clutter of multiple cells but doesn't reduce the risk of not all the occurrences being updated, plus deeply nested spreadsheet formulas are difficult to write and maintain. For both options if the cell or cells, is or are copied and pasted then multiple cell references may need to be updated. This can be very tricky for cells where the formula is repeated.
Debugging a cell with a large formula and or repeated formula is very time consuming. To find the error in the formula or the data often requires the cell to be copied and pasted into multiple cells so that it can be broken down and then each of the copies has to be edited so that it evaluates a small part of the original formula. Often the pasting will generate errors due to changes in the references.
In a multi formula cell, rather than have one long formula, may be with repeated formulas, the user can split the formula in to functional groups based on function or the need to reuse and each formula in the cell is evaluated and the user is able to see the result, enabling easier debugging of complex formulas.
The primary motivation for multi formula spreadsheet cells is to simplify cell formulas and spreadsheets. Many equations in engineering and science are large. Engineering equations often split these into groups to simplify the equation, for example, the value for the inside heat transfer coefficient of a tube, (when there is no phase change) can be found from,
The example below shows how the formula could be evaluated by calculating Re, Pr and Nu in individual cells, cells B10, B11, B12 and in a single cell, C14. Evaluating the formula using separate cells increases the size of the spreadsheet making it harder to identify the result. Cell C14 shows how complex the equation is if it is evaluated within a single cell.
Below is how the formula could be calculated in a spreadsheet that has multi formula cells and shows how both the spreadsheet and the cell formula are simplified and easier to read.
The ability to assign references and formulas to variables makes the purpose of the cell's calculation much easier to understand, for example it is much easier to work out the intent of the following formula
When working with a long and complex formula it is very easy to make a mistake when entering it. One way to debug the formula is to copy it and paste it into multiple cells and edit each cell so it performs a component of the complete equation. This can be especially tedious if there are no empty cells nearby, and once the problem has been found, then the original formula has to be edited to correct it and there is no guarantee that the edit will be correct.
A multi formula cell allows the formula to be split without having to find cells to use. And once the formula is debugged the debugged formula is used, the location of the error in the original formula doesn't have to be located and the correct change applied.
If you want to use the same equation in both the evaluation statement of a conditional function and the result, with current spreadsheets you have to repeat the formula every time it is needed, which makes the overall function longer and harder to read and understand and much more difficult to correctly update if the formula needs to be corrected and, or modified.
The example below is from a spreadsheet cell that indicates if the expected date has changed since the previous month. In a current spreadsheet the formula is,
In a spreadsheet with multi formula cells the above formula can be written as
In the formula in the first example, the cells B4, B5 and B7 are used multiple times, if the equation is copied and pasted then both occurrences will need to be updated, even if the cell references are updated graphically by dragging the reference rather than editing the formula box.
The example below shows that assigning a cell reference to a variable not only makes the formula easier to understand, but means that if the formula is pasted and the locations of the data are different, then each reference only needs to be updated once.

It is good programming practice to only calculate a value in a single location within a program so that if the formula is updated it only has to be done so once.
With multi formula spreadsheet cells providing the ability to calculate a number of variables, but with only one formula being the cell's value, i.e. the value that will be displayed in the cell and used by any formulas that reference the cell; the spreadsheet provides a "dot variable" functionality that enables the user to access variables calculated in the cell, by specifying the cell address, immediately followed by a dot and the variable name. For example, from the examples above, B10.Re, B10.Pr etc. or cell.area (from the example formula for calculating the volume of a number of tubes).
Cells accessing the variables within a multi formula cell wouldn't need to be multi formula cells themselves. Any cell type that references a variable that is not created in a multi formula cell would generate a reference error, e.g. #Ref! in Excel and LibreOffice Calc.
When using a spreadsheet to perform calculations, for example sizing equipment, estimating the cost of a project, etc. using a standard spreadsheet enables continuous improvement of the spreadsheet by adding functionality and fixing errors. Frustration occurs when after making a number of improvements to the latest version of the spreadsheet a custom formula or value is needed for the new version.
Multi formula cells allow the user to keep the normal formula in the cell while providing the ability to use a custom formula and a means to document what is happening.
There are many ways that the user can add a custom formula;
Similarly, if we want to maintain a revision history of the cell's formula we can use same techniques to comment on the formula's revision history and or use variable names to identify the revision number of each formula in the cell.
Although not intrinsic to the implementation of multi formula spreadsheet cells, the multi formula cell editing dialog box makes it possible to display the evaluated formulas and the values of referenced cells contained in each formula. The formula evaluation would be displayed in an additional column to the right of the formula as shown following;