+ Reply to Thread
Results 1 to 22 of 22

Index/match across multiple sheets

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Index/match across multiple sheets

    I AM STUMPED ON THIS ONE! I have attached a "Mock"workbook to show what I am trying to accomplish. On sheet three column F i am trying to return a value from sheet 1 and 2. As of now I am only able to return the value from sheet 1. The attached Workbook explains it better on sheet 3. Any help on this would be greatly appreciated as I know your time is important to you.
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    something like this?

    =TRIM(IFNA(INDEX(Sheet1!$F$2:$F$7,MATCH(B2,Sheet1!$B$2:$B$7,0)),"")&" "&IFNA(INDEX(Sheet2!$F$2:$F$7,MATCH(B2,Sheet2!$B$2:$B$7,0)),""))
    Last edited by sandy666; 05-18-2017 at 07:03 PM.

  3. #3
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    Wow that was fast and Thank you very much. I wasnt aware of the &" "&. I was just using &. What exactly does the Trim do in the formula. Thanks again and I'll mark it solved

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    If value from the first INDEX doesn't exist you will get: " "&2nd INDEX value.... so TRIM remove extra space from the begining and from the end
    Try to remove TRIM and check it by yourself

    thanks for the feedback and mark thread solved

  5. #5
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    i spoke too soon. on sheet 3, rows 4 and 7 return 26 and 72 they should be empty. the formula needs to only return a value if colums A and B on (one sheet) are a match to sheet 3, not a mixture between sheet 1 and 2. sorry I was unclear. there will never be an exact match on sheets 1 and 2 but some data may be the same in one or the other column which should result with ""
    Last edited by Jamesera27; 05-18-2017 at 09:08 PM.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    So what the result should be?
    Sheet3
    F2=?
    F3=?
    etc...
    Last edited by sandy666; 05-18-2017 at 09:15 PM.

  7. #7
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    F2--3
    f3--7
    f4--2
    f5--9
    f6--43
    f7--2

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    So why F2=3 if Sheet1!A2=Sheet2!A2=Sheet3!A2 and the same with B2 ?

    there will never be an exact match on sheets 1 and 2
    Last edited by sandy666; 05-18-2017 at 09:40 PM.

  9. #9
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    i'm trying to have sheet 3 return an exact match on either sheet 1...or sheet 2. sheet 3 needs to look at both sheets and only return an exact match if both columns on sheet 1 match both columns on sheet 3. or both columns on sheet 2 match both columns on sheet 3.
    F2=3 because sheet 1 A2=aaa And sheet1 B2=sss...just like on sheet 3

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    F2=3 because sheet 1 A2=aaa And sheet1 B2=sss...just like on sheet 3
    and sheet2!A2=aaa, sheet2!B2=sss ... like on sheet3
    so which value is correct: 3 or 6 and why?
    what kind of condition should be to select just 3 ?

  11. #11
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    i've uploaded a different sheet
    Attached Files Attached Files

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    ok, try this one with the first example:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    not sure if it worked for you but i just got #NAME

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    change IFNA to IFERROR

    IFNA is for 2013 and up
    IFERROR is for 2007 to 2010 and up

    in your profile I see all kinds of versions
    Last edited by sandy666; 05-18-2017 at 10:19 PM.

  15. #15
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    oh ok...right now i'm on a mac. i will try it on excel 2016 on monday. thanks alot and i'ts hard for me to believe how quickly you come up with formulas. Takes me awhile. Love learning it though. Thanks again

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    Glad to help

    change in your profile Office version to which you most often use, less troubles

  17. #17
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    tested it on my MAC. works perfectly. Thanks again. You were a big help, headache is going away already. I'll look at my profile and edit which version i use the most

  18. #18
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Index/match across multiple sheets

    Or remember always give the version of excel for which you are looking for a solution in the first post

  19. #19
    Forum Contributor
    Join Date
    03-22-2017
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Index/match across multiple sheets

    or you may try this.

    i saw your are stated there have more than 10 sheets.
    this may more simple to add sheets.

    by replace the "" with
    IFERROR(INDEX(Sheet4!$F$2:$F$7,MATCH(A2&B2,Sheet4!$A$2:$A$7&Sheet4!$B$2:$B$7,0)),"")
    and edit with the sheet name (which bold)

    =IFERROR(INDEX(Sheet1!$F$2:$F$7,MATCH(A2&B2,Sheet1!$A$2:$A$7&Sheet1!$B$2:$B$7,0)),IFERROR(INDEX(Sheet2!$F$2:$F$7,MATCH(A2&B2,Sheet2!$A$2:$A$7&Sheet2!$B$2:$B$7,0)),IFERROR(INDEX(Sheet4!$F$2:$F$7,MATCH(A2&B2,Sheet4!$A$2:$A$7&Sheet4!$B$2:$B$7,0)),"")))

    This is an array formula. active by click ctrl + shift + Enter instead of Enter

    you can see "{" in front of the formula. (eg: {=iferror....))))} )

    thank
    Attached Files Attached Files

  20. #20
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Index/match across multiple sheets

    All of you people are awesome everything works great now Thanks alot

  21. #21
    Registered User
    Join Date
    02-15-2019
    Location
    USA
    MS-Off Ver
    2007
    Posts
    1

    Re: Index/match across multiple sheets

    So I tried this and it stops at the first instance of an item... I need to find all instances where it matches Z5. Can anyone help?

    Please Login or Register  to view this content.

  22. #22
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Index/match across multiple sheets

    Jack, welcome to the forum

    Unfortunately your post does not comply with Rule 4 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

    (INDEX/MATCH will only ever find the 1st match, then stop looking)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Multiple Index Match on different sheets How?
    By thorrrr in forum Excel General
    Replies: 13
    Last Post: 02-01-2017, 09:55 AM
  2. Replies: 1
    Last Post: 06-18-2015, 08:45 AM
  3. Index and Match across multiple sheets - is this the best way?
    By damcan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-24-2014, 09:48 PM
  4. index match across multiple sheets
    By Khaos1208 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2014, 06:48 AM
  5. [SOLVED] Two criteria Index Match on multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2014, 10:03 AM
  6. Multiple Sheets Match & Index filtering by sheets
    By ijulian in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-24-2012, 01:49 PM
  7. index match from multiple sheets
    By avk in forum Excel General
    Replies: 4
    Last Post: 10-13-2011, 04:30 PM

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