Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to sum a total in multiple Excel tables
  • How to calculate current stock or inventory in Excel
  • Data Series in Excel
  • How to create running total in an Excel Table
  • Error Bars in Excel

References

  • How to use Excel FORMULATEXT function
  • Multi-criteria lookup and transpose in Excel
  • How to get last column number in range in Excel
  • Count rows with at least n matching values
  • How to get last row in mixed data with blanks in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation unique values only
  • Excel Data validation with conditional list
  • Prevent invalid data entering in specific cells
  • Excel Data validation no punctuation

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:

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:   How to reference named range different sheet 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:   List worksheet index numbers in Excel

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

Worked Example:   COUNTIF with non-contiguous range in Excel

Post navigation

Previous Post:

How to generate random date between two dates in Excel

Next Post:

Popularly Used Excel Functions and their examples

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

Logical Functions

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function
  • Invoice status with nested if in Excel
  • How to use Excel AND Function
  • IF with boolean logic in Excel

Date Time

  • Get last weekday in month in Excel
  • DAYS function: Description, Usage, Syntax, Examples and Explanation
  • Display Days until expiration date in Excel
  • Add years to date in Excel
  • Get days, months, and years between dates in Excel

Grouping

  • Categorize text with keywords in Excel
  • Map text to numbers in Excel
  • Group arbitrary text values in Excel
  • Map inputs to arbitrary values in Excel
  • How to randomly assign data to groups in Excel

General

  • Currency vs Accounting Format in Excel
  • Convert column number to letter in Excel
  • Excel Autofill Cell Ranges, Copy, Paste
  • How to create dynamic worksheet reference in Excel
  • Index and match on multiple columns in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning