+ Reply to Thread
Results 1 to 2 of 2

Compare 2 Columns, if they are the same, display the text from a 3rd column

Hybrid View

  1. #1
    elaine
    Guest

    Compare 2 Columns, if they are the same, display the text from a 3rd column

    Hi,

    I have a problem. I would like to update some old ID with new ID and
    new names.

    I have 3 columns at the moment, Say ColA is the old ID numbers, Col C
    is new ID numbers and Col B are names of the new ID numbers

    I want to check if the ID numbers in Col A is equal to Col C. If this
    is the case, I want to display the relevant names in Col B.
    otherwise, display 0.

    Can i do a conditional formatting where if A1=C1, display B1? otherwise
    zero?

    But ColB and ColC are relevant to each other, how can i do that?

    Thanks very much.


  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077
    Dont need Conditional Formatting, just set a cell say in D column

    =IF(A1=C1,B1,0)

    and copy the formula down the D column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ 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