vba - excel sheet Comparing two different columns if match copy its next two cells into new column -


hey guys plz solve this...
enter image description here

so... want compare column d a...
here in example ...
d1 matches a2 ... want b2 , c2 in e1 , f1 respectively ....
d2 matches a6 ... want b6 , c6 in e2 , f2 respectively ....
have recode of 2022 in column compared d...
want 1 formula dat can fulfill desire in 1 shot selecting comparing columns... thanks in advance

use index match formula achieve that.
in e1 cell write below formula

 =iferror(index(b:b,match($d1,$a:$a,0)),"") 

in f1 cell write below formula (you can fill right above formula)

=iferror(index(c:c,match($d1,$a:$a,0)),"") 

enter image description here


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -