+ Reply to Thread
Results 1 to 3 of 3

INDEX, MATCH Help

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-28-2019
    Location
    Peterborough
    MS-Off Ver
    2013
    Posts
    104

    INDEX, MATCH Help

    Hi,

    im currently using the following formula to INDEX and MATCH a couple of Criterea which I thought was working perfectly until I noticed a discrepancy with the Outputs vs Actuals. the below formula is only returning a 1 line value. for example the cell AQ2 in the formula is the date im looking for in QueryReport!$J$2:$J$50000 and B64 is a process. if there is 2 entries in my dataset for the same date and same process, say 10 on each line, the formula only returns 10, where I require it to sum these and return 20.

    =IFERROR(INDEX(QueryReport!$A$2:$J$50000,MATCH(1,(QueryReport!$A$2:$A$50000=$B64)*(QueryReport!$C$2:$C$50000=$A$40)*(QueryReport!$J$2:$J$50000=AQ$2),0),4),0)

    My formula itself is good and matchs as I want, but im 99% sure I need to add the SUMPRODUCT function to the formula in order to get the outcome I described above. I just cant seem to fit it in anywhere to work,

    Any ideas?

    Thanks in advance,

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,290

    Re: INDEX, MATCH Help

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: INDEX, MATCH Help

    Without a sample I'm seeing

    =SUMIFS(QueryReport!D:D,QueryReport!A:A,B64,QueryReport!C:C,A$40,QueryReport!J:J,AQ$2)

+ 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 instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 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