Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
nab nab is offline
external usenet poster
 
Posts: 1
Default Copying a Row in a sheet based on criteria in another

Hi all,

I have 2 workbooks. The first has a list of string names in Column A (about
40 unique). The second has a large sheet of data based on those names from
the first sheet. So each for the 40 names i may have 100 rows of data.
Naturally these names are also in Column A of the second workbook, with the
data from column B onwards.

Basically i would like to do a loop where i look at Column A in the first
workbook starting from A1, taking the activecell value and then going to the
second workbook and copy each row where Column A contains the activecell
value from the first. Then this would be pasted into a 3rd workbook. And
continue this until the 40 names in the first workbook are exhausted.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 421
Default Copying a Row in a sheet based on criteria in another

Hi Nab,

Perhaps you could adapt the techniques
employed by Ron de Bruin at:

Copy records with the same value in a column
to a new sheet or workbook
http://www.rondebruin.nl/copy5.htm




---
Regards.
Norman


"nab" wrote in message
...
Hi all,

I have 2 workbooks. The first has a list of string names in Column A
(about
40 unique). The second has a large sheet of data based on those names from
the first sheet. So each for the 40 names i may have 100 rows of data.
Naturally these names are also in Column A of the second workbook, with
the
data from column B onwards.

Basically i would like to do a loop where i look at Column A in the first
workbook starting from A1, taking the activecell value and then going to
the
second workbook and copy each row where Column A contains the activecell
value from the first. Then this would be pasted into a 3rd workbook. And
continue this until the 40 names in the first workbook are exhausted.
Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copying whole row to another sheet based on criteria on cell tabylee via OfficeKB.com Excel Discussion (Misc queries) 0 January 23rd 10 03:04 PM
Copying from one TAB to another based on certain criteria Thomas New Users to Excel 1 February 14th 09 01:34 AM
Copying line from one sheet to another based on given criteria Valerie Excel Worksheet Functions 2 August 2nd 06 11:02 PM
Copying a range based on criteria AmyTaylor[_66_] Excel Programming 1 July 11th 06 07:01 PM
Copying whole rows based upon one criteria kirbster1973 Excel Discussion (Misc queries) 2 May 26th 05 10:00 PM


All times are GMT +1. The time now is 02:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"