Cell attributes

Each cell in the worksheet can be blank or have some content (text, number). It can also have its own formatting elements. The CELL function allows you to read the attributes of a cell, however it is not nearly as powerful as the old GET.CELL macro function. In the following text, you will learn how to read cell attributes.

Styles

Excel styles are a useful way to define certain features of cell content formatting and give them a name, so that we can later use them more easily to format similar tables. For example, a style with the title “Header” can be used to format the headers of all the tables we make. Once saved style can be applied multiple times, and the subsequent change of style automatically changes and the formatting characteristics of all the cells in which the style is applied.

Absolute and relative cell address

Each cell in the table has an address that consists of the name of the row and column in the cross section of which it is located. However, sometimes it is necessary to indicate both a worksheet or a workbook (document), it belongs so that we could use it as an operand in some form. Below it will be the address of the cell address that uniquely determines where it is located.

Quick formatting shortcuts

In everyday work, we often enter numbers, and then we format the way they are displayed within the cell. This is usually done by activating the Format Cells option, from the Home ribbon or by using the CTRL + 1 shortcut, and then choosing some of the cell content display options that are integrated into the Number tab. But since in practice we are dealing with just a few formats of a number record, it is much more useful to use shortcuts to quickly format content.

Formatting cell content

In addition to content, each cell is characterized by a format that aims to highlight some of its features. For example, the header of the table should be in some way highlighted, with any different font, font style or a different background color; rows could also be colored with different colors, for better visibility; numbers may have a number of decimals … The text that follows will describe ways to format the contents of a cell.