+ Reply to Thread
Results 1 to 3 of 3

Require a formula for getting a specific text from the table

  1. #1
    Registered User
    Join Date
    03-15-2011
    Location
    india, chennai
    MS-Off Ver
    Excel 2007
    Posts
    12

    Require a formula for getting a specific text from the table

    Dear friends

    I require a formula for getting a specific text from the table. When I Enter the emp code, the term staus has to come in the concerned box. (For ex: when emp code 1 is given, the term starting cloumn status 'poor' should come at the concerned box). For Breif details please go through the details and give a solution.

    Emp Code - 1


    Term Starting Status poor

    Term 2 Status

    Term 3 Status

    Term 4 Status

    Table:

    Emp Code Name Term Term Status
    1 AAAAAAAAAA Starting Poor
    2 BBBBBBBBBB Starting Better
    3 CCCCCCCCCCCC Starting Outstanding
    4 DDDDDDDDDD Starting Good
    1 AAAAAAAAAA 2 Outstanding
    2 BBBBBBBBBB 2 Poor
    3 CCCCCCCCCCCC 2 Better
    4 DDDDDDDDDD 2 Good
    1 AAAAAAAAAA 3 Poor
    2 BBBBBBBBBB 3 Better
    3 CCCCCCCCCCCC 3 Good
    4 DDDDDDDDDD 3 Outstanding
    1 AAAAAAAAAA 4 Outstanding
    2 BBBBBBBBBB 4 Poor
    3 CCCCCCCCCCCC 4 Good
    4 DDDDDDDDDD 4 Better
    1 AAAAAAAAAA 5 Outstanding
    2 BBBBBBBBBB 5 Poor
    3 CCCCCCCCCCCC 5 Good
    4 DDDDDDDDDD 5 Better
    1 AAAAAAAAAA 6 Outstanding
    2 BBBBBBBBBB 6 Poor
    3 CCCCCCCCCCCC 6 Good
    4 DDDDDDDDDD 6 Better

    thanks in advance!!!!!!!!

    Jay
    Last edited by jayatjay; 10-15-2011 at 08:01 AM. Reason: not able to attach the file

  2. #2
    Registered User
    Join Date
    03-15-2011
    Location
    india, chennai
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Require a formula for getting a specific text from the table

    Dear friends

    I require a formula for getting a specific text from the table. When I Enter the emp code, the term staus has to come in the concerned box. (For ex: when emp code 1 is given, the term starting cloumn status 'poor' should come at the concerned box). For Breif details i have attached the file. please go through and give a solution.


    thanks in advance!!!!!!!!

    Jay

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Require a formula for getting a specific text from the table

    The formula you need to lookup the "code" you entered in cell A2 in a table over in columns E (codes) and column F (status) would be a VLOOKUP formula, like so:

    =VLOOKUP($A2, $E:$F, 2, 0)

    Adapt that for your actual workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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