+ Reply to Thread
Results 1 to 3 of 3

Index/Match Function Three Fields

  1. #1
    Registered User
    Join Date
    01-24-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    4

    Index/Match Function Three Fields

    Hi,

    I have a spreadsheet that I would like the report template to have an "index/match" formula to pull data based on three fields. I would like the "report template" sheet to pull the value in a matching cell on the "operations" tab based on the vendor name located in cell "A4-I5", then the matching question in cell "A10-A11" and then the matching survey grade located in cell "B9" and return that value to cell "B10".

    For instance, if the vendor name in cell "A4-I5" was 9to5 Seating then the spreadsheet would look for the response to the question in cell "A10-A11" would return the number "0" for the failed consistently and "1" for the needs improvement field and so forth. I've attached a copy of the workbook for review which has the formula I've been trying to work on to solve the issue.

    Your help would be greatly appreciated!!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Index/Match Function Three Fields

    Hi, welcome to the forum

    1st, make sure your headings match in each table, it makles things SO much easier, eg Ops sheet ="Failed-Consistently Lacking", but Report sheet ="Failed Consistently"

    Then use this, copied down and across...
    =INDEX(Operations!$C$2:$P$109,MATCH('Report Template'!$A$4&'Report Template'!$A10,INDEX(Operations!$A$2:$A$109&Operations!$B$2:$B$109,0),0),MATCH('Report Template'!B$9,Operations!$C$1:$P$1,0))

    On a side note, I would try and avoid all those merged cells if you can, they cause nothing but problems with formulas - and there are other ways to get the same look. For instance, you can widen the rows and highlight the entire "row" range, go into Format/Alignment and select Center Across Selection
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-24-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Index/Match Function Three Fields

    I appreciate the feedback. Normally, I wouldn't merge cells in this manner but this is what my boss specifically wanted and I pick and choose my battles wisely and since this is only an annual report, I decided against the argument this time around.

    Other than that, this formula worked beautifully. It works just as expected. Thanks so much for your help.

+ 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. 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
  2. Replies: 6
    Last Post: 03-17-2014, 08:10 PM
  3. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  4. Replies: 4
    Last Post: 12-18-2011, 07:30 AM
  5. How to do a match function and populate fields with macro
    By asdgdki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2009, 06:44 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