Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ann ann is offline
external usenet poster
 
Posts: 210
Default Number to equivalent Letter

I need a spreadsheet with the following data: (in either format)

Format 1:

col 1 col 2 col3
a a a
a a b
a a c
a a d ...
z z z

format 2:

col1
aaa
aab
aac
aad ...
zzz


This spreadsheet will go on to list ALL the 17,000+ permutations.
Is there a formula or something that can either:
1. create the list automatically using the letters?
2. if i used numbers in format 1, is there a formula to convert the number
to it's equivalent letter ? 1=a, 2=b, c=3 etc.

Thanks for looking.

Ann
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Number to equivalent Letter

In A703, enter:

=IF(ROW()18277,CHAR(64+MOD(INT((ROW()-18279)/17576),26)+1),"")&
IF(ROW()702,CHAR(64+MOD(INT((ROW()-703)/676),26)+1),"")&
IF(ROW()26,CHAR(64+MOD(INT((ROW()-27)/26),26)+1),"")&
CHAR(64+MOD(ROW()-1,26)+1)

and copy down
--
Gary''s Student - gsnu200841


"Ann" wrote:

I need a spreadsheet with the following data: (in either format)

Format 1:

col 1 col 2 col3
a a a
a a b
a a c
a a d ...
z z z

format 2:

col1
aaa
aab
aac
aad ...
zzz


This spreadsheet will go on to list ALL the 17,000+ permutations.
Is there a formula or something that can either:
1. create the list automatically using the letters?
2. if i used numbers in format 1, is there a formula to convert the number
to it's equivalent letter ? 1=a, 2=b, c=3 etc.

Thanks for looking.

Ann

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Number to equivalent Letter

Here's another way, entered in Row 1:

=CHAR((INT((ROW()-1)/676)+1)+96)&CHAR((MOD(INT((ROW()-1)/26),26)+1)+96)&CHAR((MOD(ROW()-1,26)+1)+96)

Copy down...

HTH
Elkar


"Ann" wrote:

I need a spreadsheet with the following data: (in either format)

Format 1:

col 1 col 2 col3
a a a
a a b
a a c
a a d ...
z z z

format 2:

col1
aaa
aab
aac
aad ...
zzz


This spreadsheet will go on to list ALL the 17,000+ permutations.
Is there a formula or something that can either:
1. create the list automatically using the letters?
2. if i used numbers in format 1, is there a formula to convert the number
to it's equivalent letter ? 1=a, 2=b, c=3 etc.

Thanks for looking.

Ann

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Number to equivalent Letter

Hi,

Enter the following formula anywhere on row 1 and copy it down.

=CHAR(ROW()/676+64.999)&CHAR(ROW()/26+64.97)&CHAR(MOD(ROW()-1,26)+65)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Ann" wrote:

I need a spreadsheet with the following data: (in either format)

Format 1:

col 1 col 2 col3
a a a
a a b
a a c
a a d ...
z z z

format 2:

col1
aaa
aab
aac
aad ...
zzz


This spreadsheet will go on to list ALL the 17,000+ permutations.
Is there a formula or something that can either:
1. create the list automatically using the letters?
2. if i used numbers in format 1, is there a formula to convert the number
to it's equivalent letter ? 1=a, 2=b, c=3 etc.

Thanks for looking.

Ann

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
Adding a number to a letter of the alphabet to get a letter [email protected] Excel Worksheet Functions 5 May 21st 07 04:25 PM
How do i set up a list that sorts as Number/letter/number in orde xorex Excel Discussion (Misc queries) 3 September 8th 06 12:59 AM
change headers from letter to number/number to letter lazybee Excel Worksheet Functions 1 July 29th 05 11:08 PM
column header changed from letter to number, how return to letter Ron Excel Discussion (Misc queries) 2 May 9th 05 08:34 PM
Can you convert a number to word equivalent ? Nagesh K R Excel Worksheet Functions 2 May 4th 05 12:48 PM


All times are GMT +1. The time now is 03:57 PM.

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

About Us

"It's about Microsoft Excel"