View Single Post
 
Old 04-17-2019, 07:36 AM
limsp limsp is offline Windows 10 Office 2016
Novice
 
Join Date: Apr 2019
Posts: 1
limsp is on a distinguished road
Default Need help to create macro to find and replace if conditions are met

I need some help in creating vba/macro to find and replace if conditions are met.

PHP Code:
Col_A        Col_B        Col_C
aa            Depa        Depb
bb            Depa        Depc
bb            Depb        Depi
cc            Depc        Depj
cc            Depd        Depk
aa            Depc
aa            Deph
aa            Depj 

Condiitions:
1. If any value in column b match any of the list in column C
2. and column a is "aa",
3. then replace "aa" with "yy"


Thanks very much for the help.
Reply With Quote