3.2 Tables & Table Styles

Key Takeaways

  • Table styles (TABLESTYLE) establish cell hierarchies across Title, Header, and Data cell types, defining independent text properties, cell margins, background fill colors, and border lineweights.

  • The Table Direction setting in TABLESTYLE dictates whether table rows progress Down (Title at the top, descending) or Up (Title at the bottom, ascending), the latter of which is the CAD industry standard for revision blocks and bills of materials.

  • AutoCAD table cells support spreadsheet formulas including =SUM(), =AVERAGE(), =COUNT(), and cell coordinate arithmetic expressions using letter-number matrix referencing.

  • Cell locking offers four states (Unlocked, Content Locked, Format Locked, and Content and Format Locked), so templates can protect headers and formulas while data cells stay editable.

Last updated: October 2026

3.2 Tables & Table Styles

Engineering drawings require structured tabular data to convey bills of materials (BOM), schedule fixtures, list revision histories, and itemize structural components. AutoCAD tables (TABLE) provide native, spreadsheet-like functionality directly inside the drawing database. Understanding how table styles (TABLESTYLE) control cell hierarchies, how cell formatting and mathematical formulas operate, and how external data links (DATALINK) synchronize with Microsoft Excel (.xlsx) is essential for certified CAD professionals.


Table Style Architecture & Hierarchy (TABLESTYLE)

A Table Style is a named collection of formatting rules that governs the appearance, geometry, text attributes, cell margins, and gridlines of an AutoCAD table. Executing the TABLESTYLE command opens the Table Style Manager, where styles can be created, edited, and designated as current.

Table Style Hierarchy:
TABLESTYLE
├── Table Direction: Down (Title at Top) vs. Up (Title at Bottom)
└── Cell Styles
    ├── Title Cell Style (Overall table heading)
    ├── Header Cell Style (Column / category labels)
    ├── Data Cell Style (Individual row entries & values)
    └── Custom Cell Styles (User-defined formatting templates)

1. Table Direction: Down vs. Up

The Table direction setting defines the fundamental reading orientation and row progression of the table:

  • Down (Standard): The Title row is positioned at the top of the table. The Header row sits directly below the title, and Data rows progress downward from top to bottom. This is standard for architectural door/window schedules, equipment lists, and general documentation.
  • Up (Inverted): The Title row is positioned at the bottom of the table. The Header row sits directly above the title, and Data rows progress upward from bottom to top. This orientation is standard for Revision History blocks and mechanical Bills of Materials (BOM) placed above title blocks, ensuring that newly added revisions accumulate upward without encroaching into the title block or sheet border.

2. Cell Styles Configuration

A table style contains three standard cell styles—Title, Header, and Data—and permits the creation of custom cell styles. Each cell style is configured across three dedicated tabs:

A. General Tab

  • Fill Color: Controls the background shading behind cell text. Options include None (transparent, allowing drawing background or underlying geometry to show) or a specific AutoCAD Color Index (ACI) or True Color value.
  • Alignment: Dictates how text or data is aligned within the cell boundaries across 9 anchor points: Top Left, Top Center, Top Right, Middle Left, Middle Center, Middle Right, Bottom Left, Bottom Center, and Bottom Right.
  • Format: Sets the data type parsing for the cell, including Text, Whole Number, Decimal Number, Currency, Percentage, Date, and Point.
  • Margins: Defines the internal clearance cushioning between the cell text and cell borders:
    • Horizontal Margin: Space between the text bounding box and the left/right cell border lines.
    • Vertical Margin: Space between the text bounding box and the top/bottom cell border lines.

B. Text Tab

  • Text Style: References a defined text style from the drawing database.
  • Text Height: Specifies the nominal character height. If the referenced text style has a fixed height, this field is disabled.
  • Text Color: Assigns the text color (ByLayer, ByBlock, or a specific color).
  • Text Angle: Sets the rotation angle of text in cells that use this cell style (useful for narrow vertical header columns).

