+ Reply to Thread
Results 1 to 7 of 7

vlookup or match index with two criteria help

  1. #1
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    vlookup or match index with two criteria help

    dear all
    PFA..i want to place package details in sheet 1 from column "T to AH" with the ref of "packages sheet" details through "cust"...

    there is two 500 in sheet 1 from "T to AH" pl ignore first one..

    Gondal
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: vlookup or match index with two criteria help

    Hi gondal,

    If I'm understanding your query correctly placing the following formula in cell T2 and copying it across and down will do what you need.

    =SUMIFS(PACKAGES!$F:$F,PACKAGES!$E:$E,Sheet1!T$1,PACKAGES!$A:$A,Sheet1!$E2)

    Regards,

    Snook

  3. #3
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: vlookup or match index with two criteria help

    I went this route:

    =SUMPRODUCT((PACKAGES!$A$2:$A$447=Sheet1!$E17)*(PACKAGES!$E$2:$E$447=Sheet1!AD$1),PACKAGES!$F$2:$F$447)

    Same idea: Place the formula in T2 with Ctrl + Shift + Enter, then fill down and across. If you want to clear one of the "500" columns, just delete the entries afterward.

    EDIT: ERROR! This is the formula from a random middle cell (AD17), see post #6 for the proper formula!!
    Last edited by CAntosh; 05-24-2016 at 11:11 AM.

  4. #4
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: vlookup or match index with two criteria help

    thnx snook its working as i need..thnx

  5. #5
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: vlookup or match index with two criteria help

    sorry cantosh bro..your formula is not given me desired result...

  6. #6
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: vlookup or match index with two criteria help

    Sorry! I posted the formula from a random middle square. The formula should have been this, posted in T2 as an array formula:

    =SUMPRODUCT((PACKAGES!$A$2:$A$447=Sheet1!$E2)*(PACKAGES!$E$2:$E$447=Sheet1!T$1),PACKAGES!$F$2:$F$447)

    But if Snook's works for you, too, go with what works best for you!
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: vlookup or match index with two criteria help

    great cantosh bro..its nicely working too..now i have two different formulas for my future use

+ 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. Vlookup or Index Match multiple criteria with Concatenate
    By mpost54 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-04-2015, 05:22 PM
  2. Replies: 2
    Last Post: 06-29-2013, 11:58 PM
  3. How to use VLookup or match/index with multiple criteria?
    By awcwa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-22-2013, 02:31 PM
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. [SOLVED] Index, match, vlookup with multiple criteria
    By saniamarco in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-29-2012, 07:16 PM
  6. [SOLVED] VLOOKUP (multiple criteria) vs. INDEX and MATCH
    By B-dub in forum Excel General
    Replies: 3
    Last Post: 04-13-2012, 06:23 PM
  7. [SOLVED] Vlookup or index/match with multiple column and criteria?
    By xirx in forum Excel General
    Replies: 2
    Last Post: 07-22-2005, 08:05 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