# Quick Q. Return letter of column

#### spacebouncer

##### Board Regular
Hi, is there an easy way to return the letter of a column, rather than its number? Thanks

### Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Something like this:

=CHAR(COLUMN(A1)+64)

will return "A" for cell A1. Just sub in a cell from the desired column.

Hi!

Try This formula:

Or

This formula works in all the columns in Excel.

The another formula post for bbott

=CHAR(COLUMN(A1)+64)

Only works until column Z.

Blessings!

Thanks guys.

I went for this in the end:

Code:
``````Function columnletter(colnumber As Integer) As String

If colnumber <= 26 Then
columnletter = Chr(((colnumber + 1) Mod 26) + 63)
End If

If colnumber > 26 And colnumber <= 26 * 26 Then
columnletter = Chr((Int(colnumber / 26) + 64))
columnletter = columnletter & Chr(((colnumber + 1) Mod 26) + 63)
End If

End Function``````

Works for the first 676, that'll do for me! Thanks John, thats gonna be a lot less like reinventing the wheel. Cheers both

Code:
``````Function GCL(MyRange As Range) As String
End Function``````

Sorry for the late reply. That's spot on! Thanks Rooney!

Replies
5
Views
229
Replies
1
Views
107
Replies
3
Views
201
Replies
5
Views
168
Replies
5
Views
535

1,221,521
Messages
6,160,302
Members
451,637
Latest member
hvp2262

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back