1

i have 3 columns

A     B     C     D
11H   3HI   xyz
2AB   2CD   dfd
3HI   11H   123

I am struggling for the formula through which i can compare column A & B and if matched the adjucent cell value should be written in column D. For example

A     B     C     D
11H   3HI   xyz   123
2AB   2CD   dfd   ---
3HI   11H   123   xyz.

my column consisting of 43000 cells vertically. i have to compare all these values and write the results using excel. Please help me with this. Thanks in advance.

2
  • yes! its a formula error! It is out of my knowledge for writing this formula Jan 9, 2014 at 15:40
  • Can anyone answer this? Badly needed! Jan 10, 2014 at 7:58

1 Answer 1

1

The formula you're after is: =VLOOKUP(A1,$B$1:$C$3,2,FALSE)

Here's an image. Always show your attempts. We tend to help those who have attempted to help themselves more.

enter image description here

However, if the dashes are a must instead of the #N/A in D2, then this is the formula =IFERROR(VLOOKUP(A3,$B$1:$C$3,2,FALSE),"---") enter image description here

1
  • Thanks a lot! ya, next time will ask u with some screen shots of my trials. Jan 10, 2014 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.