Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Lindsay
 
Posts: n/a
Default formulas with text

I have text in column B, all I need to do is create a formula so that when I
put in text in column B, it will create a number in column C! For instance, I
have CXO in column B, I need it to put 25 in column C everytime I type this.
I know this is a simple function, but have not used this version of Excel
before. Thanks in advance for any help!
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Mallycat
 
Posts: n/a
Default formulas with text


I suggest you set up a vlookup table.

Create a table with all the text in 1 column and the numbers in the
next

Say this is range g1:h10
cell g1 cxo h1 25
cell g2 sdf h2 45
etc

enter text (say cxo) in cell a1
put this formula in cell b1
=VLOOKUP(A1,$g$1:$h$10,2,0)
copy the forumula down to cells b2 .. b what ever

Matt


--
Mallycat
------------------------------------------------------------------------
Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514
View this thread: http://www.excelforum.com/showthread...hreadid=552888

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
Text Formulas Lowell Excel Discussion (Misc queries) 6 April 20th 06 04:04 PM
show text after formulas Shirley Excel Discussion (Misc queries) 3 June 30th 05 09:19 PM
How do I convert cells containing formulas to text (value returned Kim Excel Worksheet Functions 4 March 28th 05 09:17 PM
How do you average text formulas?? bladelock Excel Discussion (Misc queries) 2 March 2nd 05 07:53 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


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