+ Reply to Thread
Results 1 to 13 of 13

Help required with match and index functions

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Uk
    MS-Off Ver
    Excel 2007
    Posts
    7

    Help required with match and index functions

    I have a table that I need help with and I'm sure its a simple formula using index and match but I cant quite nail it!!!

    In summary I have two sheets within a work book, a reference sheet with broken down results and a input table. Based on 3 data entries into the input sheet id like the function to search the results sheet and return the corresponding result based on the three values.

    Is this the right place for help?
    Last edited by frosty_1977; 11-11-2015 at 06:12 PM. Reason: NOT SOLVED

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need a formula that works!!

    Hi, and welcome to the forum. Unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Help required with match and index functions

    Try something like this...

    Data Range
    A
    B
    C
    D
    1
    Data1
    Data2
    Data3
    Data4
    2
    5
    2
    4
    Result1
    3
    2
    4
    1
    Result2
    4
    1
    2
    4
    Result3
    5
    4
    3
    1
    Result4
    6
    1
    2
    3
    Result5
    7
    2
    2
    2
    Result6
    8
    1
    1
    4
    Result7
    9
    3
    1
    1
    Result8
    10
    4
    6
    2
    Result9


    Data Range
    A
    B
    C
    D
    1
    Variable1
    Variable2
    Variable3
    2
    1
    2
    3
    Result5


    This array formula** entered in D2:

    =INDEX(Sheet2!D2:D10,MATCH(1,(Sheet2!A2:A10=A2)*(Sheet2!B2:B10=B2)*(Sheet2!C2:C10=C2),0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    05-17-2012
    Location
    Uk
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help required with match and index functions

    That looks very close to what I need.

    TEST FILE.png

    The yellow boxes indicate what I need read and the blue indicates the results location and where i'd like the formula placed

  5. #5
    Registered User
    Join Date
    05-17-2012
    Location
    Uk
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help required with match and index functions

    PNG Approved
    Last edited by frosty_1977; 11-11-2015 at 10:49 AM.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Help required with match and index functions

    Many members are unable to see images in the *.png format.

    If you need to post an image post it in the *.jpg format.

    Even better than posting images... post a SMALL sample file. That way we can test solutions directly in the file with the relevant data.

  7. #7
    Registered User
    Join Date
    05-17-2012
    Location
    Uk
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help required with match and index functions

    This time with the excel file.

    hope this makes it easier.
    Attached Files Attached Files

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help required with match and index functions

    Try this

    =SUMIFS(INDEX('Project Specific BD'!$AN$5:$AV$305,0,MATCH(G4,'Project Specific BD'!$AN$3:$AV$3,0)),'Project Specific BD'!$B5:$B305,D4,'Project Specific BD'!$M5:$M305,F4)

    You'll need to resolve all those #Div/0! Errors in the 'Project Specific BD' sheet.

  9. #9
    Registered User
    Join Date
    05-17-2012
    Location
    Uk
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help required with match and index functions

    thank you, that is perfect.

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help required with match and index functions

    You're welcome.

  11. #11
    Registered User
    Join Date
    05-17-2012
    Location
    Uk
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help required with match and index functions

    Hi Jonmo,

    I spoke too soon!! for some reason some cells are returning perfect values but others are not! if you used my table and added "599a" then "E01" followed by "WIN CUT" and check the results it doesn't seem to be returning all the results. I tested the formula on the test table and the first few I entered looked fine but then the anomalies appeared.

    appreciate your help with this.

  12. #12
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help required with match and index functions

    Works for me.

    I get a result of 2.1 with 599a in D4, E01 in F4 and WIN CUT in G4.

    What result were you expecting?

  13. #13
    Registered User
    Join Date
    05-17-2012
    Location
    Uk
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help required with match and index functions

    Sorry fella, the genius stands (didn't fix the array references when transferred!!)

    comment remains - works perfect..!!!

+ 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: 1
    Last Post: 01-08-2015, 07:02 PM
  2. [SOLVED] Sumifs formula giving #value even though each part individually works as a sum formula
    By carrach in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2015, 10:34 AM
  3. how can i make this code works for multiple links it only works for one link
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2014, 08:38 AM
  4. [SOLVED] weekday() result used in an array formula doesn't work. Formula works if i type in date
    By aarco50 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-25-2014, 03:25 PM
  5. Require information on how a specific formula works (see inside for formula)
    By twiggywales in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-04-2012, 10:13 AM
  6. Formula works, but works too well...
    By shaunl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2006, 02:57 AM
  7. Excel Addin works that works on a template workbook
    By s.jay_k in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2006, 03:35 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