finding values and copying adjacent cell content onto a different sheet.

mleyva

New Member
Joined
Oct 27, 2014
Messages
1
Hello,
I am not good at using vba, and I need help with a task if this is not too much trouble.

This is my situation. I have two sheets, each with two columns, sheet 1 contains a code (column A) that corresponds to a task in Spanish (column B). Sheet 2 contains the code (column A) and the task in English (column B). The two sheets have the same list of tasks (one in English and one in Spanish), but the lists are not in the same order, they are scrambled, and the lists are lengthy.

I would like to find out if there is a simple code to do the following: switch the task in English (column B) in sheet 2, with the task in Spanish that corresponds to the same code as in sheet 1. In other words, find the value of 'sheet 2'!A4 in sheet 1, and copy its adjacent cell value (which should contain the text in Spanish) into sheet 2 B4. This, for every value in column A of sheet 2.

Thank you very much in advance, I have lost some hair trying to do this.

Sincerely,

Manuel
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,213,527
Messages
6,114,150
Members
448,552
Latest member
WORKINGWITHNOLEADER

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top