How to search for all matching entries in a column and copy cells to another sheet?

Gwip0102

New Member
Joined
Jun 11, 2009
Messages
1
Hello.

I have seen a number of threads on similar topics but i have struggled to adapt the code. any help would be appreciated.

Windows XP / Excel 2003

I am using one work book with 2 worksheets 'Interface' and 'Data'. - Data has 20,000 rows and works to column CJ.

I want to seach column Q of sheet data, for for a user defined variable (taken from a textbox 'txt_comcd' within worksheet 'Interface') If a match is found the following cells from that row would be copied:

Data O
Data Q
Data AC
Data AS

they would be copied into

Data O -> Interface B (row 10)
Data Q -> Interface C (row 10)
Data AC -> Interface F (row 10)
Data AS -> Interface E (row 1o)

it would then continue to find the next entry in Data Q and repeat the process - the cells would this time be copied into row 11, thus creating a list until there are no more matching entries in Data Q.

Reagards

Gwip
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

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