+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Combing formulas

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    19

    Combing formulas

    I am trying to make this work:
    If A2 matches anything in Column C, then D2 should equal the match in B2 (which corresponds with data in A2)
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Combing formulas

    Put this in D2:

    =IF(ISNA(MATCH(A2,C:C,0)),"",INDEX(B:B,MATCH(A2,C:C,0)))

    and copy down.

    Hope this helps.

    Pete

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combing formulas

    Hi and welcome to the forum.

    =IFERROR(INDEX(B:B,MATCH(A2,C:C,FALSE),1),"")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    07-11-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Combing formulas

    Thanks for the help! Next question - if I want D2 to list the price vs. a true/false, how is that accomplished?

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Combing formulas

    Quote Originally Posted by ccampbell14 View Post
    ... if I want D2 to list the price vs. a true/false, ...
    I don't know what you mean by that - could you elaborate further?

    Pete

  6. #6
    Registered User
    Join Date
    07-11-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Combing formulas

    Currently, using either formula, the result lists 'true' if there is a match, but rather than 'true' I would like the actual price [from Column b] to be the result in Column D (if Column A has a match in Column C)

    Hopefully this is better clarification

  7. #7
    Registered User
    Join Date
    07-11-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Combing formulas

    AH HA!!! I got it now~ missed a space and now I am all good!! Thank you for the help!!! Totally awesome!

+ 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