Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel ROWS Function
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel INDIRECT Function
  • How to use Excel TRANSPOSE Function

Data Analysis Examples

  • Example of COUNTIFS with variable table column in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • How to Sort by Color in Excel
  • How to count table columns in Excel
  • How to create Checklist in Excel

Data Validation Examples

  • Excel Data validation must contain specific text
  • Excel Data validation unique values only
  • Excel Data validation must not contain
  • Excel Data validation date in next 30 days
  • Excel Data validation number multiple 100

Convert column letter to number in Excel

by

To convert a column letter to an regular number (e.g. 1, 10, 26, etc.) you can use a formula based on the INDIRECT and COLUMN functions. See example below:

Worked Example:   How to get address of named range in Excel

Formula

=COLUMN(INDIRECT(letter&"1"))

Explanation

In the example shown, the formula in C5 is:

=COLUMN(INDIRECT(B5&"1"))

How this formula works

The first step is to construct a standard “A1” style reference using the column letter, by adding a “1” with concatenation:

B5&"1"

This results in a text string like “A1” which is passed into the INDIRECT function.

Worked Example:   3D SUMIF for multiple worksheets in Excel

Next, the INDIRECT function transforms the text into a proper Excel reference and hands the result off to the COLUMN function.

Worked Example:   Index and match on multiple columns in Excel

Finally, the COLUMN function evaluates the reference and returns the column number for the reference.

Post navigation

Previous Post:

Convert column number to letter in Excel

Next Post:

Calculate cap percentage at specific amount in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • How to pad text to match equal length in Excel
  • How to extract nth word from text string in excel
  • Complete List of Excel Text Functions References and Examples
  • How to calculate Number of Instances in Excel
  • Remove line breaks in a cell in Excel
  • How to get Holiday Date from Year in Excel
  • How to calculate nth day of week in month in Excel
  • How to calculate project start date based on end date in Excel
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Generate series of dates by weekends in Excel
  • AMORLINC function: Description, Usage, Syntax, Examples and Explanation
  • YIELD function: Description, Usage, Syntax, Examples and Explanation
  • PRICEMAT function: Description, Usage, Syntax, Examples and Explanation
  • AMORDEGRC function: Description, Usage, Syntax, Examples and Explanation
  • PPMT function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles