+ Reply to Thread
Results 1 to 2 of 2

Indexing to an external reference based on multiple criteria

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Indexing to an external reference based on multiple criteria

    Looking for some assistance here as I rack my brain for a solution.

    I have a Scorecard workbook that upon selection of the employee name and month - I want the statistics to update per employee and month.

    The data I am referencing is in a separate Audit workbook and is listed by employees in Column A, but monthly data is broken out per month in multiple columns (i.e B, E, H, K, ETC.)

    What I am trying to index is the data in columns B, E, H, etc. depending on the employee name in the Scorecard matching the employee name in column A of the Audit log AND the month in the Scorecard matching the month in Row 1 in the Audit log. So formula speaking it's something like this

    Formula: copy to clipboard

    INDEX('Audit'!B:B,AND(MATCH(Scorecard!C3,'Audit'!A:A,0),(MATCH(Scorecard!I3,'Audit'!1:1,0))


    For the sake of argument here, pretend Audit and Scorecard are separate files NOT worksheets like how i have written this.

    Except where B is I need this to be the multiple columns I mentioned, so that whatever month and employee is I can return the correct result (i.e. Employee = Sally, Month = January, in the Audit log, Sally's January results would be found in cell B2)

    Index is just what I am semi familiar with so I tried it. I also tried doing a PivotTable using the data in the Audit log but it was not calculating the true data from the source.

    Help please! Open to suggestions/tips

  2. #2
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Re: Indexing to an external reference based on multiple criteria

    kschmit,

    Can u plz attach a sample input and manually mocked up output data.
    Manikandan Arumugam
    Excel Learner

+ 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. Indexing with Multiple Criteria and Blank Cells
    By timtomm66 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-22-2014, 02:52 PM
  2. [SOLVED] Trouble with indexing multiple criteria with a date range
    By kunjanee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-19-2013, 04:32 PM
  3. Formula To Automatically Change External Reference Based on Date
    By Hillary35 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2013, 11:39 AM
  4. Replies: 0
    Last Post: 10-16-2012, 03:26 PM
  5. Pulling data from external database based on criteria using VBA
    By cjc9119 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2012, 02:46 AM
  6. Replies: 4
    Last Post: 12-06-2011, 03:01 PM
  7. Indexing and matching multiple criteria
    By Dbeethekidd in forum Excel General
    Replies: 8
    Last Post: 09-02-2009, 08:22 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