+ Reply to Thread
Results 1 to 3 of 3

Index Match, Horizontal and Vertical Criteria

  1. #1
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    266

    Index Match, Horizontal and Vertical Criteria

    Hi All,

    I've attached a quick example worksheet to assist with my question. I am trying to write an index/match formula that can evaluate vertical and multiple horizontal variables.

    In Sheet1, cell B6, I would like to pull the corresponding code from the "CF3" tab and match it to the correct fiscal year. As the data pull has a bunch of columns that come in, I need it to look at a few rows of data to grab the right one. Here is the row criteria it needs to match with:

    Row 5 - Will always match the fiscal year. In this example "FY24".
    Row 6 - Will always say "YearTotal" - no variable/cell to match with, it will always be this.
    Row 8 - Will always be "Working" - no variable/cell to match with, will always be this.

    Thanks for your help!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: Index Match, Horizontal and Vertical Criteria

    This maybe?

    =INDEX('CF3'!$B$9:$DT$36,MATCH($A6,'CF3'!$A$9:$A$36,0),MATCH(1,('CF3'!$B$5:$DT$5=B$5)*('CF3'!$B$8:$DT$8="Working"),0))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,216

    Re: Index Match, Horizontal and Vertical Criteria

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Index Match - Horizontal and Vertical criteria
    By jharvey87 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-30-2021, 12:15 PM
  2. [SOLVED] INDEX/MATCH based on 4 criteria, 2 vertical, 2 horizontal
    By beenbee in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-02-2021, 04:55 PM
  3. [SOLVED] Index/Match with Vertical & Horizontal Criteria
    By jharvey87 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-29-2021, 10:07 AM
  4. [SOLVED] Index Match, Horizontal & Vertical Criteria
    By jharvey87 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-03-2020, 04:24 PM
  5. Replies: 5
    Last Post: 12-16-2018, 10:09 AM
  6. Replies: 16
    Last Post: 06-01-2017, 06:01 PM
  7. index match two vertical one horizontal
    By jordycat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-14-2017, 06:48 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