cell-address-generator
Reactive icon

Cell Address Generator

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 16 Jun (yesterday)
 by 
0.0
 (0 ratings)
cell-address-generator

Cell Address Generator

Documentation
1.0.0

Cell Address Generator

Overview

Cell Address Generator is an OutSystems extension that provides utility actions for converting row and column indexes into Excel-compatible references.

When generating Excel files programmatically, developers frequently need to work with Excel addresses such as:

A1
E5
AA10
AX5

or ranges such as:

A2:A100
E2:E100
AA5:AA500

This component eliminates the need to manually implement Excel column conversion logic and provides reusable actions that can be used across applications.

Features

  • Convert numeric column indexes to Excel column names.
  • Generate Excel cell references from row and column numbers.
  • Return individual reference components (column name, row number, full address).
  • Support single-letter and multi-letter Excel columns.
  • Suitable for Advanced Excel integrations and spreadsheet automation.


Supported Excel Column Formats

Column NumberExcel Column
1A
2B
26Z
27AA
28AB
52AZ
53BA
702ZZ
703AAA

Available Actions

GetCellAddressByIndex

Converts a row and column number into an Excel-style cell reference.

Inputs

NameTypeDescription
RowNumberIntegerExcel row number
ColumnNumberIntegerExcel column number

Outputs

NameTypeDescription
CellAddressTextFull Excel address
ColumnNameTextExcel column name
RowNameTextExcel row number as text

Example

Input

RowNumber = 5
ColumnNumber = 50

Output

CellAddress = AX5
ColumnName = AX
RowName = 5

Additional Examples

RowColumnCell Address
11A1
31A3
550AX5
1027AA10
100702ZZ100
1703AAA1

Validation Rules

The component validates the following conditions:

ConditionResult
RowNumber <= 0Exception
ColumnNumber <= 0Exception

Excel references require row and column numbers greater than zero.


Technical Notes

Excel columns are generated using a Base-26 alphabetical conversion:

1  -> A
26 -> Z
27 -> AA
28 -> AB
...
703 -> AAA

The component supports any valid positive column number and is not limited to the commonly used Excel columns.