compare two col data & add info

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there anyone know how I can compare the following data in Excel spread sheet

When comparing col A & Col C,

If A2 (tp-2) =C4 (tp-2) then put D4 (deleted) in B2


A B C D
1 TP-1 TP-3 new
2 TP-2 deleted TP-5 xx
3 TP-3 new TP-8
4 TP-4 TP-2 deleted
5 TP-5 xx TP-10


Please help & many thanks

Philip
 
Let's see if I understand you correctly...try this:
B1: =IF(ISNA(VLOOKUP(A1,$C$1:$D$5,2,0)),"",VLOOKUP(A1,$C$1:$D$5,2,0))

Copy that formula down to B5.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 
Ron,

It work very good, thank you very much, would you mind explain to me how it
work??

philip
 

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

Back
Top