+ Reply to Thread
Results 1 to 2 of 2

IF and an index match

  1. #1
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    IF and an index match

    I have two sheets in one work book and I'm trying to figure out the following:
    An ID on the sheet has the same amounts in column C, E, and H

    So column A, on both sheets, contains the ID.

    Column B contains code AAA on both sheets
    Column D contains TTTT or HAA on both sheets
    Column G contains ZZZZ or BBB on both sheets

    I need to figure out if all the amounts match the ID/codes in the columns and if the don't I need to know which amount column is different.

    As an example,

    I know that Sheet 1 and 2 do not match in C4. I need to know this amount doesn't match when A4 and B4 both match. I also need to know if D&E and G&H match for A4.

    I hope that makes sense.

    I was thinking of combining an if statement with an index match, but I'm having difficulty trying to figure out how.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: IF and an index match

    assuming that each line is unique, one way of doing it is to concatenate a KEY in both sheets (I placed it in column J) and then compara the two.
    Attached Files Attached Files

+ 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