+ Reply to Thread
Results 1 to 3 of 3

Having a number value based off text value

Hybrid View

bean4000 Having a number value based... 03-01-2013, 06:45 PM
jeffreybrown Re: Having a number value... 03-01-2013, 06:50 PM
Dunc3142 Re: Having a number value... 03-01-2013, 07:06 PM
  1. #1
    Registered User
    Join Date
    03-01-2013
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    1

    Having a number value based off text value

    I'm currently working with excel 2007. I have been throwing formulas at this all day and can't seem to get it to work. I have tried a variety to include "if" "value" "vlookup" but no luck. In column A I have each row with a drop down with 5 acronyms. So A4 as a drop down with black, blue, red, green, purple. A5 has the same list and so on for all column A. I want to have column D reflect a number passed off the selected choice from column A. So if I select black in A4, D4 will present the number 1. If I select blue in A5,D5 will represent 2 and so on or if A12 is black again D12 will again represent 1. I have made a list outside of my chart with the colors and numbers to allow for referencing in use with formulas as well but still can't get it right. Any help with this is greatly appreciated. I can also email anyone willing to help a screen shot if I didn't clarify this well enough. Thanks for looking.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Having a number value based off text value

    Hello & Welcome to the Forum,

    You could use this in D4

    =LOOKUP(A4,{"Black";"Blue";"Green";"Purple";"Red"},{1;2;3;4;5})

    or create a lookup table...
    HTH
    Regards, Jeff

  3. #3
    Valued Forum Contributor Dunc3142's Avatar
    Join Date
    09-05-2007
    Location
    Franklin OH
    MS-Off Ver
    2000 and 2007 and 2010 @ Home & Teach 2010
    Posts
    351

    Re: Having a number value based off text value

    Use a combo box. see attached.
    Attached Files Attached Files
    Yes it will. we just have to figure out how...
    If I have helped you, PLEASE click the * and add to my Rep.
    Also, if the problem is SOLVED please mark it as so.

+ 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