+ Reply to Thread
Results 1 to 4 of 4

Array Function - multiple criteria

  1. #1
    Registered User
    Join Date
    11-11-2020
    Location
    manchester, england
    MS-Off Ver
    MS office 365
    Posts
    2

    Array Function - multiple criteria

    Hey, i need some help returning a value based on multiple criteria. My workbook is set up as attached demo but I cannot figure out how to use array functions to return the rate from sheet 2 based on country and code as the criteria are both in rows and columns. Thanks for any help
    Attached Files Attached Files
    Last edited by boyspalm; 11-11-2020 at 05:50 PM.

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

    Re: Array Function - multiple criteria

    Welcome to the forum.

    A basic INDEX MATCH MATCH:

    =INDEX(Sheet2!$B$2:$E$5,MATCH(B2,Sheet2!$A$2:$A$5,0),MATCH(A2,Sheet2!$B$1:$E$1,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
    Registered User
    Join Date
    11-11-2020
    Location
    manchester, england
    MS-Off Ver
    MS office 365
    Posts
    2

    Re: Array Function - multiple criteria

    Thanks so much. I amended the formula for my actual workbook and the cells return an N/A error although it's the exact same format. I've tried it for one row of values and it works but as soon as I copy the formula down, it returns N/A in all other cells

  4. #4
    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,683

    Re: Array Function - multiple criteria

    You've marked this as solved - is it?

    If not, provide an updated workbook showing the issue. Most likely a mismatch - do you have any leading or trailing spaces anywhere?

+ 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-18-2016, 02:13 PM
  2. Countifs on an Array Range using multiple criteria in an Array
    By Mysore in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2016, 04:39 PM
  3. [SOLVED] SUMIFS/COUNTIFS array function question (multiple criteria)
    By akamenov88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2015, 07:08 PM
  4. SLOPE array function with multiple criteria
    By gtza in forum Excel General
    Replies: 3
    Last Post: 11-12-2014, 05:21 AM
  5. Multiple Criteria search and COUNT FOR TEXT across multiple sheet ARRAY's
    By akaushik25 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2014, 08:58 AM
  6. [SOLVED] MIN Array function with criteria
    By joyhampton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2013, 08:48 PM
  7. Replies: 2
    Last Post: 07-15-2010, 03:05 PM

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