+ Reply to Thread
Results 1 to 5 of 5

array between 2 sheets

  1. #1
    Registered User
    Join Date
    11-08-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    31

    array between 2 sheets

    hopefully someone can help me,

    attached is an example of what i need help with. my knowledge of excel just scrapes the beginnings of vlookup!

    example3.xls

    all i need is to show all of the names from sheet 2 on sheet 1.

    thanks in advance,

    Declan
    Last edited by Declan.Ryan; 11-13-2012 at 07:38 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: array between 2 sheets

    In J2 and copy down and across.

    =INDEX(Sheet2!B$2:B$6,MATCH(Sheet1!$C2,Sheet2!$A$2:$A$6,0))

    EDIT: And if you don't want to see zeroes..

    =IF(INDEX(Sheet2!B$2:B$6,MATCH(Sheet1!$C2,Sheet2!$A$2:$A$6,0))=0,"",(INDEX(Sheet2!B$2:B$6,MATCH(Sheet1!$C2,Sheet2!$A$2:$A$6,0))))
    Last edited by Fotis1991; 11-13-2012 at 07:19 AM. Reason: Edit
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: array between 2 sheets

    do you mean like this?
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    11-08-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: array between 2 sheets

    Absolutely spot on both of you, thank you so much for your help.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: array between 2 sheets

    You are welcome Declan, from both of us!

    Thanks for the reb*

+ 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