+ Reply to Thread
Results 1 to 6 of 6

Index, match, vlookup with multiple criteria

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    16

    Index, match, vlookup with multiple criteria

    I have been working on this for too long and I can't find the answer anywhere. If someone could PLEASE HELP ME, I would appreciate it.

    I have two worksheets, "sourceuse" and "current". Current is the raw data that I am trying to use to populate the sourceuse worksheet.

    in cell d8 of sourceuse, I'd like the output to be e4 of current. The criteria I'm matching is "org, account, and operating" So, basically if on the number in column b of sourceuse, matches column c on current AND d6 of sourceuse (total expenditures) matches column d of current AND d3 of sourceuse matches e1 of current.

    I have tried vlookup, index and match and I can't think anymore, nothing is working for me. UGH!
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Index, match, vlookup with multiple criteria

    hello
    in D8
    =INDEX(CURRENT!$E$2:$E$130,MATCH(B8,IF(CURRENT!$D$2:$D$130=$D$6,CURRENT!$C$2:$C$130),0))
    note array formula - ctrl+shift + enter not just enter

    you'll find the formula enclosed with {formula } then fill down
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    08-16-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Index, match, vlookup with multiple criteria

    Interesting. I am getting circular reference error?? Any thoughts on that?

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Index, match, vlookup with multiple criteria

    check the ranges
    CURRENT!$E$2:$E$130
    the bold parts.

    Copy of DUMMY.xlsx

  5. #5
    Registered User
    Join Date
    08-16-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Index, match, vlookup with multiple criteria

    I actually found the error which was in the value of the Total Expenditures field. Thank you so much for your help. There is only one problem. The output value is E2 instead of E4. I think it is because it is stopping at the first instance of the "org". Is there a way around this?

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Index, match, vlookup with multiple criteria

    You did not pres ctrl+alt+enter -instead of just enter - it's an array formula.
    once you press ctrl+alt+enter you'll notice the formula will be contained between two braces {=.....}

+ 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