LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
broro183
 
Posts: n/a
Default How do I make a letter represent a number?


Hi Ben,

I suspect that the "countif" answers already given will have given you
a way to solve your problem but...
Another option (which will be helpful if you have more letters to match
with a number than just x=1) involves the use of a lookup table eg,

1) Create a new worksheet & call it Lookup Table.
2) Put the alphabet in column A, one letter per cell ie cell A1=a,
A2=b,...,A26=z.
3) Put the number you want to match with each letter in column B eg
cell A24=x & B24 will =1.
4) Adapt this formula to be used on your working sheet:
"=VLOOKUP(A1,'Lookup Table'!$A$1:$B$26,2,FALSE)"
where the cell A1 contains the letter that you want to represent a
number.

hth
Rob Brockett
NZ
Always learning & the best way to learn is to experience...


--
broro183
------------------------------------------------------------------------
broro183's Profile: http://www.excelforum.com/member.php...o&userid=30068
View this thread: http://www.excelforum.com/showthread...hreadid=531653



 
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
Staff rota, how can I make a letter represent a shift? Mike Ellis Excel Discussion (Misc queries) 3 December 27th 05 04:45 PM
how can I make a form number change everytime the form is opened babydumplingspita Excel Worksheet Functions 1 October 10th 05 07:58 PM
Convert Text (letter) To Number Excel reloadinternet Excel Worksheet Functions 2 August 22nd 05 03:49 PM
how to add a letter in front of each number in a cell nmodafferi Excel Discussion (Misc queries) 15 June 16th 05 08:58 PM
How do I get a letter to represent a number for scheduling? Henry Elliott Excel Worksheet Functions 1 January 5th 05 07:23 PM


All times are GMT +1. The time now is 11:46 PM.

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"