+ Reply to Thread
Results 1 to 4 of 4

Index match formula to search for two criteria (date & name)

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    19

    Exclamation Index match formula to search for two criteria (date & name)

    Good Evening

    I require an Index match formula to be able to search for two criteria 1. someones Name 2. The Date

    I have a master data file where the different bits of information are seperated out in different tabs but have pretty much the same format in each one, I have attached the workbooks I am using so you can see what I am trying to achieve.

    But for example

    I want a formula in Cell C31 of the team daily stats workbook to look for Agent Chris ollerhead and the date 02/01/13 in the Nuber of calls tab in the agent master data workbook and return the answer 24 and then for the 03/01/13 the answer should be 35.

    I want to do this for the Not Ready tab, the Log In tab & the Log out tab, the other fields get entered manually.

    Here is the code I entered but it doesnt seem to work

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    any assistance you can provide would be much appreciated as I just cant see what I am doing wrong here
    Attached Files Attached Files
    Last edited by davechamp1983; 12-17-2012 at 07:35 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Index match formula to search for two criteria (date & name)

    Hi

    I think you have your index parameters reversed. You have the selection to find the column first, then the row.

    Without all the trickery this seemed to work for me for Amy's Team sheet Jan 13 C31:

    =INDEX('[Agent Master Data.xlsm]Number Of Calls'!1:79,MATCH(A30,'[Agent Master Data.xlsm]Number Of Calls'!$A:$A,0),MATCH(C1,'[Agent Master Data.xlsm]Number Of Calls'!1:1,0))

    HTH

    rylo

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Index match formula to search for two criteria (date & name)

    Mine turns out to be very similar to rylo, just some referencing differences really :
    In B31:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag across

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Index match formula to search for two criteria (date & name)

    in case there is a change in the names positions maybe maybe also like this

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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