ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can find match of one cell from a column of cells? (https://www.excelbanter.com/excel-discussion-misc-queries/116223-how-can-find-match-one-cell-column-cells.html)

mat

How can find match of one cell from a column of cells?
 
Dear Friends,

My data is as follows;

Col A Col B Col C Col D
RED Yellow Y
Gre Black E
Pink RED F
Yellow Brown G

I have the above data, How can i match Col A1(RED) to the data in column C
(Yellow to Brown) and if col A1 (RED) matches to any cell in Col C (example
matches col C RED) then pickup the data from subsequent Col D (example col D
F) and place in col B1

Hope i have not confused youll in asking my question.

Regards

Bernie Deitrick

How can find match of one cell from a column of cells?
 
Mat,

In cell B1:

=VLOOKUP(A1,C1:D4,2,False)

HTH,
Bernie
MS Excel MVP


"Mat" wrote in message
...
Dear Friends,

My data is as follows;

Col A Col B Col C Col D
RED Yellow Y
Gre Black E
Pink RED F
Yellow Brown G

I have the above data, How can i match Col A1(RED) to the data in column C
(Yellow to Brown) and if col A1 (RED) matches to any cell in Col C (example
matches col C RED) then pickup the data from subsequent Col D (example col D
F) and place in col B1

Hope i have not confused youll in asking my question.

Regards





All times are GMT +1. The time now is 11:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com