---
title: "Autonumbering Rows and Auto-totalling Numeric Columns"
canonical: "https://support.appfire.com/space/TBL/74815026/Autonumbering%20Rows%20and%20Auto-totalling%20Numeric%20Columns"
format: markdown
---
> Macro (div)
> 
> ### On this page
> 
> > Macro (toc)

# Overview

This page demonstrates how to use the [Table Plus macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815966), which is part of the [Advanced Tables for Confluence](https://appfire.atlassian.net/wiki/spaces/TBL/overview) add-on, to auto-number rows and auto-total numeric columns using this table:

![image](media://5eb1aa8d-dc5e-4a20-86d6-bf0c4e4561ad)

# Macro Browser Input

### Select this Macro

|  |  |
| --- | --- |
| *Macro Name* | Table Plus |
| *Macro Syntax* | {table-plus} |

### Define these Parameters/Values

|  |  |
| --- | --- |
| *Auto number on each row* | selected |
| *Auto total row* | selected |
| *Sort descending* | selected |
| *Auto sort column* | 3 |
| *Column types* | S,E,I |
| *Column attributes* | style="text-align:center;",style="text-align:center;",style="background:lightyellow;text-align:right;" |
| *Highlight color* | lightgoldenrodyellow |

### Screenshot

![image](media://50b7f4a4-2560-421b-9810-97c422440eac)

 

# Wiki Markup Input

```plaintext
{table-plus:autoNumber=true|autoTotal=true|sortDescending=true|sortColumn=3|columnTypes=S,E,I|columnAttributes=style="text-align:center;",style="text-align:center;",style="background:lightyellow;text-align:right;"|highlightColor=lightgoldenrodyellow}
|| Product || On Plan || Revenue ||
| A | (/) | 325100 |
| D | (/) | 315850 |
| C | (x) | 250420 |
| B | (/) | 98650  |
| E | (x) | 79010  |
{table-plus}
```

 

# Example Result

> Macro (table-plus)
> 
> | **Product** | **On Plan** | **Revenue** |
> | --- | --- | --- |
> | A | :check_mark: | 325100 |
> | D | :check_mark: | 315850 |
> | C | :cross_mark: | 250420 |
> | B | :check_mark: | 98650 |
> | E | :cross_mark: | 79010 |

:info: *Note that columns are centered, rows are autonumbered, and the Revenue column is auto-totalled. You can click a column heading to sort by that column.*

 

# Other Examples

Visit our [full list of product examples](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815984) for additional inspiration!