+ Reply to Thread
Results 1 to 3 of 3

Find a value in a cell and return another value in a differant cel

  1. #1
    Lew
    Guest

    Find a value in a cell and return another value in a differant cel

    I have a list in column A and another list in column B:

    A B
    Eagle EAG
    Lonely LNY
    Bradys BRY

    The list in column A is 35 names long. The list in column B is also 35
    names long. Cell C1 contains a validation dropdown box which is the list in
    column A. If "Eagle" is selected and put into cell C1, "EAG " should
    automaticly be put into cell C2; if "Lonely" is selected and put into cell
    C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each
    contain 35 entries the "IF" function will not work since "IF" can only
    contain 7 statements. Any ideas

  2. #2
    bpeltzer
    Guest

    RE: Find a value in a cell and return another value in a differant cel

    In C2, use the vlookup function to find the corresponding entry from column
    B: =vlookup(c1,a:b,2,false).

    "Lew" wrote:

    > I have a list in column A and another list in column B:
    >
    > A B
    > Eagle EAG
    > Lonely LNY
    > Bradys BRY
    >
    > The list in column A is 35 names long. The list in column B is also 35
    > names long. Cell C1 contains a validation dropdown box which is the list in
    > column A. If "Eagle" is selected and put into cell C1, "EAG " should
    > automaticly be put into cell C2; if "Lonely" is selected and put into cell
    > C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each
    > contain 35 entries the "IF" function will not work since "IF" can only
    > contain 7 statements. Any ideas


  3. #3
    Lew
    Guest

    RE: Find a value in a cell and return another value in a differant

    Thanks, works great


    "bpeltzer" wrote:

    > In C2, use the vlookup function to find the corresponding entry from column
    > B: =vlookup(c1,a:b,2,false).
    >
    > "Lew" wrote:
    >
    > > I have a list in column A and another list in column B:
    > >
    > > A B
    > > Eagle EAG
    > > Lonely LNY
    > > Bradys BRY
    > >
    > > The list in column A is 35 names long. The list in column B is also 35
    > > names long. Cell C1 contains a validation dropdown box which is the list in
    > > column A. If "Eagle" is selected and put into cell C1, "EAG " should
    > > automaticly be put into cell C2; if "Lonely" is selected and put into cell
    > > C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each
    > > contain 35 entries the "IF" function will not work since "IF" can only
    > > contain 7 statements. Any ideas


+ 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