+ Reply to Thread
Results 1 to 3 of 3

How to search 2 columns and output a match in the 3rd

  1. #1
    Registered User
    Join Date
    05-06-2004
    Posts
    2

    How to search 2 columns and output a match in the 3rd

    I have Excel 2010 and am trying to do the following:

    Column A has free form data. Typically it will be last name, first name (i.e. smith, peter) but it may also have just text ("Accounting Dept Support")
    Column B has just the last name ("smith")

    I want to search Column A for any matches and output the match in Column C. any ideas on how to get started with this?

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

    Re: How to search 2 columns and output a match in the 3rd

    Hi

    This will find the first instance of a match assuming data is in the range A1:A5.

    Array enter (ctrl, shift, enter) the formula
    Please Login or Register  to view this content.
    What do you want to do if there is more than 1 match? Or if there are no matches?

    rylo

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: How to search 2 columns and output a match in the 3rd

    Hello Tia,

    Please take a few minutes to read forum rules about cross posting.

    Cross posted here
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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