Lesson 4
15 min
Number formats, fonts, borders and colors for readable tables.
Definition
Cell formatting refers to all the visual settings applied to a cell or a range of cells in a spreadsheet: number format, font, colors, borders, alignment, width and height. It only changes theappearance of the data, never its content or the value actually stored, and is used to make a table more readable, clearer and more professional.
A table of raw data, even a correct one, is often hard to read.Formatting (colors, borders, number formats) makes a table immediately understandable, highlights the important information, and gives your work a professional look. A good habit: think of formatting as a communication tool, not just decoration. Every color or style should help the reader understand faster, never distract them.
Imagine two tables containing exactly the same figures: in the first, everything is displayed haphazardly, with no thousands separator, with different decimals from one row to the next and no distinct header. In the second, the headers are bold, the amounts are aligned with their currency symbol, and the total row clearly stands out. The second one can be read in a few seconds, while the first takes concentration. That effort is precisely what formatting spares you, and everyone who will read your document.
Formatting also plays a role in preventing mistakes: a number displayed with the right number of decimals, a date in the right format or a clearly labeled column reduce misunderstandings and misinterpretations, especially when the file is shared with other people or opened several months later.

An essential point to understand well: the number format never changes the value actually stored in the cell, only its display. A cell containing 0.5 displayed as a percentage will show "50%", but any formula that references it will keep calculating with 0.5, not with 50.
You can always check the real value of a cell by selecting it and looking at theformula bar above the sheet: it shows the exact content, without any formatting. This is a very useful habit when a result looks odd. The same principle applies to rounding: if you display a single decimal, Excel keeps storing and using all the decimals in its calculations. To really round a value, you need to use a function like ROUND, and not a simple display format.
Value actually stored: 0.5
"Percentage" format applied → display: 50%
Formula =A1*100 → result: 50 (because A1 really equals 0.5, not 50)Value actually stored: 3.14159
"Number" format with 2 decimals → display: 3.14
Formula =A1*2 → result: 6.28318 (calculated with 3.14159, not with 3.14)
Formula =ROUND(A1,2) → stored value: 3.14 (real rounding)The most common formats are found in the Home tab, "Number" group, either through the dropdown menu or through the shortcut icons. This group also contains buttons to quickly add or remove decimals, apply a percentage style or enable the thousands separator in a single click.
The Home tab also lets you change the font, its size, its color, the background color of a cell and its borders, applied cell by cell or range by range.
To format several cells at once, start by selecting them: an entire range, a whole column by clicking its letter, or a whole row by clicking its number. Any setting applied afterwards extends to the entire selection, which avoids repeating the same operation cell by cell.
By convention, numbers are right-aligned (so it is easy to compare the units, tens and hundreds from one row to the next) and text is left-aligned. Excel applies this rule automatically: it is better to change it only for a good reason, for example to center a header.

The Ctrl + 1 shortcut opens the full formatting window, with detailed tabs: Number, Alignment, Font, Border, Fill, Protection. It is the place to know for any fine adjustment that isn't directly available through a ribbon icon.
The Format Painter (the paintbrush icon in the Home tab) copies only the formatting of one cell to another, without copying its content. It is very handy for quickly applying the same style to several areas of the table. Double-clicking the painter keeps it active so you can apply the style to several ranges in a row, without having to click it again each time.
The procedure is simple: select the cell that has the formatting you want, click the painter, then select the cell or cells to modify. To turn off the painter after a double-click, press theEsc key or click its icon again.
Rather than manually setting each property, Excel offers ready-to-usecell styles (Home > Cell Styles): "Good", "Bad", "Neutral", "Heading 1", "Total"... Applying a style guarantees immediate visual consistency across the whole workbook, and updates globally if you modify the style itself later.
You can also create your own styles: set up a cell exactly as you want it, then use "New Cell Style" to save it under a name. This approach is particularly effective in long documents or ones shared by a team, because it enforces a common visual identity without having to reproduce the settings by hand.
For more specific needs, Excel lets you create a custom number format via "Format Cells > Custom". The syntax uses special symbols to represent each part of the number.
The 0 symbol forces a digit to be displayed at that position, even if it is a zero, whereas# only displays a digit if one exists. The semicolon; separates the sections of the format: first positive numbers, then negative ones, then zeros. A format can thus display each case differently.
#,##0 € → displays 12000 as "12,000 €"
0.0% → displays 0.256 as "25.6%"
0000 → displays 42 as "0042"
dd/mm/yyyy → displays a date as 05/09/2026 (day/month/year)
#,##0;[Red]-#,##0 → displays negative numbers in red
+0;-0;0 → displays a "+" in front of positive numbersAs with any number format, a custom format doesn't change the stored value: it only changes how it is presented. So you can experiment freely: the original data stays intact and you just need to go back to the "General" format to get it back exactly as it was.

Double-clicking the right border of a column header automatically adjusts its width to the longest content. To set several columns to an identical width at once, select them all then right-click > "Column Width" to enter a precise value.
The same principle works for rows: double-clicking the bottom border of a row number adjusts its height to the content, which is particularly useful when automatic text wrapping is on. If you see a series of##### signs in a cell, it simply means the column is too narrow to display the number: widen it and the value reappears.
A few pitfalls come up very often with beginners. Knowing them in advance will save you a lot of time.
If a formatting no longer suits you, you can clear everything at once via Home > Clear > "Clear Formats": the content of the cells is kept, only their appearance returns to the original state. This is the fastest way to start over from a clean base before reapplying a consistent style.
Conditional formatting (Home > Conditional Formatting) automatically applies a style to a cell depending on its value: for example, coloring negative amounts red, highlighting the 10 largest values, or displaying proportional data bars. Unlike manual formatting, it updates by itself when the data changes. We will come back to it in detail in a dedicated lesson.
Best practice
Keep it simple: two or three consistent colors, bold headers on a lightly colored background, and thin borders are generally enough to make a table very readable. Too many different colors hurt clarity rather than improve it. A professional table is often recognized more by its restraint than by its visual richness.
Also think about consistency: use the same format for all the values in a given column, the same color for the same category of information, and favor cell styles over repeated manual settings. Finally, remember that a black-and-white printout or a color-blind reader doesn't perceive colors the way you do: never rely on color alone to convey important information.
Practical exercise
Going further