Compare Columns and return a value from third column

Closed
bedge - Nov 19, 2014 at 02:47 PM
Mazzaropi Posts 1985 Registration date Monday August 16, 2010 Status Contributor Last seen May 24, 2023 - Nov 19, 2014 at 03:47 PM
Hello,

I need to compare 2 columns and fill data from a third column. Here is the scenario.

A B C D
1 1 X =X
2 3 Y =Z
3 2 Z =Y
4 4 A =A
5 9 B =D
6 8 C =?
7 5 D =?

I want the value of column A to match a value in column B, and if there is a match, I want to know what is in Column C in the matching row from B.

I hope that is enough info.

THanks,



1 response

Mazzaropi Posts 1985 Registration date Monday August 16, 2010 Status Contributor Last seen May 24, 2023 147
Nov 19, 2014 at 03:47 PM
bedge, Good evening.

Your example:
A B C..D
1 1 X =X..OK
2 3 Y =Z..........WHY?
3 2 Z =Y..........WHY?
4 4 A =A..OK
5 9 B =D..........WHY?
6 8 C =?
7 5 D =?

Sorry, but I did not understand it.

When the value matchs is OK.
When not, how you get the answer as Z or Y or D ?
0