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

Data Analysis

  • Understanding Anova in Excel
  • How to calculate average last N values in a table in Excel
  • How to Create Gantt Chart in Excel
  • Number and Text Filters Examples in Excel
  • Use Data Form to input, edit and delete records in Excel

References

  • How to get first column number in range in Excel
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Get nth match with INDEX / MATCH in Excel
  • How to use Excel OFFSET function
  • How to use Excel LOOKUP Function

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation with conditional list
  • Excel Data validation specific characters only
  • Prevent invalid data entering in specific cells
  • Excel Data validation allow weekday only

Convert column number to letter in Excel

by

To convert a column number to an Excel column letter (e.g. A, B, C, etc.) you can use a formula based on the ADDRESS and SUBSTITUTE functions. See example below:

Formula

=SUBSTITUTE(ADDRESS(1,col_number,4),"1","")

Explanation

In the example shown, the formula in C5 is:

=SUBSTITUTE(ADDRESS(1,B5,4),"1","")

The first step is to construct an address that contains the column number. We do this with the ADDRESS function, by providing 1 for row number, a column number from B5, and 4 for the abs_num argument (to get a relative reference):

ADDRESS(1,B5,4)

With this information, ADDRESS returns the text “A1”.

Worked Example:   How to count specific words in a cell in Excel

Next ,we use SUBSTITUTE to strip out the number 1 like this:

=SUBSTITUTE("A1","1","")

We can confidently look for “1” and replace with “” in all cases, because the row number is hard-coded as 1 inside the ADDRESS function.

Worked Example:   Extract last name from full name -- Manipulating NAMES 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

  • SWITCH function example in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel

Date Time

  • Convert time to time zone in Excel
  • Get day name from date in Excel
  • Extract time from a date and time in Excel
  • Get days before a date in Excel
  • How to calculate next anniversary date or birthday in Excel

Grouping

  • Map text to numbers in Excel
  • If cell contains one of many things in Excel
  • Running count group by n size in Excel
  • Group numbers at uneven intervals in Excel
  • Group times into unequal buckets in Excel

General

  • Count cells that do not contain many strings in Excel
  • 44 Practical Excel IF function Examples
  • Automatically fill series of cells in Excel using AutoFill
  • Delete Blank Rows at Once in Excel
  • How to password protect excel sheet?
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning