Skip to main content

Get column name

Split a cell address such as AB7 into its column letters, column number and row number; nothing is read from the workbook.

Command in the Microsoft 365 toolkit · id ooa.microsoft365/excel_column_name · 1 input (1 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
CellStringYesCell address; a sheet name before ! and $ signs are ignored.

Outputs​

OutputTypeWhat it is
column_nameStringColumn letters, e.g. AB.
columnNumberColumn number, starting at 1 for A.
rowNumberRow number.