A computer readable medium for processing a named range defined by a cell address range in a spreadsheet comprising a plurality of cells identified in each dimension by an address, each dimension comprising two directions, said computer readable medium comprising:
- computer readable means for defining an open named range by specifying to the named range at least one open direction;
- computer readable means for defining a hidden named range with the cell address range of the open named range expanded by one address in every direction specified as open;
- in response to a user action, computer readable means for selecting at least one direction;
- in response to a user action, computer readable means for increasing the cell address range of the hidden named range by inserting between two consecutive cell addresses, a new address in selected directions;
- and
- in response to a user action, computer readable means for updating the open named range with the cell address range of the hidden named range shortened by one address in every direction specified as open.