+ Reply to Thread
Results 1 to 5 of 5

Words to Numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    06-23-2008
    Posts
    6

    Words to Numbers

    I'm quite new to excel and would like to know something:
    How can one make a word act like a number? For example how could I insert a word into a cell so it would be treated as a number by formulae but the word is what it shown on the cell?

    Thank you,

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You can create a table on the side somewhere listing the words and the corresponding numbers in the next column. Then you can use some sort of lookup formula to extra the number for the word you type.

    Have a look at Vlookup function in the excel help files.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-23-2008
    Posts
    6
    Thanks but I now have another problem!
    I am up to the point in where I have made a table and used a VLOOKUP and I can type a word into a cell and it then brings up the allocated number in a different cell.
    But I would like it that excel treats the word as a number. For example if I type in the word 'hello' and put an allocated number to it in the table, when I type in the word 'hello' into a cell, when using formulae etc., it treats the word 'hello' as the allocated number.

    Sorry for the trouble, thanks!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Just insert the Vlookup() formula within your main formula...

    example:

    =Vlookup(A1,X1:Y10,2,0)*2

    or

    =If(Vlookup(A1,X1:Y10,2,0)>5,"Greater than 5","Less than or equal to 5")

    Where A1 contains a word found in X1:X10 and Y1:Y10 contains numbers that correspond...

  5. #5
    Registered User
    Join Date
    06-23-2008
    Posts
    6
    Oh. . .

    Thanks NBVC! This helped a lot

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1