Patent ID: 7882426

Claim:
A method for use with a computer, the method being for programming conditional execution of program statements in an electronic spreadsheet having a plurality of cells, the method comprising: associating program statements with respective cells of the plurality of cells; associating a conditional cell execution wrapper with each cell, the conditional cell execution wrapper programmably controlling whether the cell will execute upon execution of the electronic spreadsheet; selecting, via a computer screen interface, at least one cell from among the plurality of cells; and entering, via a computer screen interface, a programmable logical switch expression into the conditional cell execution wrapper associated with the selected at least one cell, an evaluation of the programmable logical switch expression programmably controlling, upon execution of the electronic spreadsheet, the execution and non-execution of a corresponding one of the program statements associated with the selected at least one cell; wherein the programmable logical switch expression is supplemental to the corresponding one of the program statements, and wherein the programmable logical switch expression is built in the electronic spreadsheet.