Search offsetting if and copy and paste

flynch

New Member
Joined
Apr 3, 2017
Messages
17
Hello,

I have a huge table of place names and corresponding data. I now have an update for this data (these have been entered underneath the table) and need to to copy them in for the individual place names.

Therefore, for London for example, I would like to search the whole spreadsheet and look for london. When it finds london, I would like to move to the next cell along (one place to the right) and paste the data contained within cell E100.

I don't want it to look and change any of the data below the table (the recent updates) therefore I only want it to search down to row 92 and column BK.

I'm not too great at macros so if anyone can help me out with this - I'd be super grateful.

Thank you
 
I don't know what to say. It works for me.
Now if your searching for "London" you must have "London" in quotes like:

"London"
In the script

Not like London


It looks for London
 
Upvote 0

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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