+ Reply to Thread
Results 1 to 13 of 13

Index Match- Maybe???

  1. #1
    Registered User
    Join Date
    10-03-2019
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    6

    Index Match- Maybe???

    I have two columns of data that contain duplicates however they are unique in the sense that the first column sets apart the duplicate in the second. I need to create a formula that looks at the data in column A & B and returns a value from another column from data on another tab. This data would match the criteria of column A&B on the first tab.

    Ex: Column A Column B Column on Other Tab
    Vendor Number SKU Number Sales $
    11048 236872 48
    17829 236872 66

    I would like to be able to do a formula that would pull in the data from the other tab if it matches columns A&B.

    Image.JPG
    This is currently what the first tab looks like.
    In column F I am trying to place the formula to pull in the value from the other tab. I know that I should be able to do this with an Index Match formula using multiple criterias but I have spent all day trying to get it to work and could really use some help here.

    Below is the current formula I am using:{=INDEX('Weekly Sales Raw'!$A$2:$E$1668,MATCH(1,('Weekly Sales Raw'!$A$2:$A$1668=$A3)*('Weekly Sales Raw'!B2:$B$1668=$B3),0),5)}

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Index Match- Maybe???

    Try: =lookup(2,1/('Weekly Sales Raw'!$A$2:$A$1668=$A3)/('Weekly Sales Raw'!B2:$B$1668=$B3),'Weekly Sales Raw'!$A$2:$E$1668)
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    10-03-2019
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    6

    Re: Index Match- Maybe???

    Thank you, however, that returned an #N/A. Is there anything else I can provide to help?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Index Match- Maybe???

    The formula you quote is an array formula - did you commit it using the key combination of Ctrl-Shift-Enter instead of the usual Enter? If you do this correctly then you should see curly braces { and } around the formula when viewed in the formula bar, but you do not type these yourself.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    10-03-2019
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    6

    Re: Index Match- Maybe???

    Thanks Pete! I tried that as well and I still have 0's all down column F.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Index Match- Maybe???

    Well, maybe your values in A3 and/or B3 are text values which look like numbers.

    It would help if you attached a sample Excel workbook, so we can check this out.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    10-03-2019
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    6

    Re: Index Match- Maybe???

    Let's Try this.
    Attached Files Attached Files

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Index Match- Maybe???

    The formula in F3 should be this:

    =INDEX('Weekly Sales Raw'!$A$2:$E$9,MATCH(1,('Weekly Sales Raw'!$A$2:$A$9=$A3)*('Weekly Sales Raw'!$B$2:$B$9=$B3),0),5)

    You had not anchored the B2 term as an absolute reference. Use Ctrl-Shift-Enter to commit it, then copy down.

    Hope this helps.

    Pete

  9. #9
    Registered User
    Join Date
    10-03-2019
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    6

    Re: Index Match- Maybe???

    Pete - Great catch, however, that doesn't seem to return values either. Any thoughts?

  10. #10
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Index Match- Maybe???

    Does this work?

    Please Login or Register  to view this content.
    Ben Van Johnson

  11. #11
    Registered User
    Join Date
    10-03-2019
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    6

    Re: Index Match- Maybe???

    You guys are brilliant! Thank you very very much! Solved!
    Last edited by BrainDead88; 10-03-2019 at 03:40 PM. Reason: Solved

  12. #12
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Index Match- Maybe???

    Report

    F3=IF($A3<>"",SUMIFS(Table1[Sales $],Table1[Merch Vendor Nbr],Report!A3,Table1[SKU Nbr],Report!B3,Table1[SKU Name],Report!C3),"")

    copy down

  13. #13
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Index Match- Maybe???

    Quote Originally Posted by BrainDead88 View Post
    Pete - Great catch, however, that doesn't seem to return values either. Any thoughts?
    It worked for me - see attached file.

    Pete
    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

Tags for this Thread

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