> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cfo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Format and arrange a table

> Show numbers as currency or percentages, set decimals, color and bold rows, and see why numbers turn green or red. Also color a Dimension's items, change date headers, show or pin total columns, put subtotals below their details, hide or reorder rows and columns, show a field such as Name as the row names, resize or pin (freeze) columns, show values in thousands, millions, or billions, and show negative numbers in parentheses.

Use this guide to make a table easy to read: money as currency, margins as percentages, section rows in bold, and the columns your readers need first. Most formatting changes only how the table looks; it never changes a number. To learn which settings belong to a table and which to a Variable, read [Pages, Table blocks, and Canvas blocks](https://docs.cfo.ai/concepts/pages-and-blocks.md).

You need a desktop browser and edit access to the Page. Formatting lives in the right-click menu: right-click a row name, a column header, or a cell, and choose **Format and display**. On a Mac, **Control**-click works too.

## Show numbers as currency, percentages, or decimals

> [tab] Ask Ari
>
> > On the P\&L table, show Revenue and Gross Profit as currency with no decimals, and Gross Margin as a percentage with one decimal.

> [tab] By hand
>
> **1. Open the menu**
>
> Right-click the row name, such as Revenue, and choose **Format and display**.
>
> **2. Choose a format**
>
> Choose **Format**, then **Auto**, **Number**, **Currency**, **Percentage**, **Integer**, or **Multiple**. After **Currency**, choose the currency under **Currency**, such as **USD (\$)** or **EUR (€)**.
>
> **3. Choose the decimals**
>
> Choose **Precision**, then **Default**, **1**, **1.0**, **1.00**, or more decimal places, up to five.

**Format** and **Precision** apply to this table only, at the place you right-clicked: the row, the column, or the cell. A cell's own setting wins over its column's, and a column's wins over its row's. To remove the setting, choose **Format**, then **Reset**.

Two choices reach further. The currency you pick applies to the Variable on every table. **Date** in the **Format** list makes the Variable a date Variable everywhere, with a calendar in its cells.

A format changes only how numbers look. A row shown as a percentage on one table still adds up in totals; see [Percentages and ratios are not added up](https://docs.cfo.ai/concepts/totals-and-rollups.md#percentages-and-ratios-are-not-added-up).

## Show numbers in thousands, millions, or billions

> [tab] Ask Ari
>
> > Show the P\&L table in billions.

> [tab] By hand
>
> **1. Open the menu**
>
> Right-click the row name, column header, or cell and choose **Format and display**.
>
> **2. Choose a scale**
>
> Choose **Scale**, then **Thousands**, **Millions**, or **Billions**.

A scaled number shows a K, M, or B and one decimal, so 27,524,914,239 in billions reads `$27.5B`. Choose **Precision** for more or fewer decimals. The cell keeps its exact value, and a spreadsheet download shows the same scale. Percentages and multiples are never scaled. To show one row in full inside a table shown in millions, choose **Scale**, then **Whole number** on that row.

## Show negative numbers in parentheses

Accounting statements show a loss or a cost as `(1,250)` rather than `-1,250`. You can choose that for one table, one row, column, or cell, or for every table in the workspace at once.

> [tab] Ask Ari
>
> > Show negative numbers in parentheses on the P\&L table.
>
> > Show every negative number in this workspace in parentheses.

> [tab] By hand
>
> **1. Open the menu**
>
> Right-click the row name, column header, or cell and choose **Format and display**.
>
> **2. Choose how negatives show**
>
> Choose **Negatives**, then **Parentheses · (1,250)**. Choose **Minus sign · -1,250** to go back.
>
> To set it for every table at once, open **Settings**, and under **General**, in **Numbers**, choose **(1,250)** beside **Negative numbers**. A table, row, column, or cell that chose its own **Negatives** display keeps it.

Parentheses apply in every number format at the cell's decimals and scale: `($1,250.50)`, `(12.5%)`, `(1.25x)`, or `($3.6B)`. The cell keeps its exact value, and an Excel download shows the same choice, except that a negative that rounds to zero exports as `(0.00)` where the Page shows `0.00`. A **Variance** column reads `($5)` instead of `-$5`; its colors do not change. Canvas charts take their format from the Variable, so they keep the minus sign.

## Format several rows at once

Select several row names: drag down the row-name column, or press **⌘ A** to select the whole table. Right-click one of the selected row names. The menu entry reads **Format \[N] variables** and applies to every selected row.

## Color, bold, and indent rows

In **Format and display**, choose **Background** to fill the row, column, or cell with a color, or **No fill** to remove it. Choose **Text color** to color the text, or **Default** to remove it. Choose **Text style** for **Bold**, **Italic**, **Underline**, or **Strikethrough**. On a row, **Indent** and **Outdent** move the row name in or out, as in an income statement. **Reset formatting** removes everything set at that place on this table.

These settings belong to this table, so the same Variable can look different on another table. A fill or text style stays on the row you set it on: coloring a group's row, such as Payroll, leaves the rows inside the group as they were, so select those rows and style them too if you want the whole group colored. The exact rule is in [Format and display options](https://docs.cfo.ai/reference/table-blocks.md#format-and-display-options).

### Color the cells you type into

cfo.ai does not color typed-in cells automatically. It marks a cell that holds its own value with a dashed underline; see [See whether a number is typed or calculated](https://docs.cfo.ai/guides/enter-values.md#see-whether-a-number-is-typed-or-calculated). To color your inputs, select those cells or rows and set a **Background** or **Text color**.

## Why a number is green or red

Numbers turn green or red only in comparison columns: **Variance** and **Variance %**. Green means the change is good and red means it is bad, and an increase shows a **+**. Plain values are never colored by their sign.

Which direction counts as good is a setting on the Variable, so it applies on every table:

1. Right-click the Variable's row name and choose **Format and display**.
2. Choose **Variance colors**, then **Higher is better** or **Lower is better**.

New Variables use **Higher is better**. Set **Lower is better** for costs, so spending less than the plan shows green. To add comparison columns, see [Compare Scenarios side by side](https://docs.cfo.ai/guides/compare-scenarios.md). For the colors in the formula editor and on items, see [What colors and marks mean](https://docs.cfo.ai/reference/table-blocks.md#what-colors-and-marks-mean).

## Color a Dimension's items, or show them as plain text

> [tab] Ask Ari
>
> > Show Department as plain text on the headcount table.

> [tab] By hand
>
> Right-click the Dimension's label row, such as **DEPARTMENT** above its items, or right-click one of its items and choose **\[Department] dimension settings**. Then choose **Format and display**.
>
> Choose **Dimension color** to set the color of the Dimension's item pills on every table. Choose **Display as** to show the items as a **Pill** or as **Plain text**; that choice is saved with this table, so everyone who opens the table sees it. It applies to row labels, headers, and value cells that hold an item alike; see [Format and display options](https://docs.cfo.ai/reference/table-blocks.md#format-and-display-options).

On a table you can only read, the menu has no **Format and display**. The table shows the saved **Display as** choice, or pills when none is saved.

## Show a field, such as Name, as the row names

A table that lists records, such as a roster with one row per Employee ID and a Name column, names each row by its key, so the row names can read as IDs. You can show a field's value as each row's name instead.

> [tab] Ask Ari
>
> > On the Roster table, show each employee's Name as the row name instead of the Employee ID.

> [tab] By hand
>
> Right-click the header of the field column, such as **Name**, and choose **Use as row names**. Each row now shows its value in that column as its name. To go back to the keys, right-click the same header and choose **Stop using as row names**.

The key stays each row's identity: formulas, the formula bar, filters, and row actions still use it, and you cannot rename a row by typing over a name that comes from a field. A row with no value in the field shows its key. The choice is saved with the table for everyone. You can hide the field column afterwards and the names stay; the item that turns them off is on that column's menu, so show the column again to use it.

## Change how dates read in the headers

Right-click a date header, choose **Format and display**, then **Date format**, and pick a style such as **Abbreviated** (`Sep-26`), **Full month** (`September 2026`), or **Compressed year** (`Sep ’26`, or `W35 ’26` for a week). The style applies to this table. Every style, at every grain, is listed in [Date formats](https://docs.cfo.ai/reference/table-blocks.md#date-formats).

## Show, hide, or pin total columns

A total column, also called a summary column, sits at the end of each group of columns and summarizes the cells shown in that group, such as each region's months. It is different from a parent row that adds up the rows beneath it; see [Totals, aggregation, and time rollups](https://docs.cfo.ai/concepts/totals-and-rollups.md).

* To show or hide them, open the table's **…** menu, **Table block settings**, and choose **Show total columns**.
* To keep them beside the row names while you scroll, choose **Pin total columns** in the same menu.
* To choose what a total column shows, right-click its header and choose **None**, **Sum**, **Average**, **Minimum**, **Maximum**, **Count**, or **Last**. Only summaries that fit the Variables are offered. The header names the choice, such as **SUM**, **LAST**, or **TOTAL** for **None**.
* To show only a group's total, select the arrow in the group's header.

The summary choice is saved with the table. **Show total columns** and **Pin total columns** are not saved: a table always opens with total columns shown and unpinned.

## Put subtotals below their details

A group's row, such as Revenue above its accounts, shows the group's total above its detail rows. For a statement that reads top to bottom, such as a P\&L with each subtotal under its accounts, put the totals below.

> [tab] Ask Ari
>
> > On the P\&L table, show each subtotal below its accounts.

> [tab] By hand
>
> Open the table's **…** menu, **Table block settings**, and choose **Subtotals below details**. Choose it again to put the totals back above the details.

Each expanded group then shows a heading with its name, its detail rows, and a total row labeled **Total \[name]**, such as **Total Revenue**; a name that already starts with "Total" keeps its name. A collapsed group shows one row with its values. You can edit the total row's cells as you did the group row's. The choice is saved with the table for everyone, and an Excel download follows it. The exact rows are in [Table block settings menu](https://docs.cfo.ai/reference/table-blocks.md#table-block-settings-menu).

## Hide rows and columns

Select **Show table setup** at the left of the table header. In the panel, point at the row or column and select its eye button (**Hide \[name]**). Select it again (**Show \[name]**) to bring it back. Hidden rows and columns keep their settings, and the table hides them for everyone.

Hiding a level inside a group of columns keeps the group's total column, so you can hide the months and keep each region's total.

To show or hide the label rows above each Dimension's items, such as **DEPARTMENT**, open **Table block settings** and choose **Show dimension headers**.

## Resize and reorder rows and columns

* To resize a column, drag the right edge of its header. Double-click the edge to fit the column to its content, or choose **Auto-fit all columns** in **Table block settings** to fit every column. Widths are saved for everyone.
* To reorder rows, point at the left edge of a row and drag its grip. Dragging the items of a Dimension puts the Dimension in a manual order; see [Filter and sort a table](https://docs.cfo.ai/guides/filter-and-sort-a-table.md).
* To reorder columns, drag a column header. Date columns stay in date order.

## Pin (freeze) a column while you scroll

The row names always stay in view while you scroll. To keep another column in view too, such as Department on an employee table, right-click its header and choose **Pin column**. You can also drag the header into the pinned area beside the row names. **Unpin column** releases it. Date columns cannot be pinned. A pin is saved with the table for everyone.

## Flip rows and columns

A table has no transpose button. To flip a table, such as putting the months down the side and the Variables across the top, ask Ari:

> Flip the Cash table so the months run down the rows and the Variables across the columns.

Ari moves the Variables and the dates between the rows and the columns. Moving them changes only the layout; every cell keeps its value. By hand, you can drag an item between **Rows** and **Columns** in the table setup panel. A table must keep all of its Variables on one side, so a full flip is easiest with Ari.

## Change the table's height

Drag the table's bottom edge. Double-click the edge, or select it and press **Enter**, to fit the table to its content again. The height is saved in your browser only.

## If a format does not save

When a change cannot be confirmed saved, such as after a lost connection, the table keeps showing it and offers **Retry**. Select **Retry** to send it again. The notice's wording, and every other table notice, is in [When a change is not saved](https://docs.cfo.ai/reference/table-blocks.md#when-a-change-is-not-saved).

## Related

* [Table block controls and messages](https://docs.cfo.ai/reference/table-blocks.md#format-and-display-options)
* [Totals, aggregation, and time rollups](https://docs.cfo.ai/concepts/totals-and-rollups.md)
* [Compare Scenarios side by side](https://docs.cfo.ai/guides/compare-scenarios.md)
* [Filter and sort a table](https://docs.cfo.ai/guides/filter-and-sort-a-table.md)
* [Export a Page to Excel](https://docs.cfo.ai/guides/download-a-spreadsheet.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.