+ Reply to Thread
Results 1 to 4 of 4

INDEX MATCH Formula Help

  1. #1
    Registered User
    Join Date
    07-06-2011
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    8

    INDEX MATCH Formula Help

    Hi,
    Im have an issue to which i believe the answer is an Index Match formula........which i cannot work out how to do!

    I have a spreadsheet with 2 sheets. The first is the master set of data, the second contains a selection of data from sheet 1 column A 'Name' to which I need to output the start and end dates.
    I have tried to show the example below. The required result is displayed in Sheet 2 table below. For cell B2 I need to search 'Sheet 1 Name=Bob & Task=Copy' then output the startdate.
    For cell C2 'Sheet 1 Name=Bob & Task=Check' then output the enddate

    Sheet 1
    A B C D
    NAME TASK STARTDATE ENDDATE
    Bob Copy 10/01/12
    Bob Check 15/01/12

    Sheet 2
    A B C
    NAME STARTDATE ENDDATE
    Bob 10/01/12 15/01/12

    Any help is appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: INDEX MATCH Formula Help

    Hello there,

    Try the following:
    In cell A2 of worksheet Sheet2 Type Bob

    In cell B2 on worksheet Sheet2, type the following formula. Be sure to press Ctrl+Shift+Enter instead of just enter when exiting the cell after entering in the formula. If you have accepted it correctly, Excel will put brackets around the formula.

    Please Login or Register  to view this content.
    In cell C2 on worksheet Sheet2, type the following formula. Be sure to press Ctrl+Shift+Enter instead of just enter when exiting the cell after entering in the formula. If you have accepted it correctly, Excel will put brackets around the formula.

    Please Login or Register  to view this content.
    Let me know if this works for you.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: INDEX MATCH Formula Help

    Is Sheet 1 sorted in any kind of order?

    The array formula that rvasquez has suggested will produce the results you want, but will be slow to calculate, if you're going to use that method I would strongly advise using an adequate sized range rather than full columns.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: INDEX MATCH Formula Help

    you never said if there could be something in between copy and check
    if there is then in sheet 2 b2 these two normally entered formulas
    =INDEX(Sheet1!$C$2:$C$1000,MATCH(A2&"copy",INDEX(Sheet1!$A$2:$A$1000&Sheet1!$B$2:$B$1000,0),))
    in c2
    =INDEX(Sheet1!$D$2:$D$1000,MATCH(A2&"check",INDEX(Sheet1!$A$2:$A$1000&Sheet1!$B$2:$B$1000,0),))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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