+ Reply to Thread
Results 1 to 2 of 2

Index/Match formula returning only prioritised results

  1. #1
    Registered User
    Join Date
    05-18-2022
    Location
    England
    MS-Off Ver
    365 2019
    Posts
    1

    Question Index/Match formula returning only prioritised results

    Hi all, my first post.
    I am creating a spreadsheet of one farm per row, based on another sheet, which has one farm KPI per row - so multiple rows for the same farm, one for each kpi. This needs to become one row per farm, with kpi type/results/dates in columns.

    I have an index and match formula that returns kpi results based on multiple criteria:
    - whether they match the farm code in the appropriate row
    - the KPI type in the appropriate row
    - it must not be zero
    - and must have been created since 2 September 2021.
    My formula uses named ranges so i can expand the columns easily when the updated report comes in with additional data. Here it is:

    =IFERROR(INDEX(KPIResults,MATCH(1,(FarmCodes=$A4)*(KPIs=FB$1)*(KPIResults<>0)*(DATEVALUE(KPICreationDate)>DATEVALUE("02/09/2021")),0)), "N/A")

    My problem is this:
    We have multiple KPIs of the same type (given in named range 'KPIs' above) and from the same Farm. However, we have only one row per farm, as that is how the analysis software requires it.
    What I need to do, is return only one kpi where it meets the criteria, we have decided to prioritise by most recent date. Can anyone help with this?

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Index/Match formula returning only prioritised results

    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen

+ 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 returning random row results
    By MattKoleczko in forum Excel General
    Replies: 2
    Last Post: 10-01-2020, 09:30 PM
  2. [SOLVED] Problem with index/match formula - not returning expected results
    By gsdanger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-16-2018, 12:50 AM
  3. [SOLVED] Problem with a simple Index Match formula returning inconsistent results
    By SueBristow in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-20-2017, 06:44 AM
  4. [SOLVED] Index Match formula not returning correct results
    By JennOlsen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-30-2015, 02:59 PM
  5. [SOLVED] index match not returning all results
    By nellyc in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-06-2013, 11:22 AM
  6. index match not returning any results
    By nellyc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-03-2013, 03:29 PM
  7. [SOLVED] index match not returning all results
    By nellyc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-25-2013, 08:06 AM

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