+ Reply to Thread
Results 1 to 8 of 8

Help with Index and Match Function I Think

  1. #1
    Registered User
    Join Date
    02-22-2018
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    23

    Help with Index and Match Function I Think

    Hello,

    I am trying to figure out how to match 4 cells of data and then return a different cell value.

    Hopefully the attached spreadsheet template will help me explain a little better. I want to generate data in L4 in ‘MRP’ that if the cells C3 & K2 in the sheet titled ‘MRP’ match those in column A & B in sheet titles ‘Production requirements’ then it will return the figure in column C.

    So the figure in L4 would be 14.098.

    I’m struggling to work out how to do this and which function I would use so any help would be gratefully received.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Help with Index and Match Function I Think

    14.098 can be in L10 if I am correctly read your needs.
    In L4 can't be 14.098 because for 04/11/2019 14.098 is assigned into CR007 not CR010.
    Am I right?

    Try into K4:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and drag it right as long as needed.

    also you can copy this into K10 and also drag it right.
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

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

    Re: Help with Index and Match Function I Think

    Your cell references are a bit out - put this formula in L10:

    =SUMIFS('Production Requirements'!$C:$C,'Production Requirements'!$A:$A,$C10,'Production Requirements'!$B:$B,L$2)

    then you can copy it across. You can also copy it to L4 (where it produces 0), and then copy it across.

    Hope this helps.

    Pete

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Help with Index and Match Function I Think

    While I am looking at your file, please take a moment to update your profile. Clearly you are no longer using Excel 2003 (.xlsx attached).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Help with Index and Match Function I Think

    Please test my formula.

    When I use this formula in L4 it give me 0 value.
    Please Login or Register  to view this content.
    But when I use this formula in L10 it give me 14.0980
    Please Login or Register  to view this content.
    Regards.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Help with Index and Match Function I Think

    In K4, copied across:

    =IFERROR(INDEX('Production Requirements'!$C$2:$C$27,MATCH(1,INDEX(('Production Requirements'!$A$2:$A$27='MRP '!$C3)*('Production Requirements'!$B$2:$B$27='MRP '!K$2),0),0)),"")

    Your expected answer in L4 is incorrect, as it relates to CROO7, and appears in L11, not L4.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-22-2018
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    23

    Re: Help with Index and Match Function I Think

    Thanks for the replies really helpful. Both the SUMIF and the INDEX/MATCH solutions WORK. Just trying to figure out now which is the best one yo use.

    Thank you everyone for your help.

  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,791

    Re: Help with Index and Match Function I Think

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Replies: 7
    Last Post: 10-03-2019, 11:23 AM
  2. [SOLVED] Index/Match/Min/ABS Function needs to ignore one value in the index.
    By pronghorn in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-16-2019, 02:04 AM
  3. How to apply an Index.Match.Match function to all entries in a Listbox on a User Form
    By jason.drozd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-25-2018, 01:54 AM
  4. Need help in Index, Match usage to match multiple criteria in sum function
    By Summer0830 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2017, 02:47 AM
  5. Problems applying INDEX-MATCH-MATCH function on other data
    By LennartB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2015, 05:33 AM
  6. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  7. Replies: 3
    Last Post: 06-17-2013, 12:37 PM

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