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

E

elaine

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.
 
S

Special-K

Dont need Conditional Formatting, just set a cell say in D column

=IF(A1=C1,B1,0)

and copy the formula down the D colum
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top