+ Reply to Thread
Results 1 to 5 of 5

MATCH help

  1. #1
    Registered User
    Join Date
    07-13-2011
    Location
    Vancouver Island
    MS-Off Ver
    Excel 2007
    Posts
    7

    MATCH help

    I need some assistance with using Excel 2007 - match

    Below is the current formula that I am using
    =IF(ISERROR(MATCH(E2,C:C,0)), 0, MATCH(E2,C:C,0))

    I am attempted to get the value of the BOA column referenced from the match result. See the image of the spreadsheet/formula that I am using.

    Can anyone assist me with this issue. Thank you.
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: MATCH help

    Try this

    =IF(ISERROR(MATCH(E2,C:C,0)), 0, INDEX(B:B,MATCH(E2,C:C,0)))
    does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: MATCH help

    You could also use IFERROR function, i.e.

    =IFERROR(INDEX(B:B,MATCH(E2,C:C,0),0)
    Audere est facere

  4. #4
    Registered User
    Join Date
    07-13-2011
    Location
    Vancouver Island
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: MATCH help

    The solution from ChemistB works perfectly. The other suggested formula doesnt work.

    I have another question with .. I realized that in column C titled BP have multiple occurences of the same # with another balance

    B_______C
    $1.00 10001
    $1.00 10002
    $2.00 10001

    Is there a formula that I could use to find the duplicates in column C and combine the matching balances from column B?

    I hope this makes sense. Thank you again for your assistance.
    Last edited by Kailis; 07-13-2011 at 05:16 PM.

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: MATCH help

    Quote Originally Posted by Kailis View Post
    The other suggested formula doesnt work.
    I missed a parenthesis, should be

    =IFERROR(INDEX(B:B,MATCH(E2,C:C,0)),0)

+ 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