+ Reply to Thread
Results 1 to 4 of 4

Index match 2 fields and compare

  1. #1
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Index match 2 fields and compare

    hello All

    please see attached

    Day A Tab
    I paste this data in on a Monday (Customer Demand)

    Day B Tab
    I paste the same customer demand in the following day; however there can be addition rows on this demand up with data that doesn’t appear on Day A tab.

    BMW Tab
    I need this tab to report the difference between Day A tab and Day B and return the difference. The return value must look at column A (customer) and B (part number) then compare the 2 tabs ensuring that it returns lines that my appears on Day b Tab

    any help offered is appreciated

    Paul
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    27,999

    Re: Index match 2 fields and compare

    Try

    in F2

    =SUMIFS(INDEX('DAY B'!$F:$O,,MATCH(BMW!F$1,'DAY B'!$F$1:$O$1,0)),'DAY B'!$A:$A,BMW!$A2,'DAY B'!$B:$B,BMW!$B2)-SUMIFS(INDEX('DAY A'!$F:$O,,MATCH(BMW!F$1,'DAY A'!$F$1:$O$1,0)),'DAY A'!$A:$A,BMW!$A2,'DAY A'!$B:$B,BMW!$B2)

    Copy across and down
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Re: Index match 2 fields and compare

    johns formula is working OK, but doesn't seem to like the arrears column

    any ideas why this is ?
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    27,999

    Re: Index match 2 fields and compare

    it won't match because my formula started mATCH at column F: "Arrears" is column E

    =SUMIFS(INDEX('DAY B'!$F:$O,,MATCH(BMW!E$1,'DAY B'!$E$1:$O$1,0)),'DAY B'!$A:$A,BMW!$A2,'DAY B'!$B:$B,BMW!$B2)-SUMIFS(INDEX('DAY A'!$F:$O,,MATCH(BMW!E$1,'DAY A'!$E$1:$O$1,0)),'DAY A'!$A:$A,BMW!$A2,'DAY A'!$B:$B,BMW!$B2)

+ 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 and match & Compare Value (Been told this is not possible)
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2017, 07:04 AM
  2. [SOLVED] INDEX / MATCH to return values from table fields
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-13-2017, 03:44 PM
  3. Index match and (Compare)
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-04-2017, 09:20 AM
  4. [SOLVED] Compare fields and if match found move data and delete row
    By Metrazal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2016, 08:32 AM
  5. Index/Match Function Three Fields
    By BrandyBarrs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-16-2014, 11:50 PM
  6. Using INDEX MATCH formula to compare two fields
    By ntaylor652 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-07-2014, 03:44 PM
  7. Replies: 4
    Last Post: 12-18-2011, 07:30 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