I have an Excel spreadsheet like this:
DZA DZA Algeria
ARG ARG Argentina
BGD AUS Australia
BLZ AUT Austria
BEN BGD Bangladesh
BOL BEL Belgium
BLZ Belize
BEN Benin
BOL Bolivia
I want to delete all instances in the second and third column which do not appear in the first column. In other words, I need code or a command that will see that the first two rows are fine, but delete B3 and C3, replacing this data with B6 and C6, etc.
Start Free Trial