xlcolumn

Converts Excel column name to column number and vise versa.
3.3K Downloads
Updated 30 Sep 2004

View License

xlcolumn(column)

column: Can be either column name (characters) or column number (positive integers).

NOTE: Excel sheet is limited to 256 columns. Therefore, column number should be between (1-256) and column name should be between ('A' - 'IV').

Example:
xlcolumn('K')
xlcolumn('EQ')
xlcolumn(234)
xlcolumn(19)

Cite As

Fahad Al Mahmood (2026). xlcolumn (https://uk.mathworks.com/matlabcentral/fileexchange/5942-xlcolumn), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0