Comparing columns in diff sheets then copying another column frof sheet 2 to sheet 1

BRUCE SA

New Member
Joined
Mar 3, 2011
Messages
1
HI all,
Thanks for allowing me the opportunity to pose a question.
I am trying to streamline my workload a little and need your help.

I have sheet 1 and sheet 2 , both sheets have column D with the same data
except sheet 2 D has more data which means its lines do not lineup with sheet 1.
Also sheet 1 col E is empty, col F is old price.
Sheet 2 col E is the new price, col F is old price.
I want to update sheet 1 col E with sheet 2 col E new price opposite like code's col D.
The problem I am having is, because the codes in sheet 2 are on diff lines the simple (if) statement only works a short way then puts in zero's for the rest because the data on the corresponding lines do not match.

If someone can please help.
Bruce.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,224,505
Messages
6,179,152
Members
452,891
Latest member
JUSTOUTOFMYREACH

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