Trying to pull data in a specified range, offset from a found cell, into another worksheet

DtDrThunder

New Member
Joined
Jul 22, 2021
Messages
1
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Ok, I used to do this regularly but the last time I used VBA was 8 years ago. I will hopefully explain myself well...

I have a column of data (it is all text but includes letters and numbers). I want to search that column of data for a partial match to the cell value (X) on a different worksheet. Once that cell is found in the column (X) I then want to search the 18 cells above that cell (in the same column) for text containing a different partial match (A) and then copy/pasting those matches (there will be more than one) into the correct column that corresponds with the original cell (X) on the other worksheet. The multiple matches can spill down the column.

I can't upload pics of the data column as it is private data. If necessary I can make a fake data column.

Thanks for any and all help!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,215,521
Messages
6,125,302
Members
449,218
Latest member
Excel Master

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