Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tom Tom is offline
external usenet poster
 
Posts: 2
Default convert text to number

Novice excel 2007 user just can't working for days on this please help. can
you please tell me how to convert single text in one cell to a number in
another cell, example i need the letter W converted to number 6
the letter L converted to number 0, and H to be half the value i assign to
it. any help would be great apprecieated. Thanks Tom--
tom naz
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default convert text to number

If you have only these options then use
=IF(A1="W",6,IF(A1="L",0,IF(A1="H",A2/2,A1)))
Assuming value to test is in A1
and double the value to be assigned for H is in A2

Otherwise use VLOOKUP
Enter in Col C
W
L
H
In Col D
6
0
3 or what you want for H
and so on

Then in B1 use
=VLOOKUP(A1,C:D,2,False)


"Tom" wrote:

Novice excel 2007 user just can't working for days on this please help. can
you please tell me how to convert single text in one cell to a number in
another cell, example i need the letter W converted to number 6
the letter L converted to number 0, and H to be half the value i assign to
it. any help would be great apprecieated. Thanks Tom--
tom naz

  #3   Report Post  
Posted to microsoft.public.excel.misc
Tom Tom is offline
external usenet poster
 
Posts: 2
Default convert text to number

Thank you i will give it a try, hope it works. will let you know
--
tom naz


"Sheeloo" wrote:

If you have only these options then use
=IF(A1="W",6,IF(A1="L",0,IF(A1="H",A2/2,A1)))
Assuming value to test is in A1
and double the value to be assigned for H is in A2

Otherwise use VLOOKUP
Enter in Col C
W
L
H
In Col D
6
0
3 or what you want for H
and so on

Then in B1 use
=VLOOKUP(A1,C:D,2,False)


"Tom" wrote:

Novice excel 2007 user just can't working for days on this please help. can
you please tell me how to convert single text in one cell to a number in
another cell, example i need the letter W converted to number 6
the letter L converted to number 0, and H to be half the value i assign to
it. any help would be great apprecieated. Thanks Tom--
tom naz

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
convert text to number Triniti Excel Discussion (Misc queries) 4 June 30th 08 11:41 PM
Convert text number to number formate [email protected] Excel Discussion (Misc queries) 2 April 9th 07 10:48 AM
how to convert a number to text CQ New Users to Excel 3 February 17th 06 05:05 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
not able to convert text, or graphic number to regular number in e knutsenk Excel Worksheet Functions 1 April 2nd 05 08:41 AM


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