Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 89
Default Letters of Alphabet

Hello,
Is there an easy way to find the number of a letter in the alphabet; e.g.
that "E" is the fifth letter?

Thanks.

Bill


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 380
Default Letters of Alphabet

=CODE(UPPER("E"))-64

I stuck the UPPER in there in case you use a formula to derive E, or a cell
reference, and it might be lower case.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Bill" wrote in message
link.net...
Hello,
Is there an easy way to find the number of a letter in the alphabet; e.g.
that "E" is the fifth letter?

Thanks.

Bill




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Letters of Alphabet


Bob Phillips wrote:

=CODE(UPPER("E"))-64


Or instead of 64, you could use Asc("A") - 1

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Letters of Alphabet

Yeah, you could, but ...

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...

Bob Phillips wrote:

=CODE(UPPER("E"))-64


Or instead of 64, you could use Asc("A") - 1



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Letters of Alphabet


If your letter's in A1 then you could use

=COLUMN(INDIRECT(A1&1))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=555287



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I increment letters of the alphabet for a database gretchen Excel Discussion (Misc queries) 5 August 30th 07 09:10 PM
Solver - Assign values to the letters of the alphabet [email protected] Excel Discussion (Misc queries) 2 December 15th 06 11:18 AM
associate alphabet letters with numbers? Loriandme69 New Users to Excel 4 November 22nd 05 01:59 AM
how to assign a value to the alphabet in order to add up letters Robert Horne Excel Discussion (Misc queries) 1 December 10th 04 08:15 PM
VBA function to return letters of alphabet SOS[_19_] Excel Programming 5 May 20th 04 07:44 PM


All times are GMT +1. The time now is 12:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"