Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

MATCHING TEXT OF TWO COLUMNS AND WRITING VALUE FROM THIRD COLUMN

Latest post Wed, May 19 2010 8:04 AM by Alan Hutchins. 1 replies.
  • Tue, May 18 2010 4:06 PM

    • MPowell
    • Not Ranked
    • Joined on Tue, May 18 2010
    • Posts 1
    • Points 21

    MATCHING TEXT OF TWO COLUMNS AND WRITING VALUE FROM THIRD COLUMN

    I am hoping someone can help.

    I need the formula to do the following:

    Column A      Column B            Column Ctext              text                     number (acct ID)

    I want to  match the text in ENTIRE Colimn B to ENTIRE Colimn A (named account name), when there is a match by account name, write the ACCOUNT ID FROM COULMN C

    tHANKS!

    • Post Points: 21
  • Wed, May 19 2010 8:04 AM In reply to

    Re: MATCHING TEXT OF TWO COLUMNS AND WRITING VALUE FROM THIRD COLUMN

    Are you saying that you want to check whether an entry in column B is also present in Column A, and if so - then write the value of the information in Column C to the Account ID column?

    If so, then it should be simple:

    In column D

    =If(isna(vlookup(B2,$A$2:$A$100,1,false)),"",C2)

    where A2:A100 is the length of the list. Then just copy the formula from Cell D2 to Cell D100

     

     

    I am sure that other people can improve on the formula, but this gives you the principle.

     

     

    • Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright Excel User Group and the relevant contributors, 2010. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.