+ Reply to Thread
Results 1 to 8 of 8

Help with index array

  1. #1
    Registered User
    Join Date
    06-22-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Help with index array

    Hi guys,

    I am looking for a formula to return the team from each tab based on the name value.

    I have tried using index but i cant seem to get it to work,

    please can anyone help me with this one?

    thanks

    EDIT:: =INDEX(Team1:Team3!1:1048576,Team1:Team3!2:2,MATCH(Sheet4!B2,Team1:Team3!A:A))

    This is the forumla i am trying to use, but it just returns VALUE
    Attached Files Attached Files
    Last edited by dxuberz; 08-09-2013 at 03:53 PM. Reason: Edit for clarity

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,325

    Re: Help with index array

    Please Login or Register  to view this content.
    Try this one
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Help with index array

    Not pretty. But in A2 enter
    =IF(NOT(ISERROR(VLOOKUP(B2,Team1!$A:$A,1,0))),"Team 1",IF(NOT(ISERROR(VLOOKUP(B2,Team2!$A:$A,1,0))),"Team 2",IF(NOT(ISERROR(VLOOKUP(B2,Team3!$A:$A,1,0))),"Team 3","Not Found")))

    and drag it down

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Help with index array

    You can also try this:

    =IFERROR(VLOOKUP(B2,Team1!$A:$A,1,0),IFERROR(VLOOKUP(B2,Team2!$A:$A,1,0),VLOOKUP(B2,Team3!$A:$A,1,0)))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    06-22-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Help with index array

    Hey guys, thanks for all the solutions! i went with popipipo's if you were interested!

    Just a pain to do it across 10 sheets and was hoping there was a fun workaround!

    :D

    Anyway got it done in the end thanks

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,325

    Re: Help with index array

    @Alkey
    the result of your formula is the name of the player and not the name of the team.

    I am looking for a formula to return the team from each tab based on the name value.

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Help with index array

    Thanks popipipo. It looks like I misread the requirements. Sorry

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Help with index array

    This is what it should have been:

    =RIGHT(IFERROR(VLOOKUP(B2,Team1!$A:$A,1,0)&"TEAM 1",IFERROR(VLOOKUP(B2,Team2!$A:$A,1,0)&"TEAM 2",VLOOKUP(B2,Team3!$A:$A,1,0)&"TEAM 3")),6)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Index Match array equation with sub-array calculation
    By glebbo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2012, 03:04 AM
  2. Get index from array without loop
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-07-2012, 12:11 PM
  3. max value into an array and index
    By MrReds in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2011, 05:48 PM
  4. Finding the last used index in an array
    By rowlandrat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2011, 09:48 AM
  5. [SOLVED] Array index name
    By David Henderson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2006, 03:45 AM

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