C. Borders Tab

  • Border Properties: Configures the Lineweight, Linetype, and Color of the cell gridlines.
  • Border Visibility Buttons: Drafters can selectively toggle border display on or off for All borders, Outside border, Inside borders, Bottom border, Top border, Left border, Right border, or No borders.
  • Double Line: Toggles double gridlines and sets double-line spacing.

Note

Changes made to a Table Style in the TABLESTYLE manager immediately propagate to all existing tables in the drawing that reference that style, provided individual cells have not had local property overrides applied.


Creating Tables with the TABLE Command

Executing the TABLE command opens the Insert Table dialog box, which presents three primary insertion options:

  1. Start from empty table: Generates a blank grid based on specified column and row parameters.
  2. From a data link: Populates the table dynamically by reading data from an existing external spreadsheet link (.xlsx or .csv).
  3. From object data in the drawing (Data Extraction): Launches the Data Extraction wizard (DATAEXTRACTION) to pull block attributes, geometric properties, or layer data directly into a table.

Insertion Parameters for Empty Tables

When starting from an empty table, the user configures:

  • Insertion Behavior:
    • Specify insertion point: Inserts the table using predefined column widths and row counts; the user clicks once to place the top-left (or bottom-left) corner.
    • Specify window: Prompts the user to drag a rectangular bounding window. AutoCAD automatically calculates column widths and row counts to fit within the dragged boundary.
  • Column & Row Settings: Specifies the number of columns, column width (in drawing units), number of data rows, and data row height (in lines of text).
  • Cell Style Assignment: Defines which cell styles apply to the first row (default: Title), second row (default: Header), and subsequent rows (default: Data).

Table Navigation, Selection & Cell Editing

Navigating and editing an AutoCAD table involves a hierarchical selection model that transitions from the overall table container down to individual cell text.

Single Click on Gridline ───> Table Object Selected (Perimeter grips, stretch column width)
Single Click inside Cell ───> Cell Selected (Blue highlight, row/column grab bars, ribbon tab)
Double Click inside Cell ───> In-Place Text Editor (Direct alphanumeric typing and formatting)

Selection Techniques

  • Selecting the Table Container: Clicking any outer border or cell gridline selects the overall table entity. Grips appear at table corners and column headers, allowing overall resizing and column width stretching.
  • Selecting an Individual Cell: Clicking inside a cell selects that cell. A heavy blue selection border outlines the cell, small triangular grab bars appear on its edges, and the contextual Table Cell ribbon tab appears on the ribbon.
  • Selecting a Range of Cells: Click a starting cell, hold Shift, and click an ending cell, or drag across the cells. AutoCAD selects the rectangular block of contiguous cells.

Row, Column & Cell Modification Operations

When one or more cells are selected, the Table Cell ribbon tab exposes structural manipulation tools:

  • Rows: Insert Above, Insert Below, Delete Row.
  • Columns: Insert Left, Insert Right, Delete Column.
  • Cell Merging:
    • Merge All: Combines a selected rectangular block of adjacent cells into a single unified cell. Only the content of the top-left cell is retained; content in other merged cells is discarded.
    • Merge by Row: Merges selected cells across horizontal rows while keeping column dividers.
    • Merge by Column: Merges selected cells vertically down columns while keeping row dividers.
    • Unmerge: Splits previously merged cells back into their original individual grid arrangement.

Cell Locking Mechanics

To prevent inadvertent modification of formulas, title blocks, or standard column headers, cells can be assigned specific locking states via the ribbon or right-click shortcut menu:

  • Unlocked: Full editing permissions. Content and formatting can be freely altered.
  • Content Locked: The textual or numerical value in the cell is frozen and cannot be edited. However, cosmetic cell formatting (background fill, text color, alignment, borders) can still be modified.
  • Format Locked: The cell formatting properties (alignment, style, color, margins) are locked. However, users are permitted to edit the underlying text or numerical data values.
  • Content and Format Locked: The cell is completely protected; neither content nor formatting can be modified by the drafter.

Tip

In corporate title blocks and standard drawing templates, always apply Content and Format Locked to Title and Header cells, and Format Locked to attribute-driven data cells. This preserves corporate graphic standards while allowing drafters to input project-specific data.


Data Types, Cell Formatting & Formulas

