Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Robbie aka Zoqaeski :p
 
Posts: n/a
Default Converting characters to numbers

G'day all
I'd like to know if there is a way to convert characters/letters (A-Z) into
numbers/values of my own choice in Excel, using either formulas, macros
(functions) or otherwise. Any ideas?
Cheers,
Robbie aka Zoqaeski
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

On some sheet, p.e. List, create a list of characters with corresponding
numbers in next column. Let you have this table in range List!A1:B25.

Now, when you have on some sheet a character in cell, p.e. A2, the
corresponding number is retrieved with formula
=VLOOKUP(A2,List!$A$1:$B$25,2,0)
(Whenever you edit the table on sheet List, all corresponding numbers are
recalculated, of course!)

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Robbie aka Zoqaeski :p" <Robbie aka Zoqaeski
wrote in message ...
G'day all
I'd like to know if there is a way to convert characters/letters (A-Z)

into
numbers/values of my own choice in Excel, using either formulas, macros
(functions) or otherwise. Any ideas?
Cheers,
Robbie aka Zoqaeski



  #3   Report Post  
Robbie aka Zoqaeski :p
 
Posts: n/a
Default

Thanks for that, Arvi, but this formula of yours does not like 0 (zero), for
some reason, and I need to be able to use it, because what I am trying to
develop is a check digit calculator for railway vehicles.

"Arvi Laanemets" wrote:

Hi

On some sheet, p.e. List, create a list of characters with corresponding
numbers in next column. Let you have this table in range List!A1:B25.

Now, when you have on some sheet a character in cell, p.e. A2, the
corresponding number is retrieved with formula
=VLOOKUP(A2,List!$A$1:$B$25,2,0)
(Whenever you edit the table on sheet List, all corresponding numbers are
recalculated, of course!)

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Robbie aka Zoqaeski :p" <Robbie aka Zoqaeski
wrote in message ...
G'day all
I'd like to know if there is a way to convert characters/letters (A-Z)

into
numbers/values of my own choice in Excel, using either formulas, macros
(functions) or otherwise. Any ideas?
Cheers,
Robbie aka Zoqaeski




  #4   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

What do you mean with 'does not like 0 (zero)'. Is this 0 in column with
lookup values (characters), or in return values (numbers), or in condition
cell. And what does the formula do, when this 0 occurrs, and what you want
it to do. There is a lot of combinations of to consider of, so I can't help
you without further information.

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Robbie aka Zoqaeski :p"
wrote in message ...
Thanks for that, Arvi, but this formula of yours does not like 0 (zero),

for
some reason, and I need to be able to use it, because what I am trying to
develop is a check digit calculator for railway vehicles.

"Arvi Laanemets" wrote:

Hi

On some sheet, p.e. List, create a list of characters with corresponding
numbers in next column. Let you have this table in range List!A1:B25.

Now, when you have on some sheet a character in cell, p.e. A2, the
corresponding number is retrieved with formula
=VLOOKUP(A2,List!$A$1:$B$25,2,0)
(Whenever you edit the table on sheet List, all corresponding numbers

are
recalculated, of course!)

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Robbie aka Zoqaeski :p" <Robbie aka Zoqaeski


wrote in message

...
G'day all
I'd like to know if there is a way to convert characters/letters (A-Z)

into
numbers/values of my own choice in Excel, using either formulas,

macros
(functions) or otherwise. Any ideas?
Cheers,
Robbie aka Zoqaeski






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
roundoff when converting text to numbers Jack Excel Worksheet Functions 3 January 30th 05 01:51 AM
converting numbers to text and prefill text field with 0's Jan Buckley Excel Discussion (Misc queries) 2 January 20th 05 09:03 PM
Converting negative numbers in a range of cells to zero Dede Excel Discussion (Misc queries) 3 January 14th 05 06:23 PM
converting dates into numbers help me Excel Discussion (Misc queries) 3 December 17th 04 03:11 AM
Converting text to numbers Scott Excel Discussion (Misc queries) 3 November 26th 04 09:17 PM


All times are GMT +1. The time now is 08:25 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"