Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50068

If cell is contained within a cell in a range then macro

$
0
0
I want a macro that looks in A4:17 in each cell and if the cell is contained anywhere in the cells in the range A18:A44 then replace the cell in the the range a4:a17 with the cell in the range a18:a44 that contained the match.

So if A7 was "J. Jones" and cell A40 was "James Jones" then the macro would set cell A7 to "James Jones"

Viewing all articles
Browse latest Browse all 50068

Trending Articles