AutoCAD table cells are not limited to plain text; they support formatted numerical values and dynamic mathematical calculations.

Data Formatting Options

Selecting a cell and clicking Data Format opens the Table Cell Format dialog box, providing options for:

  • Decimal Number: Controls the number of decimal display places (e.g., 0.00) and suppresses leading/trailing zeros.
  • Currency: Prefixes or suffixes values with currency symbols (e.g., $1,250.00), with options for negative numbers in parentheses or red text.
  • Percentage: Automatically multiplies decimal values by 100 and appends the % symbol.
  • Date: Formats calendar dates according to regional standards (e.g., YYYY-MM-DD or MM/DD/YYYY).

Table Formulas & Mathematical Operations

AutoCAD tables support built-in spreadsheet formulas using standard letter-and-number coordinate referencing. Columns are designated by letters (A, B, C...), and rows are designated by numbers (1, 2, 3...).

Function / ExpressionSyntax ExampleDescription
Summation=SUM(B3:B12)Calculates the total sum of all numerical values in range B3 through B12
Average=AVERAGE(C2:C20)Computes the arithmetic mean of numerical values in range C2 through C20
Count=COUNT(A3:A50)Returns the total count of non-empty cells in the specified range
Cell Reference=B4Echoes the evaluated content of cell B4
Arithmetic Expressions=(B2*C2)Multiplies quantity in cell B2 by unit price in cell C2
Compound Formula=(D3+D4+D5)*1.08Sums subtotal cells and applies an 8% tax/contingency multiplier

Formula Insertion & Dynamic Recalculation

To insert a formula:

  1. Select the destination cell.
  2. On the Table Cell ribbon tab, click Formula and choose Sum, Average, Count, Cell, or Equation.
  3. Click and drag across the range of cells to calculate, or type the formula directly into the in-place editor starting with an equals sign (=).
  4. Formulas automatically update when referenced cell values change. If an external link changes or formulas appear stale, run the REGEN command or right-click the table and choose Update Table Data Links.

Tables Linked to External Data

The From a data link insertion option builds the table from a Microsoft Excel workbook or CSV file through a data link defined in the Data Link Manager (DATALINK). The table style still controls appearance, while the link controls content, and linked cells are locked by default so local typing cannot silently drift away from the spreadsheet.

Insert Table optionContent sourceTypical use
Start from empty tableTyped by the drafterRevision blocks, general schedules
From a data linkExcel or CSV rangeDoor, panel, or equipment schedules maintained in a spreadsheet
From object data (Data Extraction)Block attributes and object propertiesCounts and bills of materials pulled from the drawing

Creating the link, choosing the linked range, refreshing it with DATALINKUPDATE, and writing edits back to Excel belong to the Collaboration domain (objective 5.3.b) and are covered step by step in 11.1 Dynamic Fields & Excel Data Links. Data Extraction tables are covered in 7.2 Block Attributes & Attribute Synchronization.

Test Your Knowledge

When configuring a Table Style for a structural drawing revision history schedule where new revision rows must be added above preceding entries at the bottom of the title block, which Table Style setting must be adjusted?

A

Set the Cell Style Flow option to Inverted Stack.

B

Set the Table Insertion Mode to Window Fit.

C

Change the Alignment property on the Header row to Bottom Center.

D

Set the Table Direction to Up.

Test Your Knowledge

A CAD administrator wants to allow production drafters to update equipment part numbers in a drawing table while strictly preventing any changes to font styles, text heights, fill colors, or cell margins. Which cell locking mode must be applied to these cells?

A

Format Locked

B

Content Locked

C

Read-Only Protection

D

Content and Format Locked

Test Your Knowledge

A drafter needs cell D10 of an AutoCAD equipment table to show the total of cells D3 through D9 and to update whenever any of those values change. What should be placed in D10?

A

The formula =Sum(D3:D9), inserted with Formula > Sum on the Table Cell tab

B

The typed text TOTAL D3-D9, which AutoCAD evaluates when the drawing is saved

C

The formula =D3+D9, which adds every cell in the column between the two references

D

A field that uses the Document category and reads the table's file size property

Sections you finish are checked off in the contents.