Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
reloadinternet
 
Posts: n/a
Default Convert Text (letter) To Number Excel


Hi everyone.
I really need someone to help me out with this basic function:

On microsoft excel, I need a LETTER (ALPHABET) in a cell to be
converted to a numerical value automatically.

EXAMPLE:

WHEN CELL A1 RECIEVES RECIEVES THE LETTER: N, I want that to change (or
another cell to change) to the number 5.

AND WHEN CELL A1 RECIEVES RECIEVES THE LETTER: Y, I want that to change
(or another cell to change) to the number 10.

What do you reckon?

NB: please dont suggest manual things like the find replace, I am to
lazy for that.
I want something really streamlined!!

rish


--
reloadinternet
------------------------------------------------------------------------
reloadinternet's Profile: http://www.excelforum.com/member.php...o&userid=26505
View this thread: http://www.excelforum.com/showthread...hreadid=397745

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Use an IF statement, as such:

=IF(A1="Y",10,IF(A1="N",5,""))

Place this formula in the cell of your choice (other than A1, of
course)

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=397745

  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=((A1="N")+2*(A1="Y"))*5

Another:

=SUMPRODUCT(COUNTIF(A1,{"N","Y"}),{5,10})

Another:

=IF(A1="Y",10,IF(A1="N",5,""))



In article
<reloadinternet.1u65ig_1124719796.8862@excelforu m-nospam.com,
reloadinternet
<reloadinternet.1u65ig_1124719796.8862@excelforu m-nospam.com wrote:

Hi everyone.
I really need someone to help me out with this basic function:

On microsoft excel, I need a LETTER (ALPHABET) in a cell to be
converted to a numerical value automatically.

EXAMPLE:

WHEN CELL A1 RECIEVES RECIEVES THE LETTER: N, I want that to change (or
another cell to change) to the number 5.

AND WHEN CELL A1 RECIEVES RECIEVES THE LETTER: Y, I want that to change
(or another cell to change) to the number 10.

What do you reckon?

NB: please dont suggest manual things like the find replace, I am to
lazy for that.
I want something really streamlined!!

rish

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 convert an excel file to a flat text file Lannutslp Excel Discussion (Misc queries) 1 June 3rd 05 10:17 AM
convert number to text in Spanish Language Jara Excel Worksheet Functions 2 May 27th 05 03:51 AM
How can I assign a number value to a letter grade in Excel? BlackBond Excel Worksheet Functions 3 April 5th 05 10:12 PM
How can i convert Text Case in EXCEL? Aleem Excel Worksheet Functions 4 April 5th 05 10:53 AM
How can I asign a number value to a text line in Excel? AIF_GoofyDo2 Charts and Charting in Excel 0 December 6th 04 01:19 AM


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