+ Reply to Thread
Results 1 to 5 of 5

Index and Match from different worksheets

  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    28

    Index and Match from different worksheets

    Attached is the spreadsheet I am working with. I can't seem to get my index and match functions to work - probably becuase I have never used them before. Here is what I am trying to do -

    I want Sheet 1 Column L to pull the population from Sheet 2 Column C if Sheet 1 Columns A and B = Sheet 2 Columns A and B. If they don't make, then an error is fine.

    Can geniuses figure this out?Excel Function Help.xlsxExcel Function Help.xlsx

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Index and Match from different worksheets

    Assuming there are no duplicates on Sheet2..I.E.
    AK and ANCHORAGE won't appear on the same row twice on Sheet2...

    =SUMPRODUCT(--(Sheet2!$A$2:$A$46=A2),--(Sheet2!$B$2:$B$46=B2),Sheet2!$C$2:$C$46)

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index and Match from different worksheets

    Try this...

    =SUMIFS(Sheet2!C:C,Sheet2!A:A,A2,Sheet2!B:B,B2)

    Copy down as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    07-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Index and Match from different worksheets

    @Jonmo1 - maybe I misunderstood your formula, but I couldn't get it to work.

    @Tony Valko - that seems to work! Thanks!

    Is there a reason an index and match wouldn't work?

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index and Match from different worksheets

    Quote Originally Posted by djbcktt View Post
    @Tony Valko - that seems to work! Thanks!
    You're welcome!

    Is there a reason an index and match wouldn't work?
    It'll work but the SUMIFS formula is easier to write.

    Here's the equivalent INDEX/MATCH formula.

    Array entered**:

    =INDEX(Sheet2!C$2:C$46,MATCH(A2,IF(Sheet2!B$2:B$46=B2,Sheet2!A$2:A$46),0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down as needed.

+ 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] INDEX/MATCH across several worksheets
    By hennakao in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-25-2016, 08:07 AM
  2. Index-Match with mulitple worksheets
    By adamjohnson182 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2013, 08:40 PM
  3. Index and Match across multiple worksheets
    By GTHORE in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-09-2013, 01:05 PM
  4. Need to use MATCH and INDEX over 2 worksheets
    By khedger in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-11-2012, 09:55 AM
  5. index and match across multiple worksheets
    By pertenax in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-21-2012, 03:15 AM

Tags for this Thread

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