Closed Thread
Results 1 to 14 of 14

index and match across multiple worksheets

  1. #1
    Registered User
    Join Date
    11-12-2007
    Posts
    14

    index and match across multiple worksheets

    i have 8 worksheets with towns and citys and the distances between each one, i can index and match on one worksheet but cannot index and match across more than that,
    hopefully there is a way of doing it

    many thanks

  2. #2
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by pertenax
    i have 8 worksheets with towns and citys and the distances between each one, i can index and match on one worksheet but cannot index and match across more than that,
    hopefully there is a way of doing it

    many thanks
    List your worksheets in column C


    Please Login or Register  to view this content.
    If the formula does not work please post a sample workbook with the expected results.


    Hope this helps

  3. #3
    Registered User
    Join Date
    11-12-2007
    Posts
    14
    many thanks for the reply vane0326, my original post was a bit misleading index and match across multiple worksheets but against two criteria, i have attached a sample workbook hopefully you can help me out

    many thanks
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by pertenax
    many thanks for the reply vane0326, my original post was a bit misleading index and match across multiple worksheets but against two criteria, i have attached a sample workbook hopefully you can help me out

    many thanks

    Bit confuse, What is the result suppose to be in worksheet Data in cell D2?

  5. #5
    Registered User
    Join Date
    11-12-2007
    Posts
    14
    hi vane0326

    sorry i was in a little bit of a hurry, the result should be "mileage2 cell O3" 268 on the data sheet in cell a2 should be "city3".

    hopefully this explains it a bit better, sorry for the confusion

    many thanks

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    try in d2 data
    =INDEX(MILEAGE!1:342,MATCH(A2,MILEAGE!A1:A342,0),MATCH(B2,MILEAGE!1:1,0))




    and in d3 data
    =INDEX(MILEAGE2!A1:O342,MATCH(A2,MILEAGE2!A1:A342,0),MATCH(B2,MILEAGE2!A1:O1,0))

    another thing to consider is are there really more than 256 cities? if not change your references to cities in the row and towns in the column,then you could put all on one sheet
    Last edited by martindwilson; 11-19-2007 at 08:05 PM.

  7. #7
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    pertenax



    Look at the attachment below and add the necessary define name range formulas.

    Example,

    =LOOKUP(10^307,CHOOSE({1,2,3,4,5,6},0,Table,Table2,Table3,Table4,Table,5))


    Hope this helps!
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-12-2007
    Posts
    14
    Many thanks to both of you they both work brilliantly, thanks very much for your insightful knowledge.

    Thank you.

  9. #9
    Registered User
    Join Date
    05-20-2011
    Location
    Palo Alto
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: index and match across multiple worksheets

    bump for more info :D

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

    Re: index and match across multiple worksheets

    @ darkdashing
    whatare you on about,have you a specific question.please start your own thread instead of this 3 year old one
    "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

  11. #11
    Registered User
    Join Date
    12-15-2011
    Location
    KL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: index and match across multiple worksheets

    hi there, how about matching the index over different spreadsheet? is that possible?

    Thanks

  12. #12
    Registered User
    Join Date
    12-15-2011
    Location
    KL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: index and match across multiple worksheets

    Quote Originally Posted by martindwilson View Post
    try in d2 data
    =INDEX(MILEAGE!1:342,MATCH(A2,MILEAGE!A1:A342,0),MATCH(B2,MILEAGE!1:1,0))




    and in d3 data
    =INDEX(MILEAGE2!A1:O342,MATCH(A2,MILEAGE2!A1:A342,0),MATCH(B2,MILEAGE2!A1:O1,0))

    another thing to consider is are there really more than 256 cities? if not change your references to cities in the row and towns in the column,then you could put all on one sheet
    Hi there, how about using Index in different spreadsheet, it's possible? what will the formula look like

    Thanks

  13. #13
    Registered User
    Join Date
    02-21-2012
    Location
    Oman
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: index and match across multiple worksheets

    Vane,

    Could you please give a brief description about the tables (Table1, table2...) you used in the attachment?

    is it a simple excel table or any vba user defined functions?

  14. #14
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: index and match across multiple worksheets

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

Closed 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