1. A method of generating a spreadsheet function, comprising: receiving an electronic spreadsheet document; displaying a first content item in the electronic spreadsheet document; receiving a selection on the first content item, followed by a movement of a representation of the first content item to a formula bar associated with the electronic spreadsheet document; displaying a cell reference in the formula bar, the cell reference being a cell reference corresponding to a location of the first content item in the electronic spreadsheet document; and automatically displaying one or more spreadsheet function syntax components in the formula bar in association with the cell reference for building a spreadsheet function for operation on the first content item.