+ Reply to Thread
Results 1 to 10 of 10

Match Index result from adjoining cell

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    55

    Match Index result from adjoining cell

    Having a mental block! Help appreciated!

    I need to match Ref & Ref1 and return Value to the corresponding Result cell.

    I need to exclude errors i.e.#Div!0, #N/A

    NOTE: Ref & Ref1 values can be out of sequence.

    Match.jpg
    Last edited by Bravo33; 11-19-2012 at 05:47 AM. Reason: Insert image

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

    Re: Match Index result from adjoining cell

    try in d2
    =IF(ISNA(MATCH(A2,$C$2:$C$200,0)),"",INDEX($D$2:$D$200,MATCH(A2,$C$2:$C$200,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

  3. #3
    Registered User
    Join Date
    11-14-2012
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    55

    Re: Match Index result from adjoining cell

    Martin,
    Unfortunately for some reason did not work, keep getting " " result.

  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: Match Index result from adjoining cell

    well since you only posted an image its kind of hard to tell what's in the cells!
    Attached Files Attached Files
    Last edited by martindwilson; 11-19-2012 at 07:01 AM.

  5. #5
    Registered User
    Join Date
    11-14-2012
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    55

    Re: Match Index result from adjoining cell

    Point taken.
    Please find enclosed spreadsheet.

    Cheers
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Match Index result from adjoining cell

    Use this in cell B2 and drag down:


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


    Hope this helps
    If solved kindly remember to mark Thread as solved.
    Click the small star icon at the bottom left of my post if this was useful.

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

    Re: Match Index result from adjoining cell

    works fine here is your workbook back (kbkumar =IF(A2="","",INDEX(D:D,MATCH(A2,C:C,FALSE),)) will give #n/a if a value exists in col a but not c)
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-14-2012
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    55

    Re: Match Index result from adjoining cell

    Many thanks, I took your "try in d2" as formula in d2.

    Thanks for your help!!

  9. #9
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Match Index result from adjoining cell

    @ Martin Wilson: Agree...

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

    Re: Match Index result from adjoining cell

    and i apologise it was a typo d2 should have been b2

+ 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