+ Reply to Thread
Results 1 to 9 of 9

Index Match w/ 2 Criteria

  1. #1
    Registered User
    Join Date
    09-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Index Match w/ 2 Criteria

    I am trying to use Index Match based on (2) criterias ( have attached example book).

    I am trying to Index the Begin/End Dates

    based on

    the matched "Max Usage" and the BillMoID

    For instance if Max Usage (G) shows a value ( like 67008 )
    the i want the Begin Date that matches that value and the CustBillMoID (F) result would be something like Begin Date 09/01/2017 and End Date 10/02/2017

    Is this possible or should I use something other than Index Match ?
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Index Match w/ 2 Criteria

    Try array entering this formula in H2. Then fill down and across column I.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then array enter this formula in J2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Index Match w/ 2 Criteria

    Another way. Use the same formula in J2 as above. Then array enter this in H2, fill down and across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Index Match w/ 2 Criteria

    I try doing as instructed but its simply not working ...I used the array but its only giving me the 1st date of 09/01/2017.

    Thank you

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Index Match w/ 2 Criteria

    It sounds like you may be committing the whole range at once with CSE. Just commit the 1st row and fill down ... and across for the begin/end dates.

    See the attached.
    Attached Files Attached Files

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Index Match w/ 2 Criteria

    Try in H2 then copy down and accross

    Please Login or Register  to view this content.
    Quang PT

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Index Match w/ 2 Criteria

    @ Quang,

    I like it.

    Using the offsets never occurred to me. With that formula in mind how about this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Index Match w/ 2 Criteria

    Quote Originally Posted by FlameRetired View Post
    @ Quang,

    I like it.

    Using the offsets never occurred to me. With that formula in mind how about this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Yes. I think SUMIFS here completely replace SUMPRODUCT.
    Good catch.
    Anyway, waiting for OP confirmation.
    I though the real data is not so simple with duplicate begin-end date for specify BillMoID like this.

  9. #9
    Registered User
    Join Date
    09-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Index Match w/ 2 Criteria

    Works Great after a tweak or two...

    Thank you so much

+ 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. Replies: 16
    Last Post: 01-05-2018, 11:04 PM
  2. Need help in Index, Match usage to match multiple criteria in sum function
    By Summer0830 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2017, 02:47 AM
  3. VBA Code for Index/Match/Match to input into excel based on 2 criteria inside form
    By Carl Fisher in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2017, 12:11 PM
  4. [SOLVED] Index and Two Match Criteria- meeting both criteria (need help to repair formula)
    By OilAndGasMan1984 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2017, 10:56 PM
  5. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  6. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  7. Replies: 6
    Last Post: 04-30-2014, 02:42 AM

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