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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -