ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If function to match cols and return value of another col (https://www.excelbanter.com/excel-discussion-misc-queries/185491-if-function-match-cols-return-value-another-col.html)

Haz

If function to match cols and return value of another col
 
Hi,

Is it possible to use this function below, to then return the value of the
matching cells in Col I. For example if there is a direct match for A2 in Col
E, then in either this cell of another return the value in col I relating to
Col E?

IF(ISNA(MATCH(A2,E:E,0)),"no match","match")


PCLIVE

If function to match cols and return value of another col
 
This is untested, but try this:

=IF(ISNA(MATCH(A2,E:E,0)),"no match",INDIRECT("I" & MATCH(A2,E:E,0)))

HTH,
Paul

--

"Haz" wrote in message
...
Hi,

Is it possible to use this function below, to then return the value of the
matching cells in Col I. For example if there is a direct match for A2 in
Col
E, then in either this cell of another return the value in col I relating
to
Col E?

IF(ISNA(MATCH(A2,E:E,0)),"no match","match")





All times are GMT +1. The time now is 02:28 PM.

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