+ Reply to Thread
Results 1 to 5 of 5

if one cell matches an array then output specific cell from array

  1. #1
    Registered User
    Join Date
    11-18-2011
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    16

    if one cell matches an array then output specific cell from array

    I have a list of teams and Stadiums they play in
    Column 1 - Column 2
    Team 1 - Stadium 1
    Team 2 - Stadium 2
    Team 3 - Stadium 3
    Team 4 - Stadium 4

    in another page I have the fixtures list -
    Column 1 vs Column 2 - Stadium
    Team 1 vs Team 2 - [in this cell I want to put a formula in that will show the stadium they played in]*
    Team 3 vs Team 4 - [in this cell I want to put a formula in that will show the stadium they played in]*

    etc etc
    * the team to reference will be the one in column 1

    any help me with which formula this is possible?
    Last edited by acousticsman; 11-18-2011 at 09:54 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: if one cell matches an array then output specific cell from array

    I think you just need a VLOOKUP

    e.g.

    =VLOOKUP(A1,List1,2,0)

    where List1 is the range of teams and stadiums.
    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
    11-18-2011
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: if one cell matches an array then output specific cell from array

    thanks! I knew about vlookup just forgot how to use it! :D

  4. #4
    Registered User
    Join Date
    11-18-2011
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: if one cell matches an array then output specific cell from array

    how do I mark this thread as solved?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: if one cell matches an array then output specific cell from array

